In This Topic
Traces two lines in 3D.
x0(s) = p0 + s * t0
x1(t) = p1 + t * t1
Syntax
'Declaration
Public Shared Function Intersect3DLines( _
ByVal As Point3D, _
ByVal As Vector3D, _
ByVal As Point3D, _
ByVal As Vector3D, _
ByRef As Double, _
ByRef As Double, _
ByRef As Point3D _
) As Integer
public static int Intersect3DLines(
Point3D ,
Vector3D ,
Point3D ,
Vector3D ,
out double ,
out double ,
out Point3D
)
Parameters
- p0
- Point on the first line
- t0
- First line direction
- p1
- Point on the second line
- t1
- Second line direction
- s
- Value of s at the intersection
- t
- Value of t at the intersection
- i
- Intersection point, x0(s) = i = x1(t)
See Also