Utility.Intersect3DLines Method

Traces two lines in 3D. x0(s) = p0 + s * t0 x1(t) = p1 + t * t1
Public Shared Function Intersect3DLines( _ 
ByVal p0 As Point3D, _ 
ByVal t0 As Vector3D, _ 
ByVal p1 As Point3D, _ 
ByVal t1 As Vector3D, _ 
ByRef s As Double, _ 
ByRef t As Double, _ 
ByRef i As Point3D
) As Integer
This language is not supported or no code example is available.
public static int Intersect3DLines( 
Point3D p0
Vector3D t0
Point3D p1
Vector3D t1
out double s
out double t
out Point3D i 
)
This language is not supported or no code example is available.

Parameters

p0
Point3D

Point on the first line

t0
Vector3D

First line direction

p1
Point3D

Point on the second line

t1
Vector3D

Second line direction

s
double

Value of s at the intersection

t
double

Value of t at the intersection

i
Point3D

Intersection point, x0(s) = i = x1(t)

Return Value

int

.NET Framework

Supported in: 4.8

In this article

Definition