Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoLine2, out GeoPoint2)
Tries to calculate the intersection with another line segment using default tolerance.
public bool TryIntersectWith(GeoLine2 other, out GeoPoint2 intersection)
Parameters
Returns
TryIntersectWith(GeoLine2, out GeoPoint2, Tolerance)
Tries to calculate the intersection with another line segment within tolerance.
public bool TryIntersectWith(GeoLine2 other, out GeoPoint2 intersection, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2)
Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, using default tolerance.
public bool TryIntersectWith(GeoLine2 other, LineExtension extension, out GeoPoint2 intersection)
Parameters
otherGeoLine2The other line segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
intersectionGeoPoint2The intersection point if successful.
Returns
TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2, Tolerance)
Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, within tolerance.
public bool TryIntersectWith(GeoLine2 other, LineExtension extension, out GeoPoint2 intersection, Tolerance tolerance)
Parameters
otherGeoLine2The other line segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
intersectionGeoPoint2The intersection point if successful.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoArc2, out GeoPoint2[])
Tries to find where this segment crosses a arc, using the default tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a arc, within a tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[])
Tries to find where this segment crosses a circle, using the default tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a circle, within a tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])
Tries to find where this segment crosses a curved loop, using the default tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a curved loop, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolyline2, out GeoPoint2[])
Tries to find where this segment crosses a polyline, using the default tolerance.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections)
Parameters
polylineGeoPolyline2The polyline.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a polyline, within a tolerance.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])
Tries to find where this segment crosses a curved chain, using the default tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)
Tries to find where this segment crosses a curved chain, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.