/***************************************************/ public static PanelFreeForm SetGeometry(this PanelFreeForm contour, ISurface surface) { PanelFreeForm clone = contour.GetShallowClone() as PanelFreeForm; clone.Surface = surface.IClone() as ISurface; return(clone); }
/***************************************************/ /**** Public Methods ****/ /***************************************************/ public static List <ICurve> Edges(this PanelFreeForm contour) { if (contour.Surface != null) { return(contour.Surface.IExternalEdges()); } else { return(new List <ICurve>()); } }
/***************************************************/ public static IGeometry Geometry(this PanelFreeForm contour) { return(contour.Surface); }