Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

CollidesWith(GeoLine2)

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

public bool CollidesWith(GeoLine2 line)

Parameters

line GeoLine2

Returns

bool

CollidesWith(GeoLine2, Tolerance)

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

public bool CollidesWith(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2

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(GeoLine2, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoRay2)

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

public bool CollidesWith(GeoRay2 ray)

Parameters

ray GeoRay2

Returns

bool

CollidesWith(GeoRay2, Tolerance)

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

public bool CollidesWith(GeoRay2 ray, Tolerance tolerance)

Parameters

ray GeoRay2

The ray.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoXLine2)

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

public bool CollidesWith(GeoXLine2 xline)

Parameters

xline GeoXLine2

Returns

bool

CollidesWith(GeoXLine2, Tolerance)

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

public bool CollidesWith(GeoXLine2 xline, Tolerance tolerance)

Parameters

xline GeoXLine2

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(GeoXLine2, Tolerance) is no more than it; otherwise, false.

CollidesWith(GeoPolyline2)

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

public bool CollidesWith(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the polyline is null.

CollidesWith(GeoPolyline2, Tolerance)

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

public bool CollidesWith(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2

The polyline.

tolerance Tolerance

The tolerance.

Returns

bool

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

Exceptions

ArgumentNullException

Thrown when the polyline is null.

CollidesWith(GeoPolygon2)

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

public bool CollidesWith(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the polygon is null.

CollidesWith(GeoPolygon2, Tolerance)

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

public bool CollidesWith(GeoPolygon2 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon2

The polygon.

tolerance Tolerance

The tolerance.

Returns

bool

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

Exceptions

ArgumentNullException

Thrown when the polygon is null.

CollidesWith(GeoRectangle2)

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

public bool CollidesWith(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

bool

CollidesWith(GeoRectangle2, Tolerance)

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

public bool CollidesWith(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2

The rectangle.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoTriangle2)

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

public bool CollidesWith(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

bool

CollidesWith(GeoTriangle2, Tolerance)

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

public bool CollidesWith(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2

The triangle.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoFace2)

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

public bool CollidesWith(GeoFace2 face)

Parameters

face GeoFace2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the face is null.

CollidesWith(GeoFace2, Tolerance)

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

public bool CollidesWith(GeoFace2 face, Tolerance tolerance)

Parameters

face GeoFace2

The face.

tolerance Tolerance

The tolerance.

Returns

bool

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

Exceptions

ArgumentNullException

Thrown when the face is null.

CollidesWith(GeoArc2)

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

public bool CollidesWith(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

bool

CollidesWith(GeoArc2, Tolerance)

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

public bool CollidesWith(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2

The arc.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoCircle2)

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

public bool CollidesWith(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

bool

CollidesWith(GeoCircle2, Tolerance)

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

public bool CollidesWith(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2

The circle.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoEllipse2)

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

public bool CollidesWith(GeoEllipse2 ellipse)

Parameters

ellipse GeoEllipse2

Returns

bool

CollidesWith(GeoEllipse2, Tolerance)

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

public bool CollidesWith(GeoEllipse2 ellipse, Tolerance tolerance)

Parameters

ellipse GeoEllipse2

The ellipse.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoEdge2)

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

public bool CollidesWith(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

bool

CollidesWith(GeoEdge2, Tolerance)

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

public bool CollidesWith(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2

The edge.

tolerance Tolerance

The tolerance.

Returns

bool

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

CollidesWith(GeoPolylineArc2)

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

public bool CollidesWith(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

CollidesWith(GeoPolylineArc2, Tolerance)

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

public bool CollidesWith(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2

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(GeoPolylineArc2, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

CollidesWith(GeoPolygonArc2)

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

public bool CollidesWith(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

CollidesWith(GeoPolygonArc2, Tolerance)

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

public bool CollidesWith(GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc2

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(GeoPolygonArc2, Tolerance) is no more than it; otherwise, false.

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

CollidesWith(GeoSpline2)

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

public bool CollidesWith(GeoSpline2 other)

Parameters

other GeoSpline2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the other spline is null.

CollidesWith(GeoSpline2, Tolerance)

Determines whether this spline touches another, within a tolerance.

public bool CollidesWith(GeoSpline2 other, Tolerance tolerance)

Parameters

other GeoSpline2

The other spline.

tolerance Tolerance

The tolerance.

Returns

bool

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

Exceptions

ArgumentNullException

Thrown when the other spline is null.