Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

CollidesWith(GeoLine3)

Determines whether this spline touches a line segment, using the default tolerance.

public bool CollidesWith(GeoLine3 line)

Parameters

line GeoLine3

Returns

bool

CollidesWith(GeoLine3, Tolerance)

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

public bool CollidesWith(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3

The line segment.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a line segment, exactly when DistanceTo(GeoLine3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoRay3)

Determines whether this spline touches a ray, using the default tolerance.

public bool CollidesWith(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

bool

CollidesWith(GeoRay3, Tolerance)

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

public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3

The ray.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a ray, exactly when DistanceTo(GeoRay3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoXLine3)

Determines whether this spline touches an infinite line, using the default tolerance.

public bool CollidesWith(GeoXLine3 xline)

Parameters

xline GeoXLine3

Returns

bool

CollidesWith(GeoXLine3, Tolerance)

Determines whether this spline touches an infinite line, within a tolerance.

public bool CollidesWith(GeoXLine3 xline, Tolerance tolerance)

Parameters

xline GeoXLine3

The infinite line.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an infinite line, exactly when DistanceTo(GeoXLine3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoPlane3)

Determines whether this spline touches a plane, using the default tolerance.

public bool CollidesWith(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

bool

CollidesWith(GeoPlane3, Tolerance)

Determines whether this spline touches a plane, within a tolerance.

public bool CollidesWith(GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3

The plane.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a plane, exactly when DistanceTo(GeoPlane3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoPolyline3)

Determines whether this spline touches a polyline, using the default tolerance.

public bool CollidesWith(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the polyline is null.

CollidesWith(GeoPolyline3, Tolerance)

Determines whether this spline touches a polyline, within a tolerance.

public bool CollidesWith(GeoPolyline3 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline3

The polyline.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a polyline, exactly when DistanceTo(GeoPolyline3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the polyline is null.

CollidesWith(GeoPolygon3)

Determines whether this spline touches a polygon, using the default tolerance.

public bool CollidesWith(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the polygon is null.

CollidesWith(GeoPolygon3, Tolerance)

Determines whether this spline touches a polygon, within a tolerance.

public bool CollidesWith(GeoPolygon3 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon3

The polygon.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a polygon, exactly when DistanceTo(GeoPolygon3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the polygon is null.

CollidesWith(GeoTriangle3)

Determines whether this spline touches a triangle, using the default tolerance.

public bool CollidesWith(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

bool

CollidesWith(GeoTriangle3, Tolerance)

Determines whether this spline touches a triangle, within a tolerance.

public bool CollidesWith(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3

The triangle.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a triangle, exactly when DistanceTo(GeoTriangle3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoFace3)

Determines whether this spline touches a face, using the default tolerance.

public bool CollidesWith(GeoFace3 face)

Parameters

face GeoFace3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the face is null.

CollidesWith(GeoFace3, Tolerance)

Determines whether this spline touches a face, within a tolerance.

public bool CollidesWith(GeoFace3 face, Tolerance tolerance)

Parameters

face GeoFace3

The face.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a face, exactly when DistanceTo(GeoFace3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the face is null.

CollidesWith(GeoAabb3)

Determines whether this spline touches an axis-aligned box, using the default tolerance.

public bool CollidesWith(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

bool

CollidesWith(GeoAabb3, Tolerance)

Determines whether this spline touches an axis-aligned box, within a tolerance.

public bool CollidesWith(GeoAabb3 box, Tolerance tolerance)

Parameters

box GeoAabb3

The box.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an axis-aligned box, exactly when DistanceTo(GeoAabb3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoObb3)

Determines whether this spline touches an oriented box, using the default tolerance.

public bool CollidesWith(GeoObb3 box)

Parameters

box GeoObb3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the box is null.

CollidesWith(GeoObb3, Tolerance)

Determines whether this spline touches an oriented box, within a tolerance.

public bool CollidesWith(GeoObb3 box, Tolerance tolerance)

Parameters

box GeoObb3

The box.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an oriented box, exactly when DistanceTo(GeoObb3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the box is null.

CollidesWith(GeoSolid3)

Determines whether this spline touches a solid, using the default tolerance.

public bool CollidesWith(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the solid is null.

CollidesWith(GeoSolid3, Tolerance)

Determines whether this spline touches a solid, within a tolerance.

public bool CollidesWith(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3

The solid.

tolerance Tolerance

The tolerance: the point tolerance is the distance a collision is within, and the tolerance cuts the solid's openings in.

Returns

bool

true if the spline comes within the point tolerance of a solid, exactly when DistanceTo(GeoSolid3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the solid is null.

CollidesWith(GeoSphere3)

Determines whether this spline touches a ball, using the default tolerance.

public bool CollidesWith(GeoSphere3 sphere)

Parameters

sphere GeoSphere3

Returns

bool

CollidesWith(GeoSphere3, Tolerance)

Determines whether this spline touches a ball, within a tolerance.

public bool CollidesWith(GeoSphere3 sphere, Tolerance tolerance)

Parameters

sphere GeoSphere3

The ball.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a ball, exactly when DistanceTo(GeoSphere3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoArc3)

Determines whether this spline touches an arc, using the default tolerance.

public bool CollidesWith(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

bool

CollidesWith(GeoArc3, Tolerance)

Determines whether this spline touches an arc, within a tolerance.

public bool CollidesWith(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3

The arc.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an arc, exactly when DistanceTo(GeoArc3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoCircle3)

Determines whether this spline touches a circle, using the default tolerance.

public bool CollidesWith(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

bool

CollidesWith(GeoCircle3, Tolerance)

Determines whether this spline touches a circle, within a tolerance.

public bool CollidesWith(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3

The circle.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a circle, exactly when DistanceTo(GeoCircle3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoEllipse3)

Determines whether this spline touches an ellipse, using the default tolerance.

public bool CollidesWith(GeoEllipse3 ellipse)

Parameters

ellipse GeoEllipse3

Returns

bool

CollidesWith(GeoEllipse3, Tolerance)

Determines whether this spline touches an ellipse, within a tolerance.

public bool CollidesWith(GeoEllipse3 ellipse, Tolerance tolerance)

Parameters

ellipse GeoEllipse3

The ellipse.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an ellipse, exactly when DistanceTo(GeoEllipse3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoEdge3)

Determines whether this spline touches an edge, using the default tolerance.

public bool CollidesWith(GeoEdge3 edge)

Parameters

edge GeoEdge3

Returns

bool

CollidesWith(GeoEdge3, Tolerance)

Determines whether this spline touches an edge, within a tolerance.

public bool CollidesWith(GeoEdge3 edge, Tolerance tolerance)

Parameters

edge GeoEdge3

The edge.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of an edge, exactly when DistanceTo(GeoEdge3, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoPolylineArc3)

Determines whether this spline touches a curved chain, using the default tolerance.

public bool CollidesWith(GeoPolylineArc3 chain)

Parameters

chain GeoPolylineArc3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc3, Tolerance)

Determines whether this spline touches a curved chain, within a tolerance.

public bool CollidesWith(GeoPolylineArc3 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc3

The curved chain.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a curved chain, exactly when DistanceTo(GeoPolylineArc3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolygonArc3)

Determines whether this spline touches a curved loop, using the default tolerance.

public bool CollidesWith(GeoPolygonArc3 loop)

Parameters

loop GeoPolygonArc3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc3, Tolerance)

Determines whether this spline touches a curved loop, within a tolerance.

public bool CollidesWith(GeoPolygonArc3 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc3

The curved loop.

tolerance Tolerance

The tolerance.

Returns

bool

true if the spline comes within the point tolerance of a curved loop, exactly when DistanceTo(GeoPolygonArc3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoSpline3)

Determines whether this spline touches another, using the default tolerance.

public bool CollidesWith(GeoSpline3 other)

Parameters

other GeoSpline3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the other spline is null.

CollidesWith(GeoSpline3, Tolerance)

Determines whether this spline touches another, within a tolerance.

public bool CollidesWith(GeoSpline3 other, Tolerance tolerance)

Parameters

other GeoSpline3

The other spline.

tolerance Tolerance

The tolerance.

Returns

bool

true if the two come within the point tolerance of each other, exactly when DistanceTo(GeoSpline3, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the other spline is null.