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 void Flatten( 
   Poly2d append_to
   double tol
   FlattenMode mode
   bool add_first
   bool add_last 
)

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