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
rayGeoRay3
Returns
CollidesWith(GeoRay3, Tolerance)
Checks whether a ray starts in the material or passes through where it ends, within a tolerance, the crossings read as GetIntersections(GeoRay3, Tolerance) reads them.
public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoXLine3)
Checks whether a line without ends starts in the material or passes through where it ends, using the default tolerance.
public bool CollidesWith(GeoXLine3 xline)
Parameters
xlineGeoXLine3
Returns
CollidesWith(GeoXLine3, Tolerance)
Checks whether a line without ends starts in the material or passes through where it ends, within a tolerance, the crossings read as GetIntersections(GeoXLine3, Tolerance) reads them.
public bool CollidesWith(GeoXLine3 xline, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoPreparedSolid3)
Checks whether this body and another touch or overlap, using the default tolerance.
public bool CollidesWith(GeoPreparedSolid3 other)
Parameters
otherGeoPreparedSolid3
Returns
CollidesWith(GeoPreparedSolid3, Tolerance)
Checks whether this body and another touch or overlap, within a tolerance.
public bool CollidesWith(GeoPreparedSolid3 other, Tolerance tolerance)
Parameters
otherGeoPreparedSolid3toleranceTolerance
Returns
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
otherGeoSolid3
Returns
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)