Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

CollidesWith(GeoAabb3)

Checks whether this edge touches an axis-aligned box.

public bool CollidesWith(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

bool

CollidesWith(GeoAabb3, Tolerance)

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

public bool CollidesWith(GeoAabb3 box, Tolerance tolerance)

Parameters

box GeoAabb3

The axis-aligned box.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoArc3)

Checks whether this edge touches an arc.

public bool CollidesWith(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

bool

CollidesWith(GeoArc3, Tolerance)

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

public bool CollidesWith(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3

The arc.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoCircle3)

Checks whether this edge touches a circle.

public bool CollidesWith(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

bool

CollidesWith(GeoCircle3, Tolerance)

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

public bool CollidesWith(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3

The circle.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoFace3)

Checks whether this edge touches a face.

public bool CollidesWith(GeoFace3 face)

Parameters

face GeoFace3

Returns

bool

CollidesWith(GeoFace3, Tolerance)

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

public bool CollidesWith(GeoFace3 face, Tolerance tolerance)

Parameters

face GeoFace3

The face.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoObb3)

Checks whether this edge touches an oriented box.

public bool CollidesWith(GeoObb3 box)

Parameters

box GeoObb3

Returns

bool

CollidesWith(GeoObb3, Tolerance)

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

public bool CollidesWith(GeoObb3 box, Tolerance tolerance)

Parameters

box GeoObb3

The oriented box.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoPolygon3)

Checks whether this edge touches a polygon.

public bool CollidesWith(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

bool

CollidesWith(GeoPolygon3, Tolerance)

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

public bool CollidesWith(GeoPolygon3 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon3

The polygon.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoSolid3)

Checks whether this edge touches a solid.

public bool CollidesWith(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

bool

CollidesWith(GeoSolid3, Tolerance)

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

public bool CollidesWith(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3

The solid.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoTriangle3)

Checks whether this edge touches a triangle.

public bool CollidesWith(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

bool

CollidesWith(GeoTriangle3, Tolerance)

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

public bool CollidesWith(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3

The triangle.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoPlane3)

Checks whether this edge touches a plane.

public bool CollidesWith(GeoPlane3 plane)

Parameters

plane GeoPlane3

The plane.

Returns

bool

CollidesWith(GeoPlane3, Tolerance)

Checks whether this edge 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 edge touches a segment.

public bool CollidesWith(GeoLine3 line)

Parameters

line GeoLine3

Returns

bool

CollidesWith(GeoLine3, Tolerance)

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

public bool CollidesWith(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3

The segment.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoRay3)

Determines whether this edge touches a ray.

public bool CollidesWith(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

bool

CollidesWith(GeoRay3, Tolerance)

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

public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3

The ray.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoEdge3)

Determines whether this edge touches another edge.

public bool CollidesWith(GeoEdge3 other)

Parameters

other GeoEdge3

Returns

bool

Remarks

Two edges lying along each other touch along a length and cross nowhere, so this is not the crossing test with the place thrown away.

CollidesWith(GeoEdge3, Tolerance)

Determines whether this edge touches another edge, within a tolerance.

public bool CollidesWith(GeoEdge3 other, Tolerance tolerance)

Parameters

other GeoEdge3

The other edge.

tolerance Tolerance

The tolerance.

Returns

bool

CollidesWith(GeoPolyline3)

Checks whether this edge touches a straight chain: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

The straight chain.

Returns

bool

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolyline3, Tolerance)

Checks whether this edge touches a straight chain, within a tolerance: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolyline3 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline3

The straight chain.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc3)

Checks whether this edge touches a curved chain: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolylineArc3 chain)

Parameters

chain GeoPolylineArc3

The curved chain.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc3, Tolerance)

Checks whether this edge touches a curved chain, within a tolerance: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolylineArc3 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc3

The curved chain.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolygonArc3)

Checks whether this edge touches a curved loop: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolygonArc3 loop)

Parameters

loop GeoPolygonArc3

The curved loop.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc3, Tolerance)

Checks whether this edge touches a curved loop, within a tolerance: a bend is asked as an arc and a straight edge as a segment.

public bool CollidesWith(GeoPolygonArc3 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc3

The curved loop.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoSphere3)

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

public bool CollidesWith(GeoSphere3 sphere)

Parameters

sphere GeoSphere3

Returns

bool

CollidesWith(GeoSphere3, Tolerance)

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

public bool CollidesWith(GeoSphere3 sphere, Tolerance tolerance)

Parameters

sphere GeoSphere3
tolerance Tolerance

Returns

bool

CollidesWith(GeoSpline3)

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

public bool CollidesWith(GeoSpline3 spline)

Parameters

spline GeoSpline3

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

CollidesWith(GeoSpline3, Tolerance)

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

public bool CollidesWith(GeoSpline3 spline, Tolerance tolerance)

Parameters

spline GeoSpline3
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

CollidesWith(GeoXLine3)

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

public bool CollidesWith(GeoXLine3 xline)

Parameters

xline GeoXLine3

Returns

bool

CollidesWith(GeoXLine3, Tolerance)

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

public bool CollidesWith(GeoXLine3 xline, Tolerance tolerance)

Parameters

xline GeoXLine3
tolerance Tolerance

Returns

bool