Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoLine2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses a segment, using the default tolerance.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections)
Parameters
lineGeoLine2The segment.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoLine2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses a segment, within a tolerance.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
lineGeoLine2The segment.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoEdge2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses an edge, using the default tolerance.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections)
Parameters
edgeGeoEdge2The edge.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoEdge2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses an edge, within a tolerance.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
edgeGeoEdge2The edge.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses a circle, using the default tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses a circle, within a tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoArc2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses an arc, using the default tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses an arc, within a tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses a curved chain, using the default tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses a curved chain, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses a curved loop, using the default tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses a curved loop, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoEllipse2, out GeoPoint2[])
Tries to find where the rim of this ellipse crosses another ellipse, using the default tolerance.
public bool TryIntersectWith(GeoEllipse2 other, out GeoPoint2[] intersections)
Parameters
otherGeoEllipse2The ellipse.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoEllipse2, out GeoPoint2[], Tolerance)
Tries to find where the rim of this ellipse crosses another ellipse, within a tolerance.
public bool TryIntersectWith(GeoEllipse2 other, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
otherGeoEllipse2The ellipse.
intersectionsGeoPoint2[]The crossings when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoRay2, out GeoPoint2[])
Tries to find where this ellipse crosses a ray, using the default tolerance.
public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections)
Parameters
rayGeoRay2The ray.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoRay2, out GeoPoint2[], Tolerance)
Tries to find where this ellipse crosses a ray, within a tolerance.
public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
rayGeoRay2The ray.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoXLine2, out GeoPoint2[])
Tries to find where this ellipse crosses an infinite line, using the default tolerance.
public bool TryIntersectWith(GeoXLine2 xline, out GeoPoint2[] intersections)
Parameters
xlineGeoXLine2The infinite line.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoXLine2, out GeoPoint2[], Tolerance)
Tries to find where this ellipse crosses an infinite line, within a tolerance.
public bool TryIntersectWith(GeoXLine2 xline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
xlineGeoXLine2The infinite line.
intersectionsGeoPoint2[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoSpline2, out GeoPoint2[])
Tries to find where this ellipse crosses a spline, using the default tolerance.
public bool TryIntersectWith(GeoSpline2 spline, out GeoPoint2[] intersections)
Parameters
splineGeoSpline2The spline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.
TryIntersectWith(GeoSpline2, out GeoPoint2[], Tolerance)
Tries to find where this ellipse crosses a spline, within a tolerance.
public bool TryIntersectWith(GeoSpline2 spline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
splineGeoSpline2The spline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.