Exemplo n.º 1
0
        /***************************************************/

        public static PanelFreeForm SetGeometry(this PanelFreeForm contour, ISurface surface)
        {
            PanelFreeForm clone = contour.GetShallowClone() as PanelFreeForm;

            clone.Surface = surface.IClone() as ISurface;
            return(clone);
        }
Exemplo n.º 2
0
        /***************************************************/
        /**** Public Methods                            ****/
        /***************************************************/

        public static List <ICurve> Edges(this PanelFreeForm contour)
        {
            if (contour.Surface != null)
            {
                return(contour.Surface.IExternalEdges());
            }
            else
            {
                return(new List <ICurve>());
            }
        }
Exemplo n.º 3
0
        /***************************************************/

        public static IGeometry Geometry(this PanelFreeForm contour)
        {
            return(contour.Surface);
        }