Table of Contents

Method Reverse

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Reverse()

Gets the polygon running the other way round.

public GeoPolygon3 Reverse()

Returns

GeoPolygon3

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, and however far off flat the tolerance it was built within let it lie: at a millionth, the triangle (0, 0, 0), (10, 0, 0), (10, 0, 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, and a square 100 across built at a hundredth with one corner 0.005 off the plane of the others reverses, where it was refused as not flat.