Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])

Tries to find where this polyline crosses a curved loop, using the default tolerance.

public bool TryIntersectWith(GeoPolygonArc2 loop, out GeoPoint2[] intersections)

Parameters

loop GeoPolygonArc2

The curved loop.

intersections GeoPoint2[]

The crossing points when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)

Tries to find where this polyline crosses 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 crossing points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoLine2, out GeoPoint2[])

Tries to find where this polyline crosses a segment, using the default tolerance.

public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections)

Parameters

line GeoLine2

The segment.

intersections GeoPoint2[]

The crossing points when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoLine2, out GeoPoint2[], Tolerance)

Tries to find where this polyline crosses a segment, within a tolerance.

public bool TryIntersectWith(GeoLine2 line, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

line GeoLine2

The segment.

intersections GeoPoint2[]

The crossing points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])

Tries to find where this polyline 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 crossing points when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)

Tries to find where this polyline 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 crossing points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoFace2, out GeoPoint2[])

Tries to find where this polyline meets a face: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[]).

public bool TryIntersectWith(GeoFace2 face, out GeoPoint2[] intersections)

Parameters

face GeoFace2
intersections GeoPoint2[]

Returns

bool

Exceptions

ArgumentNullException

Thrown when the face is null.

TryIntersectWith(GeoFace2, out GeoPoint2[], Tolerance)

Tries to find where this polyline meets a face, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance).

public bool TryIntersectWith(GeoFace2 face, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

face GeoFace2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the face is null.

TryIntersectWith(GeoRectangle2, out GeoPoint2[])

Tries to find where this polyline meets a rectangle: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[]).

public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections)

Parameters

rect GeoRectangle2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoRectangle2, out GeoPoint2[], Tolerance)

Tries to find where this polyline meets a rectangle, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance).

public bool TryIntersectWith(GeoRectangle2 rect, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

rect GeoRectangle2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoTriangle2, out GeoPoint2[])

Tries to find where this polyline meets a triangle: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[]).

public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections)

Parameters

triangle GeoTriangle2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoTriangle2, out GeoPoint2[], Tolerance)

Tries to find where this polyline meets a triangle, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance).

public bool TryIntersectWith(GeoTriangle2 triangle, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

triangle GeoTriangle2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoRay2, out GeoPoint2[])

Tries to find where this polyline crosses a ray, using the default tolerance.

public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections)

Parameters

ray GeoRay2

The ray.

intersections GeoPoint2[]

The crossing points when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoRay2, out GeoPoint2[], Tolerance)

Tries to find where this polyline crosses a ray, within a tolerance.

public bool TryIntersectWith(GeoRay2 ray, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

ray GeoRay2

The ray.

intersections GeoPoint2[]

The crossing points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoXLine2, out GeoPoint2[])

Tries to find where this polyline 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 crossing points when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoXLine2, out GeoPoint2[], Tolerance)

Tries to find where this polyline 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 crossing points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoSpline2, out GeoPoint2[])

Tries to find where this polyline crosses a spline, using the default tolerance.

public bool TryIntersectWith(GeoSpline2 spline, out GeoPoint2[] intersections)

Parameters

spline GeoSpline2

The spline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

TryIntersectWith(GeoSpline2, out GeoPoint2[], Tolerance)

Tries to find where this polyline crosses a spline, within a tolerance.

public bool TryIntersectWith(GeoSpline2 spline, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

spline GeoSpline2

The spline.

intersections GeoPoint2[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.