Region2d.Flatten Method

Approximates this region into another region where each contour contains line segments only.
public Region2d Flatten( 
   double tol
   FlattenMode mode 
)

Parameters

tol
double

The tolerance to flatten arcs with.

mode
FlattenMode

The mode to use when flattening arc segments. See FlattenMode enumeration for details.

Return Value

Region2d

A new region which is the flattened version of this.

.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