Table of Contents

Method Reverse

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Reverse()

Reverses the direction of the polyline.

public GeoPolyline2 Reverse()

Returns

GeoPolyline2

A new reversed GeoPolyline2.

Remarks

The chain is reversed vertex for vertex, however short a leg: at a millionth, the chain (0, 0), (10, 0), (10, 10) with its corner cut by 0.0003 reverses turning at both ends of the cut, where it was put back together within the global tolerance of a thousandth and came back turning once.