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
boxGeoAabb3
Returns
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
Returns
GetIntersections(GeoObb3)
Gets the points where this infinite line crosses an oriented box, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoObb3 box)
Parameters
boxGeoObb3
Returns
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
Returns
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
solidGeoSolid3
Returns
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
Returns
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
planeGeoPlane3
Returns
GetIntersections(GeoPlane3, Tolerance)
Gets the point where this infinite line crosses a plane, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
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
triangleGeoTriangle3
Returns
GetIntersections(GeoTriangle3, Tolerance)
Gets the point where this infinite line crosses a triangle, within a tolerance.
public GeoPoint3[] GetIntersections(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3toleranceTolerance
Returns
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
polygonGeoPolygon3
Returns
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
polygonGeoPolygon3toleranceTolerance
Returns
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
faceGeoFace3
Returns
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
Returns
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
lineGeoLine3
Returns
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
Returns
GetIntersections(GeoRay3)
Gets the point where this infinite line crosses a ray, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
GetIntersections(GeoRay3, Tolerance)
Gets the point where this infinite line crosses a ray, within a tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
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
otherGeoXLine3
Returns
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
Returns
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
arcGeoArc3
Returns
GetIntersections(GeoArc3, Tolerance)
Gets the points where this infinite line crosses an arc, within a tolerance.
public GeoPoint3[] GetIntersections(GeoArc3 arc, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoCircle3)
Gets the points where this infinite line crosses a circle, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoCircle3 circle)
Parameters
circleGeoCircle3
Returns
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
circleGeoCircle3toleranceTolerance
Returns
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
ellipseGeoEllipse3
Returns
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
ellipseGeoEllipse3toleranceTolerance
Returns
GetIntersections(GeoEdge3)
Gets the points where this infinite line crosses an edge, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoEdge3 edge)
Parameters
edgeGeoEdge3
Returns
GetIntersections(GeoEdge3, Tolerance)
Gets the points where this infinite line crosses an edge, within a tolerance.
public GeoPoint3[] GetIntersections(GeoEdge3 edge, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoPolyline3)
Gets the points where this infinite line crosses a polyline, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoPolyline3 polyline)
Parameters
polylineGeoPolyline3
Returns
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
polylineGeoPolyline3toleranceTolerance
Returns
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
chainGeoPolylineArc3
Returns
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
chainGeoPolylineArc3toleranceTolerance
Returns
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
loopGeoPolygonArc3
Returns
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
loopGeoPolygonArc3toleranceTolerance
Returns
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
sphereGeoSphere3
Returns
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
sphereGeoSphere3toleranceTolerance
Returns
GetIntersections(GeoSpline3)
Gets the points where this infinite line meets a spline, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoSpline3 spline)
Parameters
splineGeoSpline3
Returns
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
splineGeoSpline3toleranceTolerance
Returns
- GeoPoint3[]
The same points the spline gives, in order along the spline from its start.
Exceptions
- ArgumentNullException
Thrown when the spline is null.