Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoArc3)

Gets every point where an arc crosses this face, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

GeoPoint3[]

GetIntersections(GeoArc3, Tolerance)

Gets every point where an arc crosses this face, 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 this face, using the default tolerance.

public GeoPoint3[] GetIntersections(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

GeoPoint3[]

GetIntersections(GeoCircle3, Tolerance)

Gets every point where a circle crosses this face, within a tolerance.

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

Parameters

circle GeoCircle3
tolerance Tolerance

Returns

GeoPoint3[]

GetIntersections(GeoLine3)

Gets every point where a segment crosses this face.

public GeoPoint3[] GetIntersections(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoPoint3[]

GetIntersections(GeoLine3, Tolerance)

Gets every point where a segment crosses this face, within a tolerance.

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

Parameters

line GeoLine3

The segment.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The same points as GetIntersections(GeoFace3, Tolerance): the crossing, or the point of a touch.

GetIntersections(GeoEdge3)

Gets every point where an edge crosses this face.

public GeoPoint3[] GetIntersections(GeoEdge3 edge)

Parameters

edge GeoEdge3

Returns

GeoPoint3[]

GetIntersections(GeoEdge3, Tolerance)

Gets every point where an edge crosses this face, 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 face.

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 face, 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 face.

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 face, 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 face crosses a straight chain: the same points, in the same order, as GetIntersections(GeoFace3).

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 face crosses a straight chain, within a tolerance: the same points, in the same order, as GetIntersections(GeoFace3, 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 material of this face and a triangle cross: the same points, in the same order, as GetIntersections(GeoTriangle3, GeoFace3).

public GeoPoint3[] GetIntersections(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

The triangle.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle and the triangle with corners (40, 50, -10), (60, 50, -10) and (50, 50, 10), standing in the hole, do not meet; moved 30 along X, onto the material, they do.

GetIntersections(GeoTriangle3, Tolerance)

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

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

Parameters

triangle GeoTriangle3

The triangle.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle and the triangle with corners (40, 50, -10), (60, 50, -10) and (50, 50, 10), standing in the hole, do not meet; moved 30 along X, onto the material, they do.

GetIntersections(GeoPolygon3)

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

public GeoPoint3[] GetIntersections(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

The polygon.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle, and a square 100 by 100 standing upright across it along y = 50 from z = -50 to 50, cross where the material ends: (100, 50, 0), (0, 50, 0), (70, 50, 0) and (30, 50, 0).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolygon3, Tolerance)

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

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

Parameters

polygon GeoPolygon3

The polygon.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle, and a square 100 by 100 standing upright across it along y = 50 from z = -50 to 50, cross where the material ends: (100, 50, 0), (0, 50, 0), (70, 50, 0) and (30, 50, 0).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoFace3)

Gets the points where the materials of this face and another cross: the same points, in the same order, as GetIntersections(GeoFace3, GeoFace3).

public GeoPoint3[] GetIntersections(GeoFace3 other)

Parameters

other GeoFace3

The face, read by its material.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle is not touched by a square 20 by 20 about (50, 50) lying in its hole, and is by one about (15, 50); a face standing wholly in the hole crosses nothing.

Exceptions

ArgumentNullException

Thrown when the other face is null.

GetIntersections(GeoFace3, Tolerance)

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

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

Parameters

other GeoFace3

The face, read by its material.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The square 100 by 100 in the floor with a hole 40 by 40 in its middle is not touched by a square 20 by 20 about (50, 50) lying in its hole, and is by one about (15, 50); a face standing wholly in the hole crosses nothing.

Exceptions

ArgumentNullException

Thrown when the other face is null.

GetIntersections(GeoPlane3)

Gets the points where the edges of this face cross a plane: the same points, in the same order, as GetIntersections(GeoPlane3, GeoFace3).

public GeoPoint3[] GetIntersections(GeoPlane3 plane)

Parameters

plane GeoPlane3

The plane.

Returns

GeoPoint3[]

Remarks

The floor plane and the square 100 by 100 with a hole 40 by 40 in its middle, stood upright along y = 50 from z = -50 to 50, cross at (100, 50, 0) and (0, 50, 0) on the outline and at (70, 50, 0) and (30, 50, 0) on the rim of the hole.

GetIntersections(GeoPlane3, Tolerance)

Gets the points where the edges of this face cross a plane, within a tolerance: the same points, in the same order, as GetIntersections(GeoPlane3, GeoFace3, Tolerance).

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

Parameters

plane GeoPlane3

The plane.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

The floor plane and the square 100 by 100 with a hole 40 by 40 in its middle, stood upright along y = 50 from z = -50 to 50, cross at (100, 50, 0) and (0, 50, 0) on the outline and at (70, 50, 0) and (30, 50, 0) on the rim of the hole.

GetIntersections(GeoRay3)

Gets where a ray crosses the material of this face, as a list: the same points, in the same order, as GetIntersections(GeoRay3, GeoFace3).

public GeoPoint3[] GetIntersections(GeoRay3 ray)

Parameters

ray GeoRay3

The ray.

Returns

GeoPoint3[]

Remarks

A ray from (50, 50, 10) pointing straight down passes through the hole 40 by 40 in the middle of the square 100 by 100 in the floor and crosses nothing; from (20, 20, 10) it crosses the material at (20, 20, 0).

GetIntersections(GeoRay3, Tolerance)

Gets where a ray crosses the material of this face, as a list, within a tolerance: the same points, in the same order, as GetIntersections(GeoRay3, GeoFace3, Tolerance).

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

Parameters

ray GeoRay3

The ray.

tolerance Tolerance

The tolerance.

Returns

GeoPoint3[]

Remarks

A ray from (50, 50, 10) pointing straight down passes through the hole 40 by 40 in the middle of the square 100 by 100 in the floor and crosses nothing; from (20, 20, 10) it crosses the material at (20, 20, 0).

GetIntersections(GeoSolid3)

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

public GeoPoint3[] GetIntersections(GeoSolid3 solid)

Parameters

solid GeoSolid3

The solid, 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 solid is null.

GetIntersections(GeoSolid3, Tolerance)

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

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

Parameters

solid GeoSolid3

The solid, 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 solid is null.

GetIntersections(GeoObb3)

Gets the points where the material of this face and the surface of an oriented box cross: the same points, in the same order, as GetIntersections(GeoFace3, GeoObb3).

public GeoPoint3[] GetIntersections(GeoObb3 box)

Parameters

box GeoObb3

The oriented box.

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 and touches nothing; without the hole it crosses the box at four points at height 50.

Exceptions

ArgumentNullException

Thrown when the box is null.

GetIntersections(GeoObb3, Tolerance)

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

public GeoPoint3[] GetIntersections(GeoObb3 box, Tolerance tolerance)

Parameters

box GeoObb3

The oriented box.

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 and touches nothing; without the hole it crosses the box at four points at height 50.

Exceptions

ArgumentNullException

Thrown when the box is null.

GetIntersections(GeoAabb3)

Gets the points where the material of this face and the surface of an axis-aligned box cross: the same points, in the same order, as GetIntersections(GeoFace3, GeoAabb3).

public GeoPoint3[] GetIntersections(GeoAabb3 box)

Parameters

box GeoAabb3

The axis-aligned box.

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 and touches nothing; without the hole it crosses the box at four points at height 50.

GetIntersections(GeoAabb3, Tolerance)

Gets the points where the material of this face and the surface of an axis-aligned box cross, within a tolerance: the same points, in the same order, as GetIntersections(GeoFace3, GeoAabb3, Tolerance).

public GeoPoint3[] GetIntersections(GeoAabb3 box, Tolerance tolerance)

Parameters

box GeoAabb3

The axis-aligned box.

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 and touches nothing; without the hole it crosses the box at four points at height 50.

GetIntersections(GeoSphere3)

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

public GeoPoint3[] GetIntersections(GeoXLine3 xline)

Parameters

xline GeoXLine3

Returns

GeoPoint3[]

GetIntersections(GeoXLine3, Tolerance)

Gets the point where this face crosses an infinite line, within a tolerance.

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

Parameters

xline GeoXLine3
tolerance Tolerance

Returns

GeoPoint3[]