Method GetIntersections
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetIntersections(GeoPlane3)
Gets every point where this curved loop crosses a plane.
public GeoPoint3[] GetIntersections(GeoPlane3 plane)
Parameters
planeGeoPlane3The plane.
Returns
GetIntersections(GeoPlane3, Tolerance)
Gets every point where this curved loop crosses a plane, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoTriangle3)
Gets every point where this curved loop crosses a triangle.
public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3The triangle.
Returns
GetIntersections(GeoTriangle3, Tolerance)
Gets every point where this curved loop crosses a triangle, within a tolerance.
public GeoPoint3[] GetIntersections(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3The triangle.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoPolygon3)
Gets every point where this curved loop crosses a polygon.
public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3The polygon.
Returns
GetIntersections(GeoPolygon3, Tolerance)
Gets every point where this curved loop crosses a polygon, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolygon3 polygon, Tolerance tolerance)
Parameters
polygonGeoPolygon3The polygon.
toleranceToleranceThe tolerance.
Returns
Remarks
A straight side meets the polygon as it is however short, as GetIntersections(GeoPolygon3, Tolerance) says.
GetIntersections(GeoFace3)
Gets every point where this curved loop crosses a face.
public GeoPoint3[] GetIntersections(GeoFace3 face)
Parameters
faceGeoFace3The face.
Returns
GetIntersections(GeoFace3, Tolerance)
Gets every point where this curved loop crosses a face, within a tolerance.
public GeoPoint3[] GetIntersections(GeoFace3 face, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoAabb3)
Gets every point where this curved loop crosses an axis-aligned box.
public GeoPoint3[] GetIntersections(GeoAabb3 box)
Parameters
boxGeoAabb3The axis-aligned box.
Returns
GetIntersections(GeoAabb3, Tolerance)
Gets every point where this curved loop crosses an axis-aligned box, within a tolerance.
public GeoPoint3[] GetIntersections(GeoAabb3 box, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoObb3)
Gets every point where this curved loop crosses an oriented box.
public GeoPoint3[] GetIntersections(GeoObb3 box)
Parameters
boxGeoObb3The oriented box.
Returns
GetIntersections(GeoObb3, Tolerance)
Gets every point where this curved loop crosses an oriented box, within a tolerance.
public GeoPoint3[] GetIntersections(GeoObb3 box, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoSolid3)
Gets every point where this curved loop crosses a solid.
public GeoPoint3[] GetIntersections(GeoSolid3 solid)
Parameters
solidGeoSolid3The solid.
Returns
GetIntersections(GeoSolid3, Tolerance)
Gets every point where this curved loop crosses a solid, within a tolerance.
public GeoPoint3[] GetIntersections(GeoSolid3 solid, Tolerance tolerance)
Parameters
Returns
Remarks
A straight side is crossed as it is however short: at a hundredth, the loop (2, 5, 0.054), (5, 5, 0.004), (5, 5, -0.005), (8, 5, -0.055), (8, 5, 3) crosses the top of the box 10 by 10 by 10 standing under the floor at (5, 5, 0) and (8, 5, 0), where its side 0.009 long, no longer than the tolerance, crossed nothing and it was given (8, 5, 0) alone.
GetIntersections(GeoArc3)
Gets every point where this curved loop crosses an arc.
public GeoPoint3[] GetIntersections(GeoArc3 arc)
Parameters
arcGeoArc3The arc.
Returns
GetIntersections(GeoArc3, Tolerance)
Gets every point where this curved loop crosses an arc, within a tolerance.
public GeoPoint3[] GetIntersections(GeoArc3 arc, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoCircle3)
Gets every point where this curved loop crosses a circle.
public GeoPoint3[] GetIntersections(GeoCircle3 circle)
Parameters
circleGeoCircle3The circle.
Returns
GetIntersections(GeoCircle3, Tolerance)
Gets every point where this curved loop crosses a circle, within a tolerance.
public GeoPoint3[] GetIntersections(GeoCircle3 circle, Tolerance tolerance)
Parameters
circleGeoCircle3The circle.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoLine3)
Gets every point where this loop crosses a segment.
public GeoPoint3[] GetIntersections(GeoLine3 line)
Parameters
lineGeoLine3
Returns
GetIntersections(GeoLine3, Tolerance)
Gets every point where this loop crosses a segment, within a tolerance.
public GeoPoint3[] GetIntersections(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoRay3)
Gets every point where this loop crosses a ray.
public GeoPoint3[] GetIntersections(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
GetIntersections(GeoRay3, Tolerance)
Gets every point where this loop crosses a ray, within a tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoPolylineArc3)
Gets every point where this loop crosses a curved chain.
public GeoPoint3[] GetIntersections(GeoPolylineArc3 other)
Parameters
otherGeoPolylineArc3
Returns
Remarks
Every pair of edges is asked, so the work grows with the two edge counts multiplied. Each edge carries a box round itself and a pair whose boxes cannot reach each other is dropped before any arithmetic, which is what makes it usable on bars that are mostly far apart.
GetIntersections(GeoPolylineArc3, Tolerance)
Gets every point where this loop crosses a curved chain, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolylineArc3 other, Tolerance tolerance)
Parameters
otherGeoPolylineArc3toleranceTolerance
Returns
GetIntersections(GeoPolygonArc3)
Gets every point where this loop crosses a curved loop.
public GeoPoint3[] GetIntersections(GeoPolygonArc3 other)
Parameters
otherGeoPolygonArc3
Returns
Remarks
Every pair of edges is asked, so the work grows with the two edge counts multiplied. Each edge carries a box round itself and a pair whose boxes cannot reach each other is dropped before any arithmetic, which is what makes it usable on bars that are mostly far apart.
GetIntersections(GeoPolygonArc3, Tolerance)
Gets every point where this loop crosses a curved loop, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolygonArc3 other, Tolerance tolerance)
Parameters
otherGeoPolygonArc3toleranceTolerance
Returns
GetIntersections(GeoPolyline3)
Gets every point where this loop crosses a straight chain.
public GeoPoint3[] GetIntersections(GeoPolyline3 other)
Parameters
otherGeoPolyline3
Returns
Remarks
Every pair of edges is asked, so the work grows with the two edge counts multiplied. Each edge carries a box round itself and a pair whose boxes cannot reach each other is dropped before any arithmetic, which is what makes it usable on bars that are mostly far apart.
GetIntersections(GeoPolyline3, Tolerance)
Gets every point where this loop crosses a straight chain, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolyline3 other, Tolerance tolerance)
Parameters
otherGeoPolyline3toleranceTolerance
Returns
GetIntersections(GeoEdge3)
Gets every point where an edge crosses this curved loop: the same points, in the same order, as GetIntersections(GeoPolygonArc3).
public GeoPoint3[] GetIntersections(GeoEdge3 edge)
Parameters
edgeGeoEdge3The edge.
Returns
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).
GetIntersections(GeoEdge3, Tolerance)
Gets every point where an edge crosses this curved loop, within a tolerance: the same points, in the same order, as GetIntersections(GeoPolygonArc3, Tolerance).
public GeoPoint3[] GetIntersections(GeoEdge3 edge, Tolerance tolerance)
Parameters
Returns
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).
GetIntersections(GeoSphere3)
Gets the points where this curved loop 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 curved loop 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 curved loop 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 curved loop 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.
GetIntersections(GeoXLine3)
Gets the points where this curved loop crosses an infinite line, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoXLine3 xline)
Parameters
xlineGeoXLine3
Returns
GetIntersections(GeoXLine3, Tolerance)
Gets the points where this curved loop crosses an infinite line, within a tolerance.
public GeoPoint3[] GetIntersections(GeoXLine3 xline, Tolerance tolerance)