Header menu logo Euclid

XRay Type

Describes the possible relationships of two rays (rays are 3D lines extended infinitely in both directions). Returns the intersection or closest point if they intersect or are skew.

Union cases

Union case Description

Intersect xPt

Full Usage: Intersect xPt

Parameters:

The rays (3d-lines extended infinitely) are intersecting in one well defined point (coplanar case).

xPt : Pnt

Parallel

Full Usage: Parallel

The lines are parallel, within the given tolerance. They have infinity many or no points in common.

Skew(closestPtA, closestPtB, squareDist)

Full Usage: Skew(closestPtA, closestPtB, squareDist)

Parameters:
    closestPtA : Pnt
    closestPtB : Pnt
    squareDist : float

The rays are skew (not parallel, not intersecting). Contains the closest points on both rays and the squared distance between them.

closestPtA : Pnt
closestPtB : Pnt
squareDist : float

TooShortA

Full Usage: TooShortA

Only Line A is shorter than the given minimum length tolerance.

TooShortB

Full Usage: TooShortB

Only Line B is shorter than the given minimum length tolerance.

TooShortBoth

Full Usage: TooShortBoth

Both Lines are shorter than the given minimum length tolerance.

Instance members

Instance member Description

this.IsIntersect

Full Usage: this.IsIntersect

Returns: bool
Returns: bool

this.IsParallel

Full Usage: this.IsParallel

Returns: bool
Returns: bool

this.IsSkew

Full Usage: this.IsSkew

Returns: bool
Returns: bool

this.IsTooShortA

Full Usage: this.IsTooShortA

Returns: bool
Returns: bool

this.IsTooShortB

Full Usage: this.IsTooShortB

Returns: bool
Returns: bool

this.IsTooShortBoth

Full Usage: this.IsTooShortBoth

Returns: bool
Returns: bool

Type something to start searching.