Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Spatial
Assembly
GeometryHelper.dll

CollidesWith(GeoRay3)

Checks whether a ray starts in the material or passes through where it ends, using the default tolerance.

public bool CollidesWith(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

bool

CollidesWith(GeoRay3, Tolerance)

Checks whether a ray starts in the material or passes through where it ends, within a tolerance.

public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

bool

CollidesWith(GeoPreparedSolid3)

Checks whether this body and another touch or overlap, using the default tolerance.

public bool CollidesWith(GeoPreparedSolid3 other)

Parameters

other GeoPreparedSolid3

Returns

bool

CollidesWith(GeoPreparedSolid3, Tolerance)

Checks whether this body and another touch or overlap, within a tolerance.

public bool CollidesWith(GeoPreparedSolid3 other, Tolerance tolerance)

Parameters

other GeoPreparedSolid3
tolerance Tolerance

Returns

bool

Remarks

Two surfaces that meet settle it through the two indexes; two that do not can still be one body inside the other, which a corner of the inner one settles.

Exceptions

ArgumentNullException

Thrown when the other body is null.

CollidesWith(GeoSolid3)

Checks whether this body and a body not prepared touch or overlap, using the default tolerance.

public bool CollidesWith(GeoSolid3 other)

Parameters

other GeoSolid3

Returns

bool

CollidesWith(GeoSolid3, Tolerance)

Checks whether this body and a body not prepared touch or overlap, within a tolerance.

public bool CollidesWith(GeoSolid3 other, Tolerance tolerance)

Parameters

other GeoSolid3
tolerance Tolerance

Returns

bool