Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

CollidesWith(GeoAabb3)

Checks whether this segment touches an axis-aligned box, using the default tolerance.

public bool CollidesWith(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

bool

CollidesWith(GeoAabb3, Tolerance)

Checks whether this segment touches an axis-aligned box, within a tolerance.

public bool CollidesWith(GeoAabb3 box, Tolerance tolerance)

Parameters

box GeoAabb3
tolerance Tolerance

Returns

bool

CollidesWith(GeoObb3)

Checks whether this segment touches an oriented box, using the default tolerance.

public bool CollidesWith(GeoObb3 box)

Parameters

box GeoObb3

Returns

bool

CollidesWith(GeoObb3, Tolerance)

Checks whether this segment touches an oriented box, within a tolerance.

public bool CollidesWith(GeoObb3 box, Tolerance tolerance)

Parameters

box GeoObb3
tolerance Tolerance

Returns

bool

CollidesWith(GeoSolid3)

Checks whether this segment touches a solid, using the default tolerance.

public bool CollidesWith(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

bool

CollidesWith(GeoSolid3, Tolerance)

Checks whether this segment touches a solid, within a tolerance.

public bool CollidesWith(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3
tolerance Tolerance

Returns

bool

CollidesWith(GeoTriangle3)

Checks whether this segment touches a triangle, using the default tolerance.

public bool CollidesWith(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

bool

CollidesWith(GeoTriangle3, Tolerance)

Checks whether this segment touches a triangle, within a tolerance.

public bool CollidesWith(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolygon3)

Checks whether this segment touches a polygon, using the default tolerance.

public bool CollidesWith(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

bool

CollidesWith(GeoPolygon3, Tolerance)

Checks whether this segment touches a polygon, within a tolerance.

public bool CollidesWith(GeoPolygon3 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon3
tolerance Tolerance

Returns

bool

CollidesWith(GeoFace3)

Checks whether this segment touches a face, using the default tolerance.

public bool CollidesWith(GeoFace3 face)

Parameters

face GeoFace3

Returns

bool

CollidesWith(GeoFace3, Tolerance)

Checks whether this segment touches a face, within a tolerance.

public bool CollidesWith(GeoFace3 face, Tolerance tolerance)

Parameters

face GeoFace3
tolerance Tolerance

Returns

bool

CollidesWith(GeoArc3)

Checks whether this segment touches an arc, using the default tolerance.

public bool CollidesWith(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

bool

CollidesWith(GeoArc3, Tolerance)

Checks whether this segment touches an arc, within a tolerance.

public bool CollidesWith(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle3)

Checks whether this segment touches a circle, using the default tolerance.

public bool CollidesWith(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

bool

CollidesWith(GeoCircle3, Tolerance)

Checks whether this segment touches a circle, within a tolerance.

public bool CollidesWith(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3
tolerance Tolerance

Returns

bool

CollidesWith(GeoPlane3)

Checks whether this segment touches a plane, using the default tolerance.

public bool CollidesWith(GeoPlane3 plane)

Parameters

plane GeoPlane3

The plane.

Returns

bool

CollidesWith(GeoPlane3, Tolerance)

Checks whether this segment touches a plane, within a tolerance.

public bool CollidesWith(GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3

The plane.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoLine3)

Determines whether this segment touches a segment.

public bool CollidesWith(GeoLine3 line)

Parameters

line GeoLine3

Returns

bool

Remarks

Two pieces lying along each other touch along a length and cross nowhere, so this is not the crossing test with the place thrown away: it is the shortest line between the two having no length.

CollidesWith(GeoLine3, Tolerance)

Determines whether this segment touches a segment, within a tolerance.

public bool CollidesWith(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

bool

CollidesWith(GeoRay3)

Determines whether this segment touches a ray.

public bool CollidesWith(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

bool

Remarks

Two pieces lying along each other touch along a length and cross nowhere, so this is not the crossing test with the place thrown away: it is the shortest line between the two having no length.

CollidesWith(GeoRay3, Tolerance)

Determines whether this segment touches a ray, within a tolerance.

public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

bool