Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / Intersect3DLines Method
Point on the first line
First line direction
Point on the second line
Second line direction
Value of s at the intersection
Value of t at the intersection
Intersection point, x0(s) = i = x1(t)

In This Topic
    Intersect3DLines Method
    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 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
    public static int Intersect3DLines( 
       Point3D p0,
       Vector3D t0,
       Point3D p1,
       Vector3D t1,
       out double s,
       out double t,
       out Point3D i
    )

    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