Table of Contents

Method IsEqualTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsEqualTo(GeoPolygon3)

Compares whether this polygon equals another using the default tolerance.

public bool IsEqualTo(GeoPolygon3 other)

Parameters

other GeoPolygon3

Returns

bool

IsEqualTo(GeoPolygon3, Tolerance)

Compares whether this polygon equals another within a tolerance.

public bool IsEqualTo(GeoPolygon3 other, Tolerance tolerance)

Parameters

other GeoPolygon3
tolerance Tolerance

Returns

bool

Remarks

A polygon is a loop, so the vertex a caller happened to start at carries no meaning and any rotation of the same loop counts as equal. The direction of travel does carry meaning, since it fixes which way the normal points, so a polygon and its Flip() are not equal.