Poly2d.Flatten Method

Computes a new polygon, containing only line segments. Arc segments are flattened using the given tolerance.
public Poly2d Flatten( 
   double tol
   FlattenMode mode 
)

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