Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoAabb3)

Gets every point where this edge crosses an axis-aligned box.

public GeoPoint3[] GetIntersections(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

GeoPoint3[]

GetIntersections(GeoAabb3, Tolerance)

Gets every point where this edge crosses 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(GeoArc3)

Gets every point where this edge crosses an arc.

public GeoPoint3[] GetIntersections(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

GeoPoint3[]

GetIntersections(GeoArc3, Tolerance)

Gets every point where this edge 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 this edge crosses a circle.

public GeoPoint3[] GetIntersections(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

GeoPoint3[]

GetIntersections(GeoCircle3, Tolerance)

Gets every point where this edge 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(GeoFace3)

Gets every point where this edge crosses a face.

public GeoPoint3[] GetIntersections(GeoFace3 face)

Parameters

face GeoFace3

Returns

GeoPoint3[]

GetIntersections(GeoFace3, Tolerance)

Gets every point where this edge 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(GeoObb3)

Gets every point where this edge crosses an oriented box.

public GeoPoint3[] GetIntersections(GeoObb3 box)

Parameters

box GeoObb3

Returns

GeoPoint3[]

GetIntersections(GeoObb3, Tolerance)

Gets every point where this edge crosses 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(GeoPlane3)

Gets every point where this edge crosses a plane.

public GeoPoint3[] GetIntersections(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

GeoPoint3[]

GetIntersections(GeoPlane3, Tolerance)

Gets every point where this edge 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(GeoPolygon3)

Gets every point where this edge crosses a polygon.

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

GeoPoint3[]

GetIntersections(GeoPolygon3, Tolerance)

Gets every point where this edge 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(GeoSolid3)

Gets every point where this edge crosses a solid.

public GeoPoint3[] GetIntersections(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

GeoPoint3[]

GetIntersections(GeoSolid3, Tolerance)

Gets every point where this edge crosses a solid, within a tolerance.

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

Parameters

solid GeoSolid3

The solid.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoTriangle3)

Gets every point where this edge crosses a triangle.

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

GeoPoint3[]

GetIntersections(GeoTriangle3, Tolerance)

Gets every point where this edge 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(GeoLine3)

Gets every point where this edge crosses a segment.

public GeoPoint3[] GetIntersections(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoPoint3[]

GetIntersections(GeoLine3, Tolerance)

Gets every point where this edge 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 this edge crosses a ray.

public GeoPoint3[] GetIntersections(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoPoint3[]

GetIntersections(GeoRay3, Tolerance)

Gets every point where this edge 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(GeoEdge3)

Gets every point where this edge crosses another edge.

public GeoPoint3[] GetIntersections(GeoEdge3 other)

Parameters

other GeoEdge3

Returns

GeoPoint3[]

Remarks

Each side is read as whichever of the two it is, so this is a bend against a bend, a bend against a straight leg, or two straight legs, and every one of those has a closed form. Two edges lying along each other meet along a length and name no place.

GetIntersections(GeoEdge3, Tolerance)

Gets every point where this edge crosses another edge, within a tolerance.

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

Parameters

other GeoEdge3

The other edge.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoPolyline3)

Gets every point where this edge crosses a straight chain: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

public GeoPoint3[] GetIntersections(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

The straight chain.

Returns

GeoPoint3[]

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoPolyline3, Tolerance)

Gets every point where this edge crosses a straight chain, within a tolerance: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

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

Parameters

polyline GeoPolyline3

The straight chain.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoPolylineArc3)

Gets every point where this edge crosses a curved chain: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain)

Parameters

chain GeoPolylineArc3

The curved chain.

Returns

GeoPoint3[]

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoPolylineArc3, Tolerance)

Gets every point where this edge crosses a curved chain, within a tolerance: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

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

Parameters

chain GeoPolylineArc3

The curved chain.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoPolygonArc3)

Gets every point where this edge crosses a curved loop: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop)

Parameters

loop GeoPolygonArc3

The curved loop.

Returns

GeoPoint3[]

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).

Exceptions

ArgumentNullException

Thrown when the loop is null.

GetIntersections(GeoPolygonArc3, Tolerance)

Gets every point where this edge crosses a curved loop, within a tolerance: a bend is asked as an arc and a straight edge as a segment, so the points are that piece's, in the order it gives them.

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

Parameters

loop GeoPolygonArc3

The curved loop.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

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).

Exceptions

ArgumentNullException

Thrown when the loop is null.

GetIntersections(GeoSphere3)

Gets the points where this edge 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 edge 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 edge 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 edge 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 this edge 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 this edge crosses an infinite line, within a tolerance.

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

Parameters

xline GeoXLine3
tolerance Tolerance

Returns

GeoPoint3[]