Method Reverse
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Reverse()
Gets the polygon running the other way round.
public GeoPolygon2 Reverse()
Returns
- GeoPolygon2
The same shape, walked in the other direction.
Remarks
Which way a loop runs is what tells its inside from its outside to anything that reads winding, and it is what decides which way round a pair of chamfer distances goes.
The polygon is reversed corner for corner, however short a side: at a millionth, the triangle (0, 0), (10, 0), (10, 10) with every corner cut by 0.0003 reverses to its six corners, where it was put back together within the global tolerance of a thousandth and came back three.