Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoLine2)

Gets every point where a segment crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoLine2 line)

Parameters

line GeoLine2

Returns

GeoPoint2[]

GetIntersections(GeoLine2, Tolerance)

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

public GeoPoint2[] GetIntersections(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoArc2)

Gets every point where a arc crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoPoint2[]

GetIntersections(GeoArc2, Tolerance)

Gets every point where a arc crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoCircle2)

Gets every point where a circle crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoPoint2[]

GetIntersections(GeoCircle2, Tolerance)

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

public GeoPoint2[] GetIntersections(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoRectangle2)

Gets every point where a rectangle crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

GeoPoint2[]

GetIntersections(GeoRectangle2, Tolerance)

Gets every point where a rectangle crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolyline2)

Gets every point where a polyline crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

GeoPoint2[]

GetIntersections(GeoPolyline2, Tolerance)

Gets every point where a polyline crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolygon2)

Gets every point where a polygon crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

GeoPoint2[]

GetIntersections(GeoPolygon2, Tolerance)

Gets every point where a polygon crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolygon2 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolygonArc2)

Gets every point where a curved loop crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

GeoPoint2[]

GetIntersections(GeoPolygonArc2, Tolerance)

Gets every point where a curved loop crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolylineArc2)

Gets every point where a curved chain crosses the boundary of this face.

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

GeoPoint2[]

GetIntersections(GeoPolylineArc2, Tolerance)

Gets every point where a curved chain crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoEdge2)

Gets every point where this face crosses an edge.

public GeoPoint2[] GetIntersections(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoPoint2[]

GetIntersections(GeoEdge2, Tolerance)

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

public GeoPoint2[] GetIntersections(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoTriangle2)

Gets every point where this face meets the edges of a triangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

GeoPoint2[]

GetIntersections(GeoTriangle2, Tolerance)

Gets every point where this face meets the edges of a triangle, within a tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2)

Gets every point where the boundary of this face crosses the boundary of another.

public GeoPoint2[] GetIntersections(GeoFace2 other)

Parameters

other GeoFace2

Returns

GeoPoint2[]

Remarks

The crossings of the outline and then each hole of this face, each against the outline and then each hole of the other. The square 100 by 100 with a corner at the origin and a hole 40 by 40 in its middle crosses the square 20 by 20 about (30, 50) twice, at (30, 40) and (30, 60), on the rim of the hole.

Exceptions

ArgumentNullException

Thrown when the other face is null.

GetIntersections(GeoFace2, Tolerance)

Gets every point where the boundary of this face crosses the boundary of another, within a tolerance.

public GeoPoint2[] GetIntersections(GeoFace2 other, Tolerance tolerance)

Parameters

other GeoFace2
tolerance Tolerance

Returns

GeoPoint2[]

Remarks

The crossings of the outline and then each hole of this face, each against the outline and then each hole of the other. The square 100 by 100 with a corner at the origin and a hole 40 by 40 in its middle crosses the square 20 by 20 about (30, 50) twice, at (30, 40) and (30, 60), on the rim of the hole.

Exceptions

ArgumentNullException

Thrown when the other face is null.

GetIntersections(GeoRay2)

Gets every point where a ray crosses the boundary of this face, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoRay2 ray)

Parameters

ray GeoRay2

Returns

GeoPoint2[]

GetIntersections(GeoRay2, Tolerance)

Gets every point where a ray crosses the boundary of this face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoRay2 ray, Tolerance tolerance)

Parameters

ray GeoRay2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoXLine2)

Gets the points where this face crosses an infinite line, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoXLine2 xline)

Parameters

xline GeoXLine2

Returns

GeoPoint2[]

GetIntersections(GeoXLine2, Tolerance)

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

public GeoPoint2[] GetIntersections(GeoXLine2 xline, Tolerance tolerance)

Parameters

xline GeoXLine2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoSpline2)

Gets the points where this face crosses a spline, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoSpline2 spline)

Parameters

spline GeoSpline2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the spline is null.

GetIntersections(GeoSpline2, Tolerance)

Gets the points where this face crosses a spline, within a tolerance.

public GeoPoint2[] GetIntersections(GeoSpline2 spline, Tolerance tolerance)

Parameters

spline GeoSpline2
tolerance Tolerance

Returns

GeoPoint2[]

The same points the spline gives, in order along the spline from its start.

Exceptions

ArgumentNullException

Thrown when the spline is null.