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
arcGeoArc2
Returns
GetIntersections(GeoArc2, Tolerance)
Gets the points where this infinite line crosses an arc, within a tolerance.
public GeoPoint2[] GetIntersections(GeoArc2 arc, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoCircle2)
Gets the points where this infinite line crosses a circle, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
GetIntersections(GeoCircle2, Tolerance)
Gets the points where this infinite line crosses a circle, within a tolerance.
public GeoPoint2[] GetIntersections(GeoCircle2 circle, Tolerance tolerance)
Parameters
circleGeoCircle2toleranceTolerance
Returns
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
ellipseGeoEllipse2
Returns
GetIntersections(GeoEllipse2, Tolerance)
Gets the points where this infinite line crosses an ellipse, within a tolerance.
public GeoPoint2[] GetIntersections(GeoEllipse2 ellipse, Tolerance tolerance)
Parameters
ellipseGeoEllipse2toleranceTolerance
Returns
GetIntersections(GeoEdge2)
Gets the points where this infinite line crosses an edge, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoEdge2 edge)
Parameters
edgeGeoEdge2
Returns
GetIntersections(GeoEdge2, Tolerance)
Gets the points where this infinite line crosses an edge, within a tolerance.
public GeoPoint2[] GetIntersections(GeoEdge2 edge, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoPolyline2)
Gets the points where this infinite line crosses a polyline, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
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
polylineGeoPolyline2toleranceTolerance
Returns
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
polyGeoPolygon2
Returns
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
polyGeoPolygon2toleranceTolerance
Returns
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
chainGeoPolylineArc2
Returns
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
chainGeoPolylineArc2toleranceTolerance
Returns
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
loopGeoPolygonArc2
Returns
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
loopGeoPolygonArc2toleranceTolerance
Returns
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
rectGeoRectangle2
Returns
GetIntersections(GeoRectangle2, Tolerance)
Gets the points where this infinite line crosses a rectangle, within a tolerance.
public GeoPoint2[] GetIntersections(GeoRectangle2 rect, Tolerance tolerance)
Parameters
rectGeoRectangle2toleranceTolerance
Returns
GetIntersections(GeoTriangle2)
Gets the points where this infinite line crosses a triangle, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2
Returns
GetIntersections(GeoTriangle2, Tolerance)
Gets the points where this infinite line crosses a triangle, within a tolerance.
public GeoPoint2[] GetIntersections(GeoTriangle2 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle2toleranceTolerance
Returns
GetIntersections(GeoFace2)
Gets the points where this infinite line crosses a face, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoFace2 face)
Parameters
faceGeoFace2
Returns
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
Returns
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
splineGeoSpline2
Returns
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
splineGeoSpline2toleranceTolerance
Returns
- GeoPoint2[]
The same points the spline gives, in order along the spline from its start.
Exceptions
- ArgumentNullException
Thrown when the spline is null.