Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoLine2)

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

public GeoPoint2[] GetIntersections(GeoLine2 line)

Parameters

line GeoLine2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoLine2, Tolerance).

GetIntersections(GeoLine2, Tolerance)

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

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

Parameters

line GeoLine2

The line segment.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoRay2)

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

public GeoPoint2[] GetIntersections(GeoRay2 ray)

Parameters

ray GeoRay2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoRay2, Tolerance).

GetIntersections(GeoRay2, Tolerance)

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

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

Parameters

ray GeoRay2

The ray.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoXLine2)

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

public GeoPoint2[] GetIntersections(GeoXLine2 xline)

Parameters

xline GeoXLine2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoXLine2, Tolerance).

GetIntersections(GeoXLine2, Tolerance)

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

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

Parameters

xline GeoXLine2

The infinite line.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoPolyline2)

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

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoPolyline2, Tolerance).

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolyline2, Tolerance)

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

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

Parameters

polyline GeoPolyline2

The polyline.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

Exceptions

ArgumentNullException

Thrown when the polyline is null.

GetIntersections(GeoPolygon2)

Gets the points where this spline crosses the boundary of a polygon, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoPolygon2, Tolerance).

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoPolygon2, Tolerance)

Gets the points where this spline crosses the boundary of a polygon, within a tolerance.

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

Parameters

polygon GeoPolygon2

The polygon.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GetIntersections(GeoRectangle2)

Gets the points where this spline crosses the boundary of a rectangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoRectangle2, Tolerance).

GetIntersections(GeoRectangle2, Tolerance)

Gets the points where this spline crosses the boundary of a rectangle, within a tolerance.

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

Parameters

rect GeoRectangle2

The rectangle.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoTriangle2)

Gets the points where this spline crosses the boundary of a triangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoTriangle2, Tolerance).

GetIntersections(GeoTriangle2, Tolerance)

Gets the points where this spline crosses the boundary of a triangle, within a tolerance.

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

Parameters

triangle GeoTriangle2

The triangle.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoFace2)

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

public GeoPoint2[] GetIntersections(GeoFace2 face)

Parameters

face GeoFace2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoFace2, Tolerance).

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoFace2, Tolerance)

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

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

Parameters

face GeoFace2

The face.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

Exceptions

ArgumentNullException

Thrown when the face is null.

GetIntersections(GeoArc2)

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

public GeoPoint2[] GetIntersections(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoArc2, Tolerance).

GetIntersections(GeoArc2, Tolerance)

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

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

Parameters

arc GeoArc2

The arc.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoCircle2)

Gets the points where this spline crosses the boundary of a circle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoCircle2, Tolerance).

GetIntersections(GeoCircle2, Tolerance)

Gets the points where this spline crosses the boundary of a circle, within a tolerance.

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

Parameters

circle GeoCircle2

The circle.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoEllipse2)

Gets the points where this spline crosses the boundary of an ellipse, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoEllipse2 ellipse)

Parameters

ellipse GeoEllipse2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoEllipse2, Tolerance).

GetIntersections(GeoEllipse2, Tolerance)

Gets the points where this spline crosses the boundary of an ellipse, within a tolerance.

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

Parameters

ellipse GeoEllipse2

The ellipse.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoEdge2)

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

public GeoPoint2[] GetIntersections(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoEdge2, Tolerance).

GetIntersections(GeoEdge2, Tolerance)

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

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

Parameters

edge GeoEdge2

The edge.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

GetIntersections(GeoPolylineArc2)

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

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoPolylineArc2, Tolerance).

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolylineArc2, Tolerance)

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

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

Parameters

chain GeoPolylineArc2

The curved chain.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

Exceptions

ArgumentNullException

Thrown when the curved chain is null.

GetIntersections(GeoPolygonArc2)

Gets the points where this spline crosses the boundary of a curved loop, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

GeoPoint2[]

The points, in order along the spline from its start; see GetIntersections(GeoPolygonArc2, Tolerance).

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoPolygonArc2, Tolerance)

Gets the points where this spline crosses the boundary of a curved loop, within a tolerance.

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

Parameters

loop GeoPolygonArc2

The curved loop.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, as a point of the spline, in order along it from its start: where it crosses, where it touches without crossing, and where an end of the spline or of the shape comes within the point tolerance of the other. Where the spline runs along the shape for a length it is not crossing it, and no point is given along that length.

Exceptions

ArgumentNullException

Thrown when the curved loop is null.

GetIntersections(GeoSpline2)

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

public GeoPoint2[] GetIntersections(GeoSpline2 other)

Parameters

other GeoSpline2

Returns

GeoPoint2[]

The points, in order along this spline from its start.

Exceptions

ArgumentNullException

Thrown when the other spline is null.

GetIntersections(GeoSpline2, Tolerance)

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

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

Parameters

other GeoSpline2

The other spline.

tolerance Tolerance

The tolerance: places no further than its point tolerance apart are one place.

Returns

GeoPoint2[]

Every place where the two meet, once, in order along this spline from its start: where they cross, where they touch without crossing, and where an end of one comes within the point tolerance of the other. The same points, bit for bit, as the other spline gives, in order along itself. Where the two lie along each other for a length they are not crossing, and no point is given along it.

Exceptions

ArgumentNullException

Thrown when the other spline is null.