Table of Contents

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

other GeoBvh2

Returns

bool

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

other GeoBvh2
tolerance Tolerance

Returns

bool

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.