Table of Contents

Method IsEqualTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsEqualTo(GeoFace2)

Determines whether another face covers the same region, within the default tolerance.

public bool IsEqualTo(GeoFace2 other)

Parameters

other GeoFace2

The face to compare with.

Returns

bool

true if the faces are the same within tolerance; otherwise, false.

IsEqualTo(GeoFace2, Tolerance)

Determines whether another face covers the same region, within a tolerance.

public bool IsEqualTo(GeoFace2 other, Tolerance tolerance)

Parameters

other GeoFace2

The face to compare with.

tolerance Tolerance

The tolerance.

Returns

bool

true if the faces are the same within tolerance; otherwise, false.

Remarks

The order the holes are held in is not part of the shape, so each hole of this face is matched against an unclaimed hole of the other.