Region2d.Flatten Method

Approximates this region into another region where each contour contains line segments only.
Public Function Flatten( _ 
ByVal tol As Double, _ 
ByVal mode As FlattenMode
) As Region2d
This language is not supported or no code example is available.
public Region2d Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public:  
Region2d^ Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public function Flatten( 
tol : double
mode : FlattenMode 
) : Region2d;
This language is not supported or no code example is available.

Parameters

tol
double

The tolerance to flatten arcs with.

mode
FlattenMode

The mode to use when flattening arc segments. See FlattenMode enumeration for details.

Return Value

Region2d

A new region which is the flattened version of this.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition