Surface.CreatePlanar (Plane, IList<ICurve>, Boolean) Method
NOTE: This member is now obsolete. Use Region.ConvertToSurface() instead.
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.
Parameters
- pln
- Plane
The plane on which the contour lies
The contours of the region
- sortAndOrient
- bool
When true, contours is sorted and oriented
Return Value
PlanarSurfaceThe planar surface if the operation succeeded, null/Nothing otherwise.
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.