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
Returns
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
Returns
GetIntersections(GeoFace2, GeoArc2)
Gets every point where a arc crosses the boundary of a face.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoArc2 arc)
Parameters
Returns
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
Returns
GetIntersections(GeoFace2, GeoCircle2)
Gets every point where a circle crosses the boundary of a face.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoCircle2 circle)
Parameters
faceGeoFace2circleGeoCircle2
Returns
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
faceGeoFace2circleGeoCircle2toleranceTolerance
Returns
GetIntersections(GeoFace2, GeoRectangle2)
Gets every point where a rectangle crosses the boundary of a face.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoRectangle2 rect)
Parameters
faceGeoFace2rectGeoRectangle2
Returns
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
faceGeoFace2rectGeoRectangle2toleranceTolerance
Returns
GetIntersections(GeoFace2, GeoPolyline2)
Gets every point where a polyline crosses the boundary of a face.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolyline2 polyline)
Parameters
faceGeoFace2polylineGeoPolyline2
Returns
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
faceGeoFace2polylineGeoPolyline2toleranceTolerance
Returns
GetIntersections(GeoFace2, GeoPolygon2)
Gets every point where a polygon crosses the boundary of a face.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoPolygon2 polygon)
Parameters
faceGeoFace2polygonGeoPolygon2
Returns
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
faceGeoFace2polygonGeoPolygon2toleranceTolerance
Returns
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
faceGeoFace2loopGeoPolygonArc2
Returns
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
faceGeoFace2loopGeoPolygonArc2toleranceTolerance
Returns
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
faceGeoFace2chainGeoPolylineArc2
Returns
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
faceGeoFace2chainGeoPolylineArc2toleranceTolerance
Returns
GetIntersections(GeoFace2, GeoFace2)
Gets every point where the boundaries of two faces cross.
public static GeoPoint2[] GetIntersections(GeoFace2 face, GeoFace2 other)
Parameters
Returns
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
Returns
- GeoPoint2[]
The crossings of the outline and then each hole of
face, each against the outline and then each hole ofother, 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
Returns
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
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.