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 Function Flatten( _ 
ByVal tol As Double, _ 
ByVal mode As FlattenMode
) As Poly2d
This language is not supported or no code example is available.
public Poly2d Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public:  
Poly2d^ Flatten( 
double tol
FlattenMode mode 
)
This language is not supported or no code example is available.
public function Flatten( 
tol : double
mode : FlattenMode 
) : Poly2d;
This language is not supported or no code example is available.

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