Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoAabb3)

Gets the points where this infinite line crosses an axis-aligned box, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

GeoPoint3[]

GetIntersections(GeoAabb3, Tolerance)

Gets the points where this infinite line crosses an axis-aligned box, within a tolerance.

public GeoPoint3[] GetIntersections(GeoAabb3 box, Tolerance tolerance)

Parameters

box GeoAabb3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoObb3)

Gets the points where this infinite line crosses an oriented box, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoObb3 box)

Parameters

box GeoObb3

Returns

GeoPoint3[]

GetIntersections(GeoObb3, Tolerance)

Gets the points where this infinite line crosses an oriented box, within a tolerance.

public GeoPoint3[] GetIntersections(GeoObb3 box, Tolerance tolerance)

Parameters

box GeoObb3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoSolid3)

Gets the points where this infinite line crosses the surface of a solid, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the solid is null.

GetIntersections(GeoSolid3, Tolerance)

Gets the points where this infinite line crosses the surface of a solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3
tolerance Tolerance

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the solid is null.

GetIntersections(GeoPlane3)

Gets the point where this infinite line crosses a plane, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

GeoPoint3[]

GetIntersections(GeoPlane3, Tolerance)

Gets the point where this infinite line crosses a plane, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

The line through (0, 0, 10) along (1, 0, -1) crosses the floor at (10, 0, 0); one lying in the floor crosses it nowhere in particular and gives none, and so does one parallel to it above it.

GetIntersections(GeoTriangle3)

Gets the point where this infinite line crosses a triangle, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

GeoPoint3[]

GetIntersections(GeoTriangle3, Tolerance)

Gets the point where this infinite line crosses a triangle, within a tolerance.

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

Read over the stretch of the line that reaches past the triangle, as GetIntersections(GeoTriangle3, Tolerance) reads a segment: the crossing, or where it only touches, the point of it nearest, and, where that stretch climbs no more than the planar tolerance and so crosses nowhere, none where it lies level over the material or along the rim, read by the ends of the part of it over the triangle as a segment is by its own: the line 0.0009 over the triangle and rising 1E-6 lies level over it, though a millimetre past it, where it was cut, it stands higher.

GetIntersections(GeoPolygon3)

Gets the point where this infinite line crosses a polygon, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolygon3, Tolerance)

Gets the point where this infinite line crosses a polygon, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

Read over the stretch of the line that reaches past the polygon, as GetIntersections(GeoPolygon3, Tolerance) reads a segment: the crossing, or where it only touches, the point of it nearest, and, where that stretch climbs no more than the planar tolerance and so crosses nowhere, none where it lies level over the material or along the rim, read by the ends of the part of it over the polygon as a segment is by its own.

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoFace3)

Gets the point where this infinite line crosses a face, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoFace3 face)

Parameters

face GeoFace3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoFace3, Tolerance)

Gets the point where this infinite line crosses a face, within a tolerance.

public GeoPoint3[] GetIntersections(GeoFace3 face, Tolerance tolerance)

Parameters

face GeoFace3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

Read over the stretch of the line that reaches past the face, as GetIntersections(GeoFace3, Tolerance) reads a segment: the crossing, or where it only touches, the point of it nearest, and, where that stretch climbs no more than the planar tolerance and so crosses nowhere, none where it lies level over the material or along the rim, read by the ends of the part of it over the face as a segment is by its own.

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoLine3)

Gets the point where this infinite line crosses a line segment, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoPoint3[]

GetIntersections(GeoLine3, Tolerance)

Gets the point where this infinite line crosses a line segment, within a tolerance.

public GeoPoint3[] GetIntersections(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoRay3)

Gets the point where this infinite line crosses a ray, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoPoint3[]

GetIntersections(GeoRay3, Tolerance)

Gets the point where this infinite line crosses a ray, within a tolerance.

public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

They cross where the shortest segment between them is no longer than the point tolerance; the point is placed on the ray, never behind its origin, and a ray parallel to the line within the angle tolerance gives none, even where it lies along the line.

GetIntersections(GeoXLine3)

Gets the point where this infinite line crosses another infinite line, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoXLine3 other)

Parameters

other GeoXLine3

Returns

GeoPoint3[]

GetIntersections(GeoXLine3, Tolerance)

Gets the point where this infinite line crosses another infinite line, within a tolerance.

public GeoPoint3[] GetIntersections(GeoXLine3 other, Tolerance tolerance)

Parameters

other GeoXLine3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

Two lines in space cross where the common perpendicular between them is no longer than the point tolerance, and the point is the middle of it, the same to the bit whichever of the two asks. The line through the origin along X and the one through (50, -50, 0) along Y cross at (50, 0, 0); the one through (50, -50, 10) along Y passes over it and gives none. Two lines parallel within the angle tolerance give none, even where they are the same line.

GetIntersections(GeoArc3)

Gets the points where this infinite line crosses an arc, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

GeoPoint3[]

GetIntersections(GeoArc3, Tolerance)

Gets the points where this infinite line crosses an arc, within a tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoCircle3)

Gets the points where this infinite line crosses a circle, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

GeoPoint3[]

GetIntersections(GeoCircle3, Tolerance)

Gets the points where this infinite line crosses the rim of a circle, within a tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3
tolerance Tolerance

Returns

GeoPoint3[]

Remarks

The line through (-100, 0, 0) along X crosses the circle of radius 50 lying in the floor about the origin at (-50, 0, 0) and (50, 0, 0), and so does the line through (100, 0, 0) along X.

GetIntersections(GeoEllipse3)

Gets the points where this infinite line crosses an ellipse, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoEllipse3 ellipse)

Parameters

ellipse GeoEllipse3

Returns

GeoPoint3[]

GetIntersections(GeoEllipse3, Tolerance)

Gets the points where this infinite line crosses the rim of an ellipse, within a tolerance.

public GeoPoint3[] GetIntersections(GeoEllipse3 ellipse, Tolerance tolerance)

Parameters

ellipse GeoEllipse3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoEdge3)

Gets the points where this infinite line crosses an edge, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoEdge3 edge)

Parameters

edge GeoEdge3

Returns

GeoPoint3[]

GetIntersections(GeoEdge3, Tolerance)

Gets the points where this infinite line crosses an edge, within a tolerance.

public GeoPoint3[] GetIntersections(GeoEdge3 edge, Tolerance tolerance)

Parameters

edge GeoEdge3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoPolyline3)

Gets the points where this infinite line crosses a polyline, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolyline3, Tolerance)

Gets the points where this infinite line crosses a polyline, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPolyline3 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline3
tolerance Tolerance

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolylineArc3)

Gets the points where this infinite line crosses a curved chain, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain)

Parameters

chain GeoPolylineArc3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolylineArc3, Tolerance)

Gets the points where this infinite line crosses a curved chain, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc3
tolerance Tolerance

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolygonArc3)

Gets the points where this infinite line crosses a curved loop, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop)

Parameters

loop GeoPolygonArc3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoPolygonArc3, Tolerance)

Gets the points where this infinite line crosses a curved loop, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc3
tolerance Tolerance

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoSphere3)

Gets the points where this infinite line crosses the surface of a ball, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoSphere3 sphere)

Parameters

sphere GeoSphere3

Returns

GeoPoint3[]

GetIntersections(GeoSphere3, Tolerance)

Gets the points where this infinite line crosses the surface of a ball, within a tolerance.

public GeoPoint3[] GetIntersections(GeoSphere3 sphere, Tolerance tolerance)

Parameters

sphere GeoSphere3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoSpline3)

Gets the points where this infinite line meets a spline, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoSpline3 spline)

Parameters

spline GeoSpline3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the spline is null.

GetIntersections(GeoSpline3, Tolerance)

Gets the points where this infinite line meets a spline, within a tolerance.

public GeoPoint3[] GetIntersections(GeoSpline3 spline, Tolerance tolerance)

Parameters

spline GeoSpline3
tolerance Tolerance

Returns

GeoPoint3[]

The same points the spline gives, in order along the spline from its start.

Exceptions

ArgumentNullException

Thrown when the spline is null.