def METHOD_NAME(self):
    bspline_face = vmf.BSplineFace3D.from_surface_rectangular_cut(bspline_surfaces.bspline_surface_2, 0, 1, 0, 1)
    contour2d = bspline_surfaces.bspline_surface_2.contour3d_to_2d(bspline_face.outer_contour3d)
    grid2d = volmdlr.grid.Grid2D.from_properties((0, 1), (0, 1), (10, 10))
    contour2d_dim = bspline_surfaces.bspline_surface_2.contour2d_parametric_to_dimension(contour2d, grid2d)
    self.assertEqual(len(contour2d_dim.primitives), 4)
    self.assertAlmostEqual(contour2d_dim.area(), 16.657085821451233, places=2)
    self.assertAlmostEqual(contour2d_dim.length(), 16.81606170335965, places=2)