Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoLine2, out GeoPoint2)

Tries to calculate the intersection with another line segment using default tolerance.

public bool TryIntersectWith(GeoLine2 other, out GeoPoint2 intersection)

Parameters

other GeoLine2
intersection GeoPoint2

Returns

bool

TryIntersectWith(GeoLine2, out GeoPoint2, Tolerance)

Tries to calculate the intersection with another line segment within tolerance.

public bool TryIntersectWith(GeoLine2 other, out GeoPoint2 intersection, Tolerance tolerance)

Parameters

other GeoLine2
intersection GeoPoint2
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2)

Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, using default tolerance.

public bool TryIntersectWith(GeoLine2 other, LineExtension extension, out GeoPoint2 intersection)

Parameters

other GeoLine2

The other line segment.

extension LineExtension

Which segment may be reached past its endpoints: First is this one, Second the other.

intersection GeoPoint2

The intersection point if successful.

Returns

bool

TryIntersectWith(GeoLine2, LineExtension, out GeoPoint2, Tolerance)

Tries to calculate the intersection with another line segment, reading this segment, the other or both as the infinite line carrying it, within tolerance.

public bool TryIntersectWith(GeoLine2 other, LineExtension extension, out GeoPoint2 intersection, Tolerance tolerance)

Parameters

other GeoLine2

The other line segment.

extension LineExtension

Which segment may be reached past its endpoints: First is this one, Second the other.

intersection GeoPoint2

The intersection point if successful.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoArc2, out GeoPoint2[])

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

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

Parameters

arc GeoArc2

The arc.

intersections GeoPoint2[]

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

Returns

bool

TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)

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

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

Parameters

arc GeoArc2

The arc.

intersections GeoPoint2[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[])

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

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

Parameters

circle GeoCircle2

The circle.

intersections GeoPoint2[]

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

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)

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

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

Parameters

circle GeoCircle2

The circle.

intersections GeoPoint2[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])

Tries to find where this segment 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 segment 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(GeoPolyline2, out GeoPoint2[])

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

public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections)

Parameters

polyline GeoPolyline2

The polyline.

intersections GeoPoint2[]

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

Returns

bool

TryIntersectWith(GeoPolyline2, out GeoPoint2[], Tolerance)

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

public bool TryIntersectWith(GeoPolyline2 polyline, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

polyline GeoPolyline2

The polyline.

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 segment 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 segment 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