Table of Contents

Method FlattenAll

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FlattenAll(double)

Gets every ring as a ring of straight edges, as Flatten(double) gives the first, the first ring first and then the others in order: the rings to fill even-odd, so that a ring inside another is a hole.

public IReadOnlyList<double[]> FlattenAll(double tolerance)

Parameters

tolerance double

The farthest a chord may lie from its arc, in paper units; above nought.

Returns

IReadOnlyList<double[]>

The rings, each as x, y pairs, the last not repeating the first.