Poly2d.Flatten Method

Computes a new polygon, containing only line segments. Arc segments are flattened using the given tolerance.
Public Function Flatten( _ 
ByVal tol As Double, _ 
ByVal mode As FlattenMode
) As Poly2d
This language is not supported or no code example is available.
public Poly2d Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public:  
Poly2d^ Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public function Flatten( 
tol : double
mode : FlattenMode 
) : Poly2d;
This language is not supported or no code example is available.

Parameters

tol
double

The tolerance to flatten arc segments with.

mode
FlattenMode

The mode to use when flattening. See FlattenMode for details.

Return Value

Poly2d

A new polygon with only line segments.

.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