Method TryIntersectWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryIntersectWith(GeoArc2, out GeoPoint2[])
Tries to find where this face meets an arc.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections)
Parameters
Returns
Remarks
This is GetIntersections(GeoArc2, Tolerance) read a second way -- the list, plus
whether it is empty -- so a caller who only wants to know whether need not measure the array.
It is built here rather than forwarded to Core because there is no arithmetic in it: the
crossing itself is worked out in one place and this only reports on it.
TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)
Tries to find where this face meets an arc, within a tolerance.
public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
arcGeoArc2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoCircle2, out GeoPoint2[])
Tries to find where this face meets a circle.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections)
Parameters
circleGeoCircle2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a circle, within a tolerance.
public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
circleGeoCircle2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoEdge2, out GeoPoint2[])
Tries to find where this face meets an edge.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections)
Parameters
Returns
TryIntersectWith(GeoEdge2, out GeoPoint2[], Tolerance)
Tries to find where this face meets an edge, within a tolerance.
public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
edgeGeoEdge2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoLine2, out GeoPoint2[])
Tries to find where this face meets a segment.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections)
Parameters
Returns
TryIntersectWith(GeoLine2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a segment, within a tolerance.
public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
lineGeoLine2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoPolygon2, out GeoPoint2[])
Tries to find where this face meets a polygon.
public bool TryIntersectWith(GeoPolygon2 polygon, out GeoPoint2[] intersections)
Parameters
polygonGeoPolygon2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoPolygon2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a polygon, within a tolerance.
public bool TryIntersectWith(GeoPolygon2 polygon, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
polygonGeoPolygon2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])
Tries to find where this face meets a loop that may curve.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections)
Parameters
loopGeoPolygonArc2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a loop that may curve, within a tolerance.
public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoPolyline2, out GeoPoint2[])
Tries to find where this face meets a chain.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections)
Parameters
polylineGeoPolyline2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a chain, within a tolerance.
public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
polylineGeoPolyline2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])
Tries to find where this face meets a chain that may curve.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections)
Parameters
chainGeoPolylineArc2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a chain that may curve, within a tolerance.
public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoRectangle2, out GeoPoint2[])
Tries to find where this face meets a rectangle.
public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections)
Parameters
rectGeoRectangle2intersectionsGeoPoint2[]
Returns
TryIntersectWith(GeoRectangle2, out GeoPoint2[], Tolerance)
Tries to find where this face meets a rectangle, within a tolerance.
public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
rectGeoRectangle2The shape to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoTriangle2, out GeoPoint2[])
Tries to find where this face meets the edges of a triangle, using the default tolerance.
public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections)
Parameters
triangleGeoTriangle2The triangle to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
Returns
- bool
true when they meet anywhere; otherwise, false.
TryIntersectWith(GeoTriangle2, out GeoPoint2[], Tolerance)
Tries to find where this face meets the edges of a triangle, within a tolerance.
public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections, Tolerance tolerance)
Parameters
triangleGeoTriangle2The triangle to test against.
intersectionsGeoPoint2[]The places they meet when the method returns true; empty otherwise.
toleranceToleranceThe tolerance.
Returns
- bool
true when they meet anywhere; otherwise, false.