Circle2d.Flatten Method

This function computes a Poly2d, in a way that it contains as few linear segments as possible, but never is farther away from the circle than the given tolerance.
public Poly2d Flatten( 
   double tol
   FlattenMode mode 
)

Parameters

tol
double

The tolerance of circle. If this is smaller than Calc.Epsilon, it is adjusted to this value.

mode
FlattenMode

The mode used when computing, Inside, Outside or Optimal.

Return Value

Poly2d

The flattened circle as a new Poly2d

.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