Table of Contents

Method TryIntersectWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryIntersectWith(GeoLine3, out GeoPoint3)

Tries to find the single point where this segment meets another segment, using the default tolerance.

public bool TryIntersectWith(GeoLine3 other, out GeoPoint3 intersection)

Parameters

other GeoLine3
intersection GeoPoint3

Returns

bool

TryIntersectWith(GeoLine3, out GeoPoint3, Tolerance)

Tries to find the single point where this segment meets another segment, within a tolerance.

public bool TryIntersectWith(GeoLine3 other, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

other GeoLine3
intersection GeoPoint3
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoLine3, LineExtension, out GeoPoint3)

Tries to find the single point where this segment meets another, reading this one, the other or both as the infinite line carrying it, using the default tolerance.

public bool TryIntersectWith(GeoLine3 other, LineExtension extension, out GeoPoint3 intersection)

Parameters

other GeoLine3

The other segment.

extension LineExtension

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

intersection GeoPoint3

The crossing point when the method returns true.

Returns

bool

TryIntersectWith(GeoLine3, LineExtension, out GeoPoint3, Tolerance)

Tries to find the single point where this segment meets another, reading this one, the other or both as the infinite line carrying it, within a tolerance.

public bool TryIntersectWith(GeoLine3 other, LineExtension extension, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

other GeoLine3

The other segment.

extension LineExtension

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

intersection GeoPoint3

The crossing point when the method returns true.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPlane3, out GeoPoint3)

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

public bool TryIntersectWith(GeoPlane3 plane, out GeoPoint3 intersection)

Parameters

plane GeoPlane3
intersection GeoPoint3

Returns

bool

TryIntersectWith(GeoPlane3, out GeoPoint3, Tolerance)

Tries to find the point where this segment crosses a plane, within a tolerance.

public bool TryIntersectWith(GeoPlane3 plane, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

plane GeoPlane3
intersection GeoPoint3
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoTriangle3, out GeoPoint3)

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

public bool TryIntersectWith(GeoTriangle3 triangle, out GeoPoint3 intersection)

Parameters

triangle GeoTriangle3
intersection GeoPoint3

Returns

bool

TryIntersectWith(GeoTriangle3, out GeoPoint3, Tolerance)

Tries to find the point where this segment crosses a triangle, within a tolerance.

public bool TryIntersectWith(GeoTriangle3 triangle, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

triangle GeoTriangle3
intersection GeoPoint3
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoFace3, out GeoPoint3)

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

public bool TryIntersectWith(GeoFace3 face, out GeoPoint3 intersection)

Parameters

face GeoFace3

The face.

intersection GeoPoint3

The crossing point when the method returns true.

Returns

bool

TryIntersectWith(GeoFace3, out GeoPoint3, Tolerance)

Tries to find the point where this segment crosses a face, within a tolerance.

public bool TryIntersectWith(GeoFace3 face, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

face GeoFace3

The face.

intersection GeoPoint3

The crossing point when the method returns true.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoPolygon3, out GeoPoint3)

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

public bool TryIntersectWith(GeoPolygon3 polygon, out GeoPoint3 intersection)

Parameters

polygon GeoPolygon3

The polygon.

intersection GeoPoint3

The crossing point when the method returns true.

Returns

bool

TryIntersectWith(GeoPolygon3, out GeoPoint3, Tolerance)

Tries to find the point where this segment crosses a polygon, within a tolerance.

public bool TryIntersectWith(GeoPolygon3 polygon, out GeoPoint3 intersection, Tolerance tolerance)

Parameters

polygon GeoPolygon3

The polygon.

intersection GeoPoint3

The crossing point when the method returns true.

tolerance Tolerance

The tolerance.

Returns

bool

TryIntersectWith(GeoArc3, out GeoPoint3[])

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

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 an arc crosses this segment, 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 a circle crosses this segment, using the default tolerance.

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 a circle crosses this segment, 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(GeoRay3, out GeoPoint3[])

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

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

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

Parameters

edge GeoEdge3
intersections GeoPoint3[]

Returns

bool

TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)

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

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

Parameters

edge GeoEdge3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[])

Tries to find where this segment crosses a curved loop: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).

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

Parameters

loop GeoPolygonArc3
intersections GeoPoint3[]

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoPolygonArc3, out GeoPoint3[], Tolerance)

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

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

Parameters

loop GeoPolygonArc3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

TryIntersectWith(GeoPolyline3, out GeoPoint3[])

Tries to find where this segment crosses a straight chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoLine3, out GeoPoint3[]).

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

Parameters

polyline GeoPolyline3
intersections GeoPoint3[]

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)

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

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

Parameters

polyline GeoPolyline3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[])

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

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

Parameters

chain GeoPolylineArc3
intersections GeoPoint3[]

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoPolylineArc3, out GeoPoint3[], Tolerance)

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

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

Parameters

chain GeoPolylineArc3
intersections GeoPoint3[]
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

TryIntersectWith(GeoSphere3, out GeoPoint3[])

Tries to find where this segment 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 segment 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 line segment 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 line segment 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 line segment 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 point when the method returns true; empty otherwise.

Returns

bool

TryIntersectWith(GeoXLine3, out GeoPoint3[], Tolerance)

Tries to find where this line segment 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 point when the method returns true; empty otherwise.

tolerance Tolerance

The tolerance.

Returns

bool