UtilityEx.DetectRegionsFromContours Method
Creates an array of Regions from the curves list, automatically detecting inner and outer contours.
Public Shared Function DetectRegionsFromContours( _
ByVal contours As IList(Of ICurve), _
ByVal deviation As Double, _
Optional ByVal plane As Plane = null, _
Optional ByVal keepVertices As Boolean = false _
) As Region()
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
contours
-
IList<ICurve>
The list of curves
-
deviation
-
double
The regeneration tolerance
-
plane
-
Plane
The plane used to create the regions
-
keepVertices
-
bool
When true, the original curves tessellation is preserved.
Return Value
Region[]
The resulting Region array.
.NET Framework
Supported in: 4.8