Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[])

Finds where an arc meets a segment, using the default tolerance.

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

Parameters

arc GeoArc2
line GeoLine2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[], Tolerance)

Finds where an arc meets a segment, within a tolerance.

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

Parameters

arc GeoArc2

The arc.

line GeoLine2

The segment.

intersections GeoPoint2[]

The crossings, empty when there are none.

tolerance Tolerance

The tolerance.

Returns

bool

true if they meet at least once; otherwise, false.

Remarks

The circle carrying the arc may be met where the arc itself does not reach, and those crossings are left out.

TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[])

Finds where an arc meets a circle, using the default tolerance.

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

Parameters

arc GeoArc2
circle GeoCircle2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[], Tolerance)

Finds where an arc meets a circle, within a tolerance.

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

Parameters

arc GeoArc2
circle GeoCircle2
intersections GeoPoint2[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[])

Finds where two arcs meet, using the default tolerance.

public static bool TryIntersectWith(GeoArc2 first, GeoArc2 second, out GeoPoint2[] intersections)

Parameters

first GeoArc2
second GeoArc2
intersections GeoPoint2[]

Returns

bool

TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[], Tolerance)

Finds where two arcs meet, within a tolerance.

public static bool TryIntersectWith(GeoArc2 first, GeoArc2 second, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

first GeoArc2

The first arc.

second GeoArc2

The second arc.

intersections GeoPoint2[]

The crossings, empty when there are none.

tolerance Tolerance

The tolerance.

Returns

bool

true if they meet at least once; otherwise, false.

Remarks

A crossing counts only where both arcs reach it, so two arcs of the same circle that do not overlap have none even though their circles are everywhere the same.