Surface.CreatePlanar (Plane, 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 contours 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
IList<ICurve> contours
bool sortAndOrient 
)
This language is not supported or no code example is available.

Parameters

pln
Plane

The plane on which the contour lies

contours
IList<ICurve>

The contours of the region

sortAndOrient
bool

When true, contours is sorted and oriented

Return Value

PlanarSurface

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

Remarks
 
When sortAndOrient is false, make sure that the outer contour is in the first position and oriented counter-clockwise, and that the inner contours are oriented clockwise with respect to pln.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition