Method TryIntersectWith
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[])
Finds where an arc meets a segment, using the default tolerance.
public static bool TryIntersectWith(GeoArc2 arc, GeoLine2 line, out GeoPoint2[] intersections)
Parameters
Returns
TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[], Tolerance)
Finds where an arc meets a segment, within a tolerance.
public static bool TryIntersectWith(GeoArc2 arc, GeoLine2 line, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2The arc.
lineGeoLine2The segment.
intersectionsGeoPoint2[]The crossings, empty when there are none.
toleranceToleranceThe tolerance.
Returns
- bool
true if they meet at least once; otherwise, false.
Remarks
The circle carrying the arc may be met where the arc itself does not reach, and those crossings are left out.
TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[])
Finds where an arc meets a circle, using the default tolerance.
public static bool TryIntersectWith(GeoArc2 arc, GeoCircle2 circle, out GeoPoint2[] intersections)
Parameters
arcGeoArc2circleGeoCircle2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[], Tolerance)
Finds where an arc meets a circle, within a tolerance.
public static bool TryIntersectWith(GeoArc2 arc, GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2circleGeoCircle2intersectionsGeoPoint2[]toleranceTolerance
Returns
TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[])
Finds where two arcs meet, using the default tolerance.
public static bool TryIntersectWith(GeoArc2 first, GeoArc2 second, out GeoPoint2[] intersections)
Parameters
Returns
TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[], Tolerance)
Finds where two arcs meet, within a tolerance.
public static bool TryIntersectWith(GeoArc2 first, GeoArc2 second, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
firstGeoArc2The first arc.
secondGeoArc2The second arc.
intersectionsGeoPoint2[]The crossings, empty when there are none.
toleranceToleranceThe tolerance.
Returns
- bool
true if they meet at least once; otherwise, false.
Remarks
A crossing counts only where both arcs reach it, so two arcs of the same circle that do not overlap have none even though their circles are everywhere the same.