Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoArc3, out GeoPoint3[])

Tries to find where this edge crosses an arc.

public bool TryIntersectWith(GeoArc3 arc, out GeoPoint3[] intersections)

Parameters

arc GeoArc3

The arc.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoArc3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoArc3 arc, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

arc GeoArc3

The arc.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoCircle3, out GeoPoint3[])

Tries to find where this edge crosses a circle.

public bool TryIntersectWith(GeoCircle3 circle, out GeoPoint3[] intersections)

Parameters

circle GeoCircle3

The circle.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoCircle3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoCircle3 circle, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

circle GeoCircle3

The circle.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoLine3, out GeoPoint3[])

Tries to find where this edge crosses a segment.

public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections)

Parameters

line GeoLine3

The segment.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoLine3 line, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

line GeoLine3

The segment.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoRay3, out GeoPoint3[])

Tries to find where this edge crosses a ray.

public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections)

Parameters

ray GeoRay3

The ray.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoRay3 ray, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

ray GeoRay3

The ray.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoEdge3, out GeoPoint3[])

Tries to find where this edge crosses another edge.

public bool TryIntersectWith(GeoEdge3 other, out GeoPoint3[] intersections)

Parameters

other GeoEdge3

The other edge.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoEdge3 other, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

other GeoEdge3

The other edge.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPolyline3, out GeoPoint3[])

Tries to find where this edge crosses a straight chain.

public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections)

Parameters

polyline GeoPolyline3

The straight chain.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolyline3, Tolerance), in the same order; empty when there are none.

Returns

bool

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoPolyline3 polyline, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

polyline GeoPolyline3

The straight chain.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolyline3, Tolerance), in the same order; empty when there are none.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A straight edge from (0, -50, 0) to (0, 50, 0) crosses the chain through (-50, 0, 0), (50, 0, 0) and (50, 100, 0) at the origin.

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])

Tries to find where this edge crosses a curved chain.

public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections)

Parameters

chain GeoPolylineArc3

The curved chain.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolylineArc3, Tolerance), in the same order; empty when there are none.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoPolylineArc3 chain, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

chain GeoPolylineArc3

The curved chain.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolylineArc3, Tolerance), in the same order; empty when there are none.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a chain running straight from the origin to (100, 100, 0) at (35.36, 35.36, 0).

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])

Tries to find where this edge crosses a curved loop.

public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections)

Parameters

loop GeoPolygonArc3

The curved loop.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolygonArc3, Tolerance), in the same order; empty when there are none.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoPolygonArc3 loop, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

loop GeoPolygonArc3

The curved loop.

intersections GeoPoint3[]

The points of GetIntersections(GeoPolygonArc3, Tolerance), in the same order; empty when there are none.

tolerance Tolerance

The tolerance.

Returns

bool

Remarks

A bend of radius 50 about the origin, from (50, 0, 0) to (0, 50, 0), crosses a loop round the square 100 by 100 with a corner at the origin at (50, 0, 0) and (0, 50, 0).

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoSphere3, out GeoPoint3[])

Tries to find where this edge crosses the surface of a ball, using the default tolerance.

public bool TryIntersectWith(GeoSphere3 sphere, out GeoPoint3[] intersections)

Parameters

sphere GeoSphere3

The ball.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoSphere3, out GeoPoint3[], Tolerance)

Tries to find where this edge crosses the surface of a ball, within a tolerance.

public bool TryIntersectWith(GeoSphere3 sphere, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

sphere GeoSphere3

The ball.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoSpline3, out GeoPoint3[])

Tries to find where this edge meets a spline, using the default tolerance.

public bool TryIntersectWith(GeoSpline3 spline, out GeoPoint3[] intersections)

Parameters

spline GeoSpline3

The spline.

intersections GeoPoint3[]

The points when the method returns true; empty otherwise.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

TryIntersectWith(GeoSpline3, out GeoPoint3[], Tolerance)

Tries to find where this edge meets a spline, within a tolerance.

public bool TryIntersectWith(GeoSpline3 spline, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

spline GeoSpline3

The spline.

intersections GeoPoint3[]

The points when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

TryIntersectWith(GeoXLine3, out GeoPoint3[])

Tries to find where this edge crosses an infinite line, using the default tolerance.

public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections)

Parameters

xline GeoXLine3

The infinite line.

intersections GeoPoint3[]

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

Returns

bool

TryIntersectWith(GeoXLine3, out GeoPoint3[], Tolerance)

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

public bool TryIntersectWith(GeoXLine3 xline, out GeoPoint3[] intersections, Tolerance tolerance)

Parameters

xline GeoXLine3

The infinite line.

intersections GeoPoint3[]

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

tolerance Tolerance

The tolerance.

Returns

bool