Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoArc2)

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

public GeoPoint2[] GetIntersections(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoPoint2[]

GetIntersections(GeoArc2, Tolerance)

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

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

Parameters

arc GeoArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoCircle2)

Gets the points where this infinite line crosses a circle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoPoint2[]

GetIntersections(GeoCircle2, Tolerance)

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

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

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

GeoPoint2[]

Remarks

The line through (-100, 0) along X crosses the circle of radius 50 about the origin at (-50, 0) and (50, 0), and so does the line through (100, 0) along X.

GetIntersections(GeoEllipse2)

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

public GeoPoint2[] GetIntersections(GeoEllipse2 ellipse)

Parameters

ellipse GeoEllipse2

Returns

GeoPoint2[]

GetIntersections(GeoEllipse2, Tolerance)

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

public GeoPoint2[] GetIntersections(GeoEllipse2 ellipse, Tolerance tolerance)

Parameters

ellipse GeoEllipse2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoEdge2)

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

public GeoPoint2[] GetIntersections(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoPoint2[]

GetIntersections(GeoEdge2, Tolerance)

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

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

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolyline2)

Gets the points where this infinite line crosses a polyline, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolyline2, Tolerance)

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

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

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolygon2)

Gets the points where this infinite line crosses a polygon, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolygon2 poly)

Parameters

poly GeoPolygon2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolygon2, Tolerance)

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

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

Parameters

poly GeoPolygon2
tolerance Tolerance

Returns

GeoPoint2[]

Remarks

The line through (-50, 50) along X crosses the square 100 by 100 with a corner at the origin at (0, 50) and (100, 50).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolylineArc2)

Gets the points where this infinite line crosses a curved chain, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolylineArc2, Tolerance)

Gets the points where this infinite line crosses a curved chain, within a tolerance.

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

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolygonArc2)

Gets the points where this infinite line crosses a curved loop, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoPolygonArc2, Tolerance)

Gets the points where this infinite line crosses a curved loop, within a tolerance.

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

Parameters

loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoRectangle2)

Gets the points where this infinite line crosses a rectangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

GeoPoint2[]

GetIntersections(GeoRectangle2, Tolerance)

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

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

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoTriangle2)

Gets the points where this infinite line crosses a triangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

GeoPoint2[]

GetIntersections(GeoTriangle2, Tolerance)

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

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

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2)

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

public GeoPoint2[] GetIntersections(GeoFace2 face)

Parameters

face GeoFace2

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoFace2, Tolerance)

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

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

Parameters

face GeoFace2
tolerance Tolerance

Returns

GeoPoint2[]

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoSpline2)

Gets the points where this infinite line 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 infinite line 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.