Surface.CreatePlanar (Plane, ICurve, Boolean) Method

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

Creates surface on a given plane bounded by the contour provided.
Public Shared Function CreatePlanar( _ 
ByVal pln As Plane, _ 
ByVal outerContour As 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
bool sortAndOrient 
)
This language is not supported or no code example is available.

Parameters

pln
Plane

The plane on which the contour lies

outerContour
ICurve

The outer contour of the region

sortAndOrient
bool

When true, outerContour 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 outerContour is oriented counter-clockwise with respect to pln.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition