Arc2d.Flatten (Double, FlattenMode) Method

Creates a polygonal approximation of this arc with a 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 maximum error. Smaller tolerance will result in a poly with more segments.

mode
FlattenMode

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

Return Value

Poly2d

A polygon with linear segments only.

.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