Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoLine2, out GeoPoint2[])
Tries to find where this spline crosses a line segment, using the default tolerance.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections)
Parameters
lineGeoLine2The line segment.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoLine2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses a line segment, within a tolerance.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoRay2, out GeoPoint2[])
Tries to find where this spline crosses a ray, using the default tolerance.
public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections)
Parameters
rayGeoRay2The ray.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoRay2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses a ray, within a tolerance.
public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
rayGeoRay2The ray.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoXLine2, out GeoPoint2[])
Tries to find where this spline crosses an infinite line, using the default tolerance.
public bool TryIntersectWith(GeoXLine2 xline, out GeoPoint2[] intersections)
Parameters
xlineGeoXLine2The infinite line.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoXLine2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses an infinite line, within a tolerance.
public bool TryIntersectWith(GeoXLine2 xline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
xlineGeoXLine2The infinite line.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolyline2, out GeoPoint2[])
Tries to find where this spline crosses a polyline, using the default tolerance.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections)
Parameters
polylineGeoPolyline2The polyline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the polyline is null.
TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses a polyline, within a tolerance.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the polyline is null.
TryIntersectWith(GeoPolygon2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a polygon, using the default tolerance.
public bool TryIntersectWith(GeoPolygon2 polygon, out GeoPoint2[] intersections)
Parameters
polygonGeoPolygon2The polygon.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
TryIntersectWith(GeoPolygon2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a polygon, within a tolerance.
public bool TryIntersectWith(GeoPolygon2 polygon, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
polygonGeoPolygon2The polygon.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
TryIntersectWith(GeoRectangle2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a rectangle, using the default tolerance.
public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections)
Parameters
rectGeoRectangle2The rectangle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoRectangle2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a rectangle, within a tolerance.
public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
rectGeoRectangle2The rectangle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoTriangle2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a triangle, using the default tolerance.
public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections)
Parameters
triangleGeoTriangle2The triangle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoTriangle2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a triangle, within a tolerance.
public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
triangleGeoTriangle2The triangle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoFace2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a face, using the default tolerance.
public bool TryIntersectWith(GeoFace2 face, out GeoPoint2[] intersections)
Parameters
faceGeoFace2The face.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.
TryIntersectWith(GeoFace2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a face, within a tolerance.
public bool TryIntersectWith(GeoFace2 face, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
faceGeoFace2The face.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.
TryIntersectWith(GeoArc2, out GeoPoint2[])
Tries to find where this spline crosses an arc, using the default tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses an arc, within a tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2The arc.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a circle, using the default tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a circle, within a tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
circleGeoCircle2The circle.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoEllipse2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of an ellipse, using the default tolerance.
public bool TryIntersectWith(GeoEllipse2 ellipse, out GeoPoint2[] intersections)
Parameters
ellipseGeoEllipse2The ellipse.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoEllipse2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of an ellipse, within a tolerance.
public bool TryIntersectWith(GeoEllipse2 ellipse, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
ellipseGeoEllipse2The ellipse.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoEdge2, out GeoPoint2[])
Tries to find where this spline crosses an edge, using the default tolerance.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections)
Parameters
edgeGeoEdge2The edge.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
TryIntersectWith(GeoEdge2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses an edge, within a tolerance.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
edgeGeoEdge2The edge.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])
Tries to find where this spline crosses a curved chain, using the default tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the curved chain is null.
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses a curved chain, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the curved chain is null.
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])
Tries to find where this spline crosses the boundary of a curved loop, using the default tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the curved loop is null.
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses the boundary of a curved loop, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the curved loop is null.
TryIntersectWith(GeoSpline2, out GeoPoint2[])
Tries to find where this spline crosses another, using the default tolerance.
public bool TryIntersectWith(GeoSpline2 other, out GeoPoint2[] intersections)
Parameters
otherGeoSpline2The other spline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
Returns
Exceptions
- ArgumentNullException
Thrown when the other spline is null.
TryIntersectWith(GeoSpline2, out GeoPoint2[], Tolerance)
Tries to find where this spline crosses another, within a tolerance.
public bool TryIntersectWith(GeoSpline2 other, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
otherGeoSpline2The other spline.
intersectionsGeoPoint2[]The points when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
Exceptions
- ArgumentNullException
Thrown when the other spline is null.