Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetIntersections(GeoFace2, GeoLine2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoLine2 line)

Parameters

face GeoFace2
line GeoLine2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoLine2, Tolerance)

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

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

Parameters

face GeoFace2
line GeoLine2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoArc2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoArc2 arc)

Parameters

face GeoFace2
arc GeoArc2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoArc2, Tolerance)

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

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

Parameters

face GeoFace2
arc GeoArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoCircle2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoCircle2 circle)

Parameters

face GeoFace2
circle GeoCircle2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoCircle2, Tolerance)

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

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

Parameters

face GeoFace2
circle GeoCircle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoRectangle2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoRectangle2 rect)

Parameters

face GeoFace2
rect GeoRectangle2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoRectangle2, Tolerance)

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

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

Parameters

face GeoFace2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolyline2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolyline2 polyline)

Parameters

face GeoFace2
polyline GeoPolyline2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolyline2, Tolerance)

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

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

Parameters

face GeoFace2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolygon2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolygon2 polygon)

Parameters

face GeoFace2
polygon GeoPolygon2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolygon2, Tolerance)

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

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

Parameters

face GeoFace2
polygon GeoPolygon2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolygonArc2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolygonArc2 loop)

Parameters

face GeoFace2
loop GeoPolygonArc2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolygonArc2, Tolerance)

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

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

Parameters

face GeoFace2
loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolylineArc2)

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

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolylineArc2 chain)

Parameters

face GeoFace2
chain GeoPolylineArc2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoPolylineArc2, Tolerance)

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

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

Parameters

face GeoFace2
chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2, GeoFace2)

Gets every point where the boundaries of two faces cross.

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoFace2 other)

Parameters

face GeoFace2
other GeoFace2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when either face is null.

GetIntersections(GeoFace2, GeoFace2, Tolerance)

Gets every point where the boundaries of two faces cross, within a tolerance.

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

Parameters

face GeoFace2

The first face.

other GeoFace2

The second face.

tolerance Tolerance

The tolerance.

Returns

GeoPoint2[]

The crossings of the outline and then each hole of face, each against the outline and then each hole of other, in that order, as a polygon's crossings with a face are gathered. 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 and nowhere on its outline.

Exceptions

ArgumentNullException

Thrown when either face is null.

GetIntersections(GeoFace2, GeoRay2)

Gets every point where a ray crosses the boundary of a face.

public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoRay2 ray)

Parameters

face GeoFace2
ray GeoRay2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoFace2, GeoRay2, Tolerance)

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

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

Parameters

face GeoFace2
ray GeoRay2
tolerance Tolerance

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the face is null.