Method CollidesWith
- Namespace
- GeometryHelper.Spatial
- Assembly
- GeometryHelper.dll
CollidesWith(GeoBvh2)
Determines whether the edges of two hierarchies touch or cross.
public bool CollidesWith(GeoBvh2 other)
Parameters
otherGeoBvh2
Returns
Exceptions
- ArgumentNullException
Thrown when the other hierarchy is null.
CollidesWith(GeoBvh2, Tolerance)
Determines whether the edges of two hierarchies touch or cross, within a tolerance.
public bool CollidesWith(GeoBvh2 other, Tolerance tolerance)
Parameters
Returns
Remarks
This is about the edges meeting, not about one shape lying inside the other; a small loop wholly within a large one touches nothing.
Exceptions
- ArgumentNullException
Thrown when the other hierarchy is null.