Method GetIntersections
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetIntersections(GeoPlane3)
Gets every point where the rim of this ellipse crosses a plane, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoPlane3 plane)
Parameters
planeGeoPlane3The plane.
Returns
Remarks
The ellipse 300 by 100 lying in the plan about the origin crosses the plane x = 150 at (150, -86.603, 0), then at (150, 86.603, 0). An ellipse lying in the plane crosses it nowhere, and touches it.
GetIntersections(GeoPlane3, Tolerance)
Gets every point where the rim of this ellipse crosses a plane, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoLine3)
Gets every point where the rim of this ellipse crosses a segment, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoLine3 line)
Parameters
lineGeoLine3The segment.
Returns
Remarks
The rim is what counts, not the disc: a segment through the middle of the ellipse that never reaches the rim crosses nothing.
GetIntersections(GeoLine3, Tolerance)
Gets every point where the rim of this ellipse crosses a segment, within a tolerance.
public GeoPoint3[] GetIntersections(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoRay3)
Gets every point where the rim of this ellipse crosses a ray, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray)
Parameters
rayGeoRay3The ray.
Returns
GetIntersections(GeoRay3, Tolerance)
Gets every point where the rim of this ellipse crosses a ray, within a tolerance.
public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoArc3)
Gets every point where the rim of this ellipse crosses an arc, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoArc3 arc)
Parameters
arcGeoArc3The arc.
Returns
GetIntersections(GeoArc3, Tolerance)
Gets every point where the rim of this ellipse crosses an arc, within a tolerance.
public GeoPoint3[] GetIntersections(GeoArc3 arc, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoCircle3)
Gets every point where the rim of this ellipse crosses a circle, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoCircle3 circle)
Parameters
circleGeoCircle3The circle.
Returns
Remarks
The circle of radius 150 about the origin crosses the ellipse 300 by 100 lying in the plan about it at four points, the first at (118.585, 91.856, 0).
GetIntersections(GeoCircle3, Tolerance)
Gets every point where the rim of this ellipse crosses a circle, within a tolerance.
public GeoPoint3[] GetIntersections(GeoCircle3 circle, Tolerance tolerance)
Parameters
circleGeoCircle3The circle.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoEllipse3)
Gets every point where the rim of this ellipse crosses another ellipse, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoEllipse3 other)
Parameters
otherGeoEllipse3The other ellipse.
Returns
Remarks
The ellipse 300 by 100 lying in the plan about the origin and the same ellipse turned a quarter cross at (94.868, 94.868, 0) first, then at the three points mirrored from it.
GetIntersections(GeoEllipse3, Tolerance)
Gets every point where the rim of this ellipse crosses another ellipse, within a tolerance.
public GeoPoint3[] GetIntersections(GeoEllipse3 other, Tolerance tolerance)
Parameters
otherGeoEllipse3The other ellipse.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoTriangle3)
Gets every point where the rim of this ellipse crosses a triangle, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3The triangle.
Returns
GetIntersections(GeoTriangle3, Tolerance)
Gets every point where the rim of this ellipse 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 the rim of this ellipse crosses a polygon, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3The polygon.
Returns
GetIntersections(GeoPolygon3, Tolerance)
Gets every point where the rim of this ellipse crosses a polygon, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolygon3 polygon, Tolerance tolerance)
Parameters
polygonGeoPolygon3The polygon.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoFace3)
Gets every point where the rim of this ellipse crosses a face, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoFace3 face)
Parameters
faceGeoFace3The face.
Returns
GetIntersections(GeoFace3, Tolerance)
Gets every point where the rim of this ellipse crosses a face, within a tolerance.
public GeoPoint3[] GetIntersections(GeoFace3 face, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoSolid3)
Gets every point where the rim of this ellipse crosses the surface of a solid, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoSolid3 solid)
Parameters
solidGeoSolid3The solid.
Returns
Remarks
The ellipse 300 by 100 lying in the plan about the centre of a box 200 by 300 by 200 leaves it at (±100, ±94.281, 0).
GetIntersections(GeoSolid3, Tolerance)
Gets every point where the rim of this ellipse crosses the surface of a solid, within a tolerance.
public GeoPoint3[] GetIntersections(GeoSolid3 solid, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoObb3)
Gets every point where the rim of this ellipse crosses the surface of an oriented box, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoObb3 box)
Parameters
boxGeoObb3The oriented box.
Returns
GetIntersections(GeoObb3, Tolerance)
Gets every point where the rim of this ellipse crosses the surface of an oriented box, within a tolerance.
public GeoPoint3[] GetIntersections(GeoObb3 box, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoAabb3)
Gets every point where the rim of this ellipse crosses the surface of an axis-aligned box, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoAabb3 box)
Parameters
boxGeoAabb3The axis-aligned box.
Returns
GetIntersections(GeoAabb3, Tolerance)
Gets every point where the rim of this ellipse crosses the surface of an axis-aligned box, within a tolerance.
public GeoPoint3[] GetIntersections(GeoAabb3 box, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoEdge3)
Gets every point where the rim of this ellipse crosses an edge, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoEdge3 edge)
Parameters
edgeGeoEdge3The edge.
Returns
GetIntersections(GeoEdge3, Tolerance)
Gets every point where the rim of this ellipse crosses an edge, within a tolerance.
public GeoPoint3[] GetIntersections(GeoEdge3 edge, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoPolylineArc3)
Gets every point where the rim of this ellipse crosses a curved chain, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain)
Parameters
chainGeoPolylineArc3The curved chain.
Returns
GetIntersections(GeoPolylineArc3, Tolerance)
Gets every point where the rim of this ellipse crosses a curved chain, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc3The curved chain.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoPolygonArc3)
Gets every point where the rim of this ellipse crosses a curved loop, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop)
Parameters
loopGeoPolygonArc3The curved loop.
Returns
GetIntersections(GeoPolygonArc3, Tolerance)
Gets every point where the rim of this ellipse crosses a curved loop, within a tolerance.
public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc3The curved loop.
toleranceToleranceThe tolerance.
Returns
GetIntersections(GeoSphere3)
Gets the points where this ellipse 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 ellipse 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 ellipse 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 ellipse 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 the rim of this ellipse crosses an infinite line, using the default tolerance.
public GeoPoint3[] GetIntersections(GeoXLine3 xline)
Parameters
xlineGeoXLine3
Returns
GetIntersections(GeoXLine3, Tolerance)
Gets the points where the rim of this ellipse crosses an infinite line, within a tolerance.
public GeoPoint3[] GetIntersections(GeoXLine3 xline, Tolerance tolerance)