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
lineGeoLine2
Returns
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
Returns
GetIntersections(GeoArc2)
Gets every point where a arc crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoArc2 arc)
Parameters
arcGeoArc2
Returns
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
Returns
GetIntersections(GeoCircle2)
Gets every point where a circle crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
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
circleGeoCircle2toleranceTolerance
Returns
GetIntersections(GeoRectangle2)
Gets every point where a rectangle crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoRectangle2 rect)
Parameters
rectGeoRectangle2
Returns
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
rectGeoRectangle2toleranceTolerance
Returns
GetIntersections(GeoPolyline2)
Gets every point where a polyline crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
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
polylineGeoPolyline2toleranceTolerance
Returns
GetIntersections(GeoPolygon2)
Gets every point where a polygon crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoPolygon2 polygon)
Parameters
polygonGeoPolygon2
Returns
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
polygonGeoPolygon2toleranceTolerance
Returns
GetIntersections(GeoPolygonArc2)
Gets every point where a curved loop crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop)
Parameters
loopGeoPolygonArc2
Returns
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
loopGeoPolygonArc2toleranceTolerance
Returns
GetIntersections(GeoPolylineArc2)
Gets every point where a curved chain crosses the boundary of this face.
public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain)
Parameters
chainGeoPolylineArc2
Returns
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
chainGeoPolylineArc2toleranceTolerance
Returns
GetIntersections(GeoEdge2)
Gets every point where this face crosses an edge.
public GeoPoint2[] GetIntersections(GeoEdge2 edge)
Parameters
edgeGeoEdge2
Returns
GetIntersections(GeoEdge2, Tolerance)
Gets every point where this face crosses an edge, within a tolerance.
public GeoPoint2[] GetIntersections(GeoEdge2 edge, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoTriangle2)
Gets every point where this face meets the edges of a triangle, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2
Returns
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
triangleGeoTriangle2toleranceTolerance
Returns
GetIntersections(GeoFace2)
Gets every point where the boundary of this face crosses the boundary of another.
public GeoPoint2[] GetIntersections(GeoFace2 other)
Parameters
otherGeoFace2
Returns
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
Returns
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
rayGeoRay2
Returns
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
Returns
GetIntersections(GeoXLine2)
Gets the points where this face crosses an infinite line, using the default tolerance.
public GeoPoint2[] GetIntersections(GeoXLine2 xline)
Parameters
xlineGeoXLine2
Returns
GetIntersections(GeoXLine2, Tolerance)
Gets the points where this face crosses an infinite line, within a tolerance.
public GeoPoint2[] GetIntersections(GeoXLine2 xline, Tolerance tolerance)
Parameters
Returns
GetIntersections(GeoSpline2)
Gets the points where this face 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 face 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.