Table of Contents

Method IsEqualTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsEqualTo(GeoTriangle2)

Compares whether this triangle equals another triangle using the default tolerance.

public bool IsEqualTo(GeoTriangle2 other)

Parameters

other GeoTriangle2

Returns

bool

IsEqualTo(GeoTriangle2, Tolerance)

Compares whether this triangle equals another triangle within a tolerance.

public bool IsEqualTo(GeoTriangle2 other, Tolerance tolerance)

Parameters

other GeoTriangle2
tolerance Tolerance

Returns

bool

Remarks

The vertices must correspond in order, though the starting vertex may differ: A, B, C matches B, C, A but not A, C, B, because the reversed winding runs the other way round.