Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoLine3, out GeoPoint3[])
Tries to find where this chain crosses a segment.
public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections)
Parameters
Returns
TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance)
Tries to find where this chain crosses a segment, within a tolerance.
public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoRay3, out GeoPoint3[])
Tries to find where this chain crosses a ray.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections)
Parameters
Returns
TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)
Tries to find where this chain crosses a ray, within a tolerance.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])
Tries to find where this chain crosses a curved chain.
public bool TryIntersectWith(GeoPolylineArc3 other, out GeoPoint3[] intersections)
Parameters
otherGeoPolylineArc3intersectionsGeoPoint3[]
Returns
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)
Tries to find where this chain crosses a curved chain, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc3 other, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
otherGeoPolylineArc3intersectionsGeoPoint3[]toleranceTolerance
Returns
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])
Tries to find where this chain crosses a curved loop.
public bool TryIntersectWith(GeoPolygonArc3 other, out GeoPoint3[] intersections)
Parameters
otherGeoPolygonArc3intersectionsGeoPoint3[]
Returns
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)
Tries to find where this chain crosses a curved loop, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc3 other, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
otherGeoPolygonArc3intersectionsGeoPoint3[]toleranceTolerance
Returns
TryIntersectWith(GeoPolyline3, out GeoPoint3[])
Tries to find where this chain crosses a straight chain.
public bool TryIntersectWith(GeoPolyline3 other, out GeoPoint3[] intersections)
Parameters
otherGeoPolyline3intersectionsGeoPoint3[]
Returns
TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)
Tries to find where this chain crosses a straight chain, within a tolerance.
public bool TryIntersectWith(GeoPolyline3 other, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
otherGeoPolyline3intersectionsGeoPoint3[]toleranceTolerance
Returns
TryIntersectWith(GeoEdge3, out GeoPoint3[])
Tries to find where an edge crosses this curved chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolylineArc3, out GeoPoint3[]).
public bool TryIntersectWith(GeoEdge3 edge, out GeoPoint3[] intersections)
Parameters
edgeGeoEdge3The edge.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
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).
TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)
Tries to find where an edge crosses this curved chain, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance).
public bool TryIntersectWith(GeoEdge3 edge, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
edgeGeoEdge3The edge.
intersectionsGeoPoint3[]The crossing points when the method returns true; empty otherwise.
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).
TryIntersectWith(GeoSphere3, out GeoPoint3[])
Tries to find where this curved chain 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 curved chain 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 curved chain 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 curved chain 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 curved chain 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 curved chain 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.