Arc2d.Flatten (Poly2d, Double, FlattenMode, Boolean, Boolean) Method

Appends a polygonal approximation of this arc to a Poly2d with a given tolerance. Output of first and last point in result is optional.
Public Sub Flatten( _ 
ByVal append_to As Poly2d, _ 
ByVal tol As Double, _ 
ByVal mode As FlattenMode, _ 
ByVal add_first As Boolean, _ 
ByVal add_last As Boolean
)
This language is not supported or no code example is available.
public void Flatten( 
Poly2d append_to
double tol
FlattenMode mode
bool add_first
bool add_last 
)
This language is not supported or no code example is available.
public:  
void Flatten( 
Poly2d^ append_to
double tol
FlattenMode mode
bool add_first
bool add_last 
)
This language is not supported or no code example is available.
public function Flatten( 
append_to : Poly2d
tol : double
mode : FlattenMode
add_first : boolean
add_last : boolean 
);
This language is not supported or no code example is available.

Parameters

append_to
Poly2d

The poly to append points to.

tol
double

The maximum error.

mode
FlattenMode

Mode to use when flattening. See FlattenMode for details.

add_first
bool

If the first point in the approximation should be added to the result.

add_last
bool

If the last point of the approximation should be added.

.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