Table of Contents

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

plane GeoPlane3

The plane.

Returns

GeoPoint3[]

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

plane GeoPlane3

The plane.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoLine3)

Gets every point where the rim of this ellipse crosses a segment, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoLine3 line)

Parameters

line GeoLine3

The segment.

Returns

GeoPoint3[]

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

line GeoLine3

The segment.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoRay3)

Gets every point where the rim of this ellipse crosses a ray, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoRay3 ray)

Parameters

ray GeoRay3

The ray.

Returns

GeoPoint3[]

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

ray GeoRay3

The ray.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoArc3)

Gets every point where the rim of this ellipse crosses an arc, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc)

Parameters

arc GeoArc3

The arc.

Returns

GeoPoint3[]

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

arc GeoArc3

The arc.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoCircle3)

Gets every point where the rim of this ellipse crosses a circle, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle)

Parameters

circle GeoCircle3

The circle.

Returns

GeoPoint3[]

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

circle GeoCircle3

The circle.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoEllipse3)

Gets every point where the rim of this ellipse crosses another ellipse, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoEllipse3 other)

Parameters

other GeoEllipse3

The other ellipse.

Returns

GeoPoint3[]

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

other GeoEllipse3

The other ellipse.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoTriangle3)

Gets every point where the rim of this ellipse crosses a triangle, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

The triangle.

Returns

GeoPoint3[]

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

triangle GeoTriangle3

The triangle.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoPolygon3)

Gets every point where the rim of this ellipse crosses a polygon, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

The polygon.

Returns

GeoPoint3[]

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

polygon GeoPolygon3

The polygon.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoFace3)

Gets every point where the rim of this ellipse crosses a face, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoFace3 face)

Parameters

face GeoFace3

The face.

Returns

GeoPoint3[]

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

face GeoFace3

The face.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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

solid GeoSolid3

The solid.

Returns

GeoPoint3[]

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

solid GeoSolid3

The solid.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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

box GeoObb3

The oriented box.

Returns

GeoPoint3[]

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

box GeoObb3

The oriented box.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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

box GeoAabb3

The axis-aligned box.

Returns

GeoPoint3[]

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

box GeoAabb3

The axis-aligned box.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoEdge3)

Gets every point where the rim of this ellipse crosses an edge, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoEdge3 edge)

Parameters

edge GeoEdge3

The edge.

Returns

GeoPoint3[]

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

edge GeoEdge3

The edge.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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

chain GeoPolylineArc3

The curved chain.

Returns

GeoPoint3[]

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

chain GeoPolylineArc3

The curved chain.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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

loop GeoPolygonArc3

The curved loop.

Returns

GeoPoint3[]

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

loop GeoPolygonArc3

The curved loop.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoSphere3)

Gets the points where this ellipse 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 ellipse 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 ellipse 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 ellipse 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.

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

xline GeoXLine3

Returns

GeoPoint3[]

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)

Parameters

xline GeoXLine3
tolerance Tolerance

Returns

GeoPoint3[]