Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoArc3, out GeoPoint3[])
Tries to find where this edge crosses an arc.
public bool TryIntersectWith(GeoArc3 arc, out GeoPoint3[] intersections)
Parameters
arcGeoArc3The arc.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoArc3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses an arc, within a tolerance.
public bool TryIntersectWith(GeoArc3 arc, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
arcGeoArc3The arc.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoCircle3, out GeoPoint3[])
Tries to find where this edge crosses a circle.
public bool TryIntersectWith(GeoCircle3 circle, out GeoPoint3[] intersections)
Parameters
circleGeoCircle3The circle.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoCircle3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a circle, within a tolerance.
public bool TryIntersectWith(GeoCircle3 circle, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
circleGeoCircle3The circle.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoLine3, out GeoPoint3[])
Tries to find where this edge crosses a segment.
public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections)
Parameters
lineGeoLine3The segment.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a segment, within a tolerance.
public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
lineGeoLine3The segment.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoRay3, out GeoPoint3[])
Tries to find where this edge crosses a ray.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections)
Parameters
rayGeoRay3The ray.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a ray, within a tolerance.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
rayGeoRay3The ray.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoEdge3, out GeoPoint3[])
Tries to find where this edge crosses another edge.
public bool TryIntersectWith(GeoEdge3 other, out GeoPoint3[] intersections)
Parameters
otherGeoEdge3The other edge.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses another edge, within a tolerance.
public bool TryIntersectWith(GeoEdge3 other, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
otherGeoEdge3The other edge.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolyline3, out GeoPoint3[])
Tries to find where this edge crosses a straight chain.
public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections)
Parameters
polylineGeoPolyline3The straight chain.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolyline3, Tolerance), in the same order; empty when there are none.
Returns
Remarks
A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a straight chain, within a tolerance.
public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
polylineGeoPolyline3The straight chain.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolyline3, Tolerance), in the same order; empty when there are none.
toleranceToleranceThe tolerance.
Returns
Remarks
A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])
Tries to find where this edge crosses a curved chain.
public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections)
Parameters
chainGeoPolylineArc3The curved chain.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolylineArc3, Tolerance), in the same order; empty when there are none.
Returns
Remarks
A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a curved chain, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc3The curved chain.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolylineArc3, Tolerance), in the same order; empty when there are none.
toleranceToleranceThe tolerance.
Returns
Remarks
A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])
Tries to find where this edge crosses a curved loop.
public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections)
Parameters
loopGeoPolygonArc3The curved loop.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolygonArc3, Tolerance), in the same order; empty when there are none.
Returns
Remarks
A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses a curved loop, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc3The curved loop.
intersectionsGeoPoint3[]The points of GetIntersections(GeoPolygonArc3, Tolerance), in the same order; empty when there are none.
toleranceToleranceThe tolerance.
Returns
Remarks
A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoSphere3, out GeoPoint3[])
Tries to find where this edge crosses the surface of a ball, using the default tolerance.
public bool TryIntersectWith(GeoSphere3 sphere, out GeoPoint3[] intersections)
Parameters
sphereGeoSphere3The ball.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoSphere3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses the surface of a ball, within a tolerance.
public bool TryIntersectWith(GeoSphere3 sphere, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
sphereGeoSphere3The ball.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoSpline3, out GeoPoint3[])
Tries to find where this edge meets a spline, using the default tolerance.
public bool TryIntersectWith(GeoSpline3 spline, out GeoPoint3[] intersections)
Parameters
splineGeoSpline3The spline.
intersectionsGeoPoint3[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.
TryIntersectWith(GeoSpline3, out GeoPoint3[], Tolerance)
Tries to find where this edge meets a spline, within a tolerance.
public bool TryIntersectWith(GeoSpline3 spline, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
splineGeoSpline3The spline.
intersectionsGeoPoint3[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.
TryIntersectWith(GeoXLine3, out GeoPoint3[])
Tries to find where this edge crosses an infinite line, using the default tolerance.
public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections)
Parameters
xlineGeoXLine3The infinite line.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoXLine3, out GeoPoint3[], Tolerance)
Tries to find where this edge crosses an infinite line, within a tolerance.
public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
xlineGeoXLine3The infinite line.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.