Surface.CreatePlanar (Plane, ICurve, IList<ICurve>, Boolean) Method

NOTE: This member is now obsolete. Use Region.ConvertToSurface() instead.

Creates surface on a given plane bounded by the contours provided.
Public Shared Function CreatePlanar( _ 
ByVal pln As Plane, _ 
ByVal outerContour As ICurve, _ 
ByVal innerContours As IList(Of ICurve), _ 
ByVal sortAndOrient As Boolean
) As PlanarSurface
This language is not supported or no code example is available.
public static PlanarSurface CreatePlanar( 
Plane pln
ICurve outerContour
IList<ICurve> innerContours
bool sortAndOrient 
)
This language is not supported or no code example is available.

Parameters

pln
Plane

The plane on which the contours lie

outerContour
ICurve

The outer contour of the region

innerContours
IList<ICurve>

The inner contour list. It can be null/Nothing.

sortAndOrient
bool

When true, outerContour and innerContours are sorted and oriented

Return Value

PlanarSurface

The planar surface if the operation succeeded, null/Nothing otherwise.

Remarks
 
When sortAndOrient is false, make sure that outerContour is oriented counter-clockwise and that innerContours are oriented clockwise with respect to pln.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition