Method IsEqualTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
IsEqualTo(GeoSolid3)
Compares whether this solid equals another using the default tolerance.
public bool IsEqualTo(GeoSolid3 other)
Parameters
otherGeoSolid3
Returns
IsEqualTo(GeoSolid3, Tolerance)
Compares whether this solid equals another within a tolerance, ignoring the order the faces are listed in.
public bool IsEqualTo(GeoSolid3 other, Tolerance tolerance)
Parameters
Returns
Remarks
The order of faces on a solid carries no meaning — the same box built starting from a different face is the same box — so the faces are matched up rather than compared position by position. The matching is greedy and quadratic, which is fine for the face counts a flat-faced solid has.