Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoLine3)

Gets the points where a line segment passes through the surface of this solid.

public GeoPoint3[] GetIntersections(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoPoint3[]

GetIntersections(GeoLine3, Tolerance)

Gets the points where a line segment passes through the surface of this solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoPlane3)

Gets the points where a plane cuts the edges of this solid.

public GeoPoint3[] GetIntersections(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

GeoPoint3[]

GetIntersections(GeoPlane3, Tolerance)

Gets the points where a plane cuts the edges of this solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoRay3)

Gets the points where a ray passes through the surface of this solid.

public GeoPoint3[] GetIntersections(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoPoint3[]

GetIntersections(GeoRay3, Tolerance)

Gets the points where a ray passes through the surface of this solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoArc3)

Gets every point where an arc crosses the surface of this solid, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

GeoPoint3[]

GetIntersections(GeoArc3, Tolerance)

Gets every point where an arc crosses the surface of this solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoCircle3)

Gets every point where a circle crosses the surface of this solid, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

GeoPoint3[]

GetIntersections(GeoCircle3, Tolerance)

Gets every point where a circle crosses the surface of this solid, within a tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoEdge3)

Gets every point where an edge crosses this solid.

public GeoPoint3[] GetIntersections(GeoEdge3 edge)

Parameters

edge GeoEdge3

Returns

GeoPoint3[]

GetIntersections(GeoEdge3, Tolerance)

Gets every point where an edge crosses this solid, 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 a curved chain crosses this solid.

public GeoPoint3[] GetIntersections(GeoPolylineArc3 chain)

Parameters

chain GeoPolylineArc3

The curved chain.

Returns

GeoPoint3[]

GetIntersections(GeoPolylineArc3, Tolerance)

Gets every point where a curved chain crosses this solid, 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 a curved loop crosses this solid.

public GeoPoint3[] GetIntersections(GeoPolygonArc3 loop)

Parameters

loop GeoPolygonArc3

The curved loop.

Returns

GeoPoint3[]

GetIntersections(GeoPolygonArc3, Tolerance)

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

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

Parameters

loop GeoPolygonArc3

The curved loop.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

GetIntersections(GeoPolyline3)

Gets every point where this solid crosses a straight chain: the same points, in the same order, as GetIntersections(GeoSolid3).

public GeoPoint3[] GetIntersections(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoPolyline3, Tolerance)

Gets every point where this solid crosses a straight chain, within a tolerance: the same points, in the same order, as GetIntersections(GeoSolid3, Tolerance).

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

Parameters

polyline GeoPolyline3
tolerance Tolerance

Returns

GeoPoint3[]

Exceptions

ArgumentNullException

Thrown when the chain is null.

GetIntersections(GeoTriangle3)

Gets the points where the surface of this solid and a triangle cross: the same points, in the same order, as GetIntersections(GeoTriangle3, GeoSolid3).

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

The triangle.

Returns

GeoPoint3[]

Remarks

A box 100 by 100 by 100 with a corner at the origin and the triangle with corners (-50, -50, 50), (300, -50, 50) and (-50, 300, 50) lying across it at half its height cross at (0, 0, 50), (100, 0, 50), (100, 100, 50) and (0, 100, 50); a triangle wholly inside the box crosses nothing and touches it.

GetIntersections(GeoTriangle3, Tolerance)

Gets the points where the surface of this solid and a triangle cross, within a tolerance: the same points, in the same order, as GetIntersections(GeoTriangle3, GeoSolid3, Tolerance).

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3

The triangle.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

A box 100 by 100 by 100 with a corner at the origin and the triangle with corners (-50, -50, 50), (300, -50, 50) and (-50, 300, 50) lying across it at half its height cross at (0, 0, 50), (100, 0, 50), (100, 100, 50) and (0, 100, 50); a triangle wholly inside the box crosses nothing and touches it.

GetIntersections(GeoPolygon3)

Gets the points where the surface of this solid and a polygon cross: the same points, in the same order, as GetIntersections(GeoPolygon3, GeoSolid3).

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

The polygon.

Returns

GeoPoint3[]

Remarks

A box 100 by 100 by 100 with a corner at the origin and the square 200 by 200 from (-50, -50, 50) to (150, 150, 50) lying across it at half its height cross at (0, 0, 50), (100, 0, 50), (100, 100, 50) and (0, 100, 50).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolygon3, Tolerance)

Gets the points where the surface of this solid and a polygon cross, within a tolerance: the same points, in the same order, as GetIntersections(GeoPolygon3, GeoSolid3, Tolerance).

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon3

The polygon.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

A box 100 by 100 by 100 with a corner at the origin and the square 200 by 200 from (-50, -50, 50) to (150, 150, 50) lying across it at half its height cross at (0, 0, 50), (100, 0, 50), (100, 100, 50) and (0, 100, 50).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoFace3)

Gets the points where the surface of this solid and the material of a face cross: the same points, in the same order, as GetIntersections(GeoFace3, GeoSolid3).

public GeoPoint3[] GetIntersections(GeoFace3 face)

Parameters

face GeoFace3

The face, read by its material.

Returns

GeoPoint3[]

Remarks

The square 200 by 200 from (-50, -50, 50) to (150, 150, 50) with a hole 150 by 150 in its middle, around a box 100 by 100 by 100 with a corner at the origin, crosses nothing: the box passes through the hole.

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoFace3, Tolerance)

Gets the points where the surface of this solid and the material of a face cross, within a tolerance: the same points, in the same order, as GetIntersections(GeoFace3, GeoSolid3, Tolerance).

public GeoPoint3[] GetIntersections(GeoFace3 face, Tolerance tolerance)

Parameters

face GeoFace3

The face, read by its material.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The square 200 by 200 from (-50, -50, 50) to (150, 150, 50) with a hole 150 by 150 in its middle, around a box 100 by 100 by 100 with a corner at the origin, crosses nothing: the box passes through the hole.

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoSpline3)

Gets the points where this solid 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 solid 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 an infinite line crosses the surface of this solid, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoXLine3 xline)

Parameters

xline GeoXLine3

Returns

GeoPoint3[]

GetIntersections(GeoXLine3, Tolerance)

Gets the points where an infinite line crosses the surface of this solid, within a tolerance.

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

Parameters

xline GeoXLine3
tolerance Tolerance

Returns

GeoPoint3[]