public static IBody2 CreateSheetFromSurface(this IModeler modeler, ISurface surf, IMathPoint p0, IMathPoint p1)
        {
            var uvLow  = surf.GetClosestPointOnTs(p0.ArrayData.CastArray <double>().ToVector3());
            var uvHigh = surf.GetClosestPointOnTs(p1.ArrayData.CastArray <double>().ToVector3());

            return(modeler.CreateSheetFromSurface(surf, uvLow, uvHigh));
        }
 public static IBody2 CreateSheetFromSurface(this IModeler modeler, ISurface surf, IMathPoint p0, IMathPoint p1)
 {
     var uvLow = surf.GetClosestPointOnTs(p0.ArrayData.CastArray<double>().ToVector3());
     var uvHigh = surf.GetClosestPointOnTs(p1.ArrayData.CastArray<double>().ToVector3());
     return modeler.CreateSheetFromSurface(surf, uvLow, uvHigh);
 }