Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoArc2, out GeoPoint2[])

Tries to find where this edge crosses an arc.

public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections)

Parameters

arc GeoArc2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)

Tries to find where this edge crosses an arc, within a tolerance.

public bool TryIntersectWith(GeoArc2 arc, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

arc GeoArc2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[])

Tries to find where this edge crosses a circle.

public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections)

Parameters

circle GeoCircle2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)

Tries to find where this edge crosses a circle, within a tolerance.

public bool TryIntersectWith(GeoCircle2 circle, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

circle GeoCircle2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])

Tries to find where this edge crosses a curved loop.

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

Parameters

loop GeoPolygonArc2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)

Tries to find where this edge crosses a curved loop, within a tolerance.

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

Parameters

loop GeoPolygonArc2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])

Tries to find where this edge crosses a curved chain.

public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections)

Parameters

chain GeoPolylineArc2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)

Tries to find where this edge crosses a curved chain, within a tolerance.

public bool TryIntersectWith(GeoPolylineArc2 chain, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoFace2, out GeoPoint2[])

Tries to find where this edge meets a face: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, 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 edge meets a face, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, 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 edge meets a rectangle: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, 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 edge meets a rectangle, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, 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 edge meets a triangle: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, 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 edge meets a triangle, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoEdge2, out GeoPoint2[], Tolerance).

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

Parameters

triangle GeoTriangle2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoSpline2, out GeoPoint2[])

Tries to find where this edge 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 edge 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.