Table of Contents

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

line GeoLine2

The line segment.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

line GeoLine2

The line segment.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

ray GeoRay2

The ray.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

ray GeoRay2

The ray.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

xline GeoXLine2

The infinite line.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

xline GeoXLine2

The infinite line.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

polyline GeoPolyline2

The polyline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

polyline GeoPolyline2

The polyline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

polygon GeoPolygon2

The polygon.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

polygon GeoPolygon2

The polygon.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

rect GeoRectangle2

The rectangle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

rect GeoRectangle2

The rectangle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

triangle GeoTriangle2

The triangle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

triangle GeoTriangle2

The triangle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

face GeoFace2

The face.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

face GeoFace2

The face.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

arc GeoArc2

The arc.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

arc GeoArc2

The arc.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

circle GeoCircle2

The circle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

circle GeoCircle2

The circle.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

ellipse GeoEllipse2

The ellipse.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

ellipse GeoEllipse2

The ellipse.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

edge GeoEdge2

The edge.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

edge GeoEdge2

The edge.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

chain GeoPolylineArc2

The curved chain.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

chain GeoPolylineArc2

The curved chain.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

loop GeoPolygonArc2

The curved loop.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

loop GeoPolygonArc2

The curved loop.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

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

other GeoSpline2

The other spline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

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

other GeoSpline2

The other spline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the other spline is null.