Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoLine3, out GeoPoint3[])

Tries to find where this chain crosses a segment.

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

Parameters

line GeoLine3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance)

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

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

Parameters

line GeoLine3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoRay3, out GeoPoint3[])

Tries to find where this chain crosses a ray.

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

Parameters

ray GeoRay3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)

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

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

Parameters

ray GeoRay3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])

Tries to find where this chain crosses a curved chain.

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

Parameters

other GeoPolylineArc3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)

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

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

Parameters

other GeoPolylineArc3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])

Tries to find where this chain crosses a curved loop.

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

Parameters

other GeoPolygonArc3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)

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

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

Parameters

other GeoPolygonArc3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolyline3, out GeoPoint3[])

Tries to find where this chain crosses a straight chain.

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

Parameters

other GeoPolyline3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)

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

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

Parameters

other GeoPolyline3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoEdge3, out GeoPoint3[])

Tries to find where an edge crosses this curved chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolylineArc3, out GeoPoint3[]).

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

Parameters

edge GeoEdge3

The edge.

intersections GeoPoint3[]

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

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).

TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)

Tries to find where an edge crosses this curved chain, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance).

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

Parameters

edge GeoEdge3

The edge.

intersections GeoPoint3[]

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

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).

TryIntersectWith(GeoSphere3, out GeoPoint3[])

Tries to find where this curved chain 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 curved chain 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 curved chain 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 curved chain 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 curved chain 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 curved chain 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