Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoLine3, out GeoPoint3)
Tries to find the single point where this segment meets another segment, using the default tolerance.
public bool TryIntersectWith(GeoLine3 other, out GeoPoint3 intersection)
Parameters
Returns
TryIntersectWith(GeoLine3, out GeoPoint3, Tolerance)
Tries to find the single point where this segment meets another segment, within a tolerance.
public bool TryIntersectWith(GeoLine3 other, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoLine3, LineExtension, out GeoPoint3)
Tries to find the single point where this segment meets another, reading this one, the other or both as the infinite line carrying it, using the default tolerance.
public bool TryIntersectWith(GeoLine3 other, LineExtension extension, out GeoPoint3 intersection)
Parameters
otherGeoLine3The other segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
intersectionGeoPoint3The crossing point when the method returns true.
Returns
TryIntersectWith(GeoLine3, LineExtension, out GeoPoint3, Tolerance)
Tries to find the single point where this segment meets another, reading this one, the other or both as the infinite line carrying it, within a tolerance.
public bool TryIntersectWith(GeoLine3 other, LineExtension extension, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
otherGeoLine3The other segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
intersectionGeoPoint3The crossing point when the method returns true.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPlane3, out GeoPoint3)
Tries to find the point where this segment crosses a plane, using the default tolerance.
public bool TryIntersectWith(GeoPlane3 plane, out GeoPoint3 intersection)
Parameters
Returns
TryIntersectWith(GeoPlane3, out GeoPoint3, Tolerance)
Tries to find the point where this segment crosses a plane, within a tolerance.
public bool TryIntersectWith(GeoPlane3 plane, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoTriangle3, out GeoPoint3)
Tries to find the point where this segment crosses a triangle, using the default tolerance.
public bool TryIntersectWith(GeoTriangle3 triangle, out GeoPoint3 intersection)
Parameters
triangleGeoTriangle3intersectionGeoPoint3
Returns
TryIntersectWith(GeoTriangle3, out GeoPoint3, Tolerance)
Tries to find the point where this segment crosses a triangle, within a tolerance.
public bool TryIntersectWith(GeoTriangle3 triangle, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
triangleGeoTriangle3intersectionGeoPoint3toleranceTolerance
Returns
TryIntersectWith(GeoFace3, out GeoPoint3)
Tries to find the point where this segment crosses a face, using the default tolerance.
public bool TryIntersectWith(GeoFace3 face, out GeoPoint3 intersection)
Parameters
Returns
TryIntersectWith(GeoFace3, out GeoPoint3, Tolerance)
Tries to find the point where this segment crosses a face, within a tolerance.
public bool TryIntersectWith(GeoFace3 face, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
faceGeoFace3The face.
intersectionGeoPoint3The crossing point when the method returns true.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolygon3, out GeoPoint3)
Tries to find the point where this segment crosses a polygon, using the default tolerance.
public bool TryIntersectWith(GeoPolygon3 polygon, out GeoPoint3 intersection)
Parameters
polygonGeoPolygon3The polygon.
intersectionGeoPoint3The crossing point when the method returns true.
Returns
TryIntersectWith(GeoPolygon3, out GeoPoint3, Tolerance)
Tries to find the point where this segment crosses a polygon, within a tolerance.
public bool TryIntersectWith(GeoPolygon3 polygon, out GeoPoint3 intersection, Tolerance tolerance)
Parameters
polygonGeoPolygon3The polygon.
intersectionGeoPoint3The crossing point when the method returns true.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoArc3, out GeoPoint3[])
Tries to find where an arc crosses this segment, using the default tolerance.
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 an arc crosses this segment, 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 a circle crosses this segment, using the default tolerance.
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 a circle crosses this segment, 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(GeoRay3, out GeoPoint3[])
Tries to find where this segment crosses a ray.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections)
Parameters
Returns
TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)
Tries to find where this segment crosses a ray, within a tolerance.
public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoEdge3, out GeoPoint3[])
Tries to find where this segment crosses an edge: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).
public bool TryIntersectWith(GeoEdge3 edge, out GeoPoint3[] intersections)
Parameters
Returns
TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)
Tries to find where this segment crosses an edge, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance).
public bool TryIntersectWith(GeoEdge3 edge, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
Returns
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])
Tries to find where this segment crosses a curved loop: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).
public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections)
Parameters
loopGeoPolygonArc3intersectionsGeoPoint3[]
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)
Tries to find where this segment crosses a curved loop, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance).
public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc3intersectionsGeoPoint3[]toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.
TryIntersectWith(GeoPolyline3, out GeoPoint3[])
Tries to find where this segment crosses a straight chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).
public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections)
Parameters
polylineGeoPolyline3intersectionsGeoPoint3[]
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)
Tries to find where this segment crosses a straight chain, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance).
public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
polylineGeoPolyline3intersectionsGeoPoint3[]toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])
Tries to find where this segment crosses a curved chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).
public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections)
Parameters
chainGeoPolylineArc3intersectionsGeoPoint3[]
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)
Tries to find where this segment crosses a curved chain, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance).
public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc3intersectionsGeoPoint3[]toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
TryIntersectWith(GeoSphere3, out GeoPoint3[])
Tries to find where this segment 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 segment 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 line segment 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 line segment 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 line segment crosses an infinite line, using the default tolerance.
public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections)
Parameters
xlineGeoXLine3The infinite line.
intersectionsGeoPoint3[]The crossing point when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoXLine3, out GeoPoint3[], Tolerance)
Tries to find where this line segment crosses an infinite line, within a tolerance.
public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections, Tolerance tolerance)
Parameters
xlineGeoXLine3The infinite line.
intersectionsGeoPoint3[]The crossing point when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.