Method Flatten
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Flatten(double)
Gets the outline as a ring of straight edges, an arc cut into pieces whose chords lie no farther from it than a tolerance, so that a circle of radius 100 cut to 0.01 is a ring of about 220 points. The vertices of the outline are among the points.
public double[] Flatten(double tolerance)
Parameters
tolerancedoubleThe farthest a chord may lie from its arc, in paper units; above nought.
Returns
- double[]
The ring as x, y pairs, the last not repeating the first.