Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoLine2, out GeoPoint2[])

Tries to find where the rim of this ellipse crosses a segment, using the default tolerance.

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

Parameters

line GeoLine2

The segment.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoLine2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse crosses a segment, within a tolerance.

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

Parameters

line GeoLine2

The segment.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoEdge2, out GeoPoint2[])

Tries to find where the rim of this ellipse crosses an edge, using the default tolerance.

public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections)

Parameters

edge GeoEdge2

The edge.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoEdge2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse crosses an edge, within a tolerance.

public bool TryIntersectWith(GeoEdge2 edge, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

edge GeoEdge2

The edge.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[])

Tries to find where the rim of this ellipse crosses a circle, using the default tolerance.

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

Parameters

circle GeoCircle2

The circle.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoCircle2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse crosses a circle, within a tolerance.

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

Parameters

circle GeoCircle2

The circle.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoArc2, out GeoPoint2[])

Tries to find where the rim of this ellipse crosses an arc, using the default tolerance.

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

Parameters

arc GeoArc2

The arc.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoArc2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse crosses an arc, within a tolerance.

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

Parameters

arc GeoArc2

The arc.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[])

Tries to find where the rim of this ellipse 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 crossings when the method returns true; empty otherwise.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolylineArc2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse 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 crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[])

Tries to find where the rim of this ellipse 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 crossings when the method returns true; empty otherwise.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoPolygonArc2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse 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 crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoEllipse2, out GeoPoint2[])

Tries to find where the rim of this ellipse crosses another ellipse, using the default tolerance.

public bool TryIntersectWith(GeoEllipse2 other, out GeoPoint2[] intersections)

Parameters

other GeoEllipse2

The ellipse.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoEllipse2, out GeoPoint2[], Tolerance)

Tries to find where the rim of this ellipse crosses another ellipse, within a tolerance.

public bool TryIntersectWith(GeoEllipse2 other, out GeoPoint2[] intersections, Tolerance tolerance)

Parameters

other GeoEllipse2

The ellipse.

intersections GeoPoint2[]

The crossings when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoRay2, out GeoPoint2[])

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