Autodesk.AutoCAD.Geometry Namespace > LineSegment3d Class > LineSegment3d Methods > Set Method > Set(Curve3d, Curve3d, double, double) Method
LineSegment3d.Set(Curve3d, Curve3d, double, double) Method
Description

 

Changes the definition of the line segment so that the line segment is tangent to the two input curves. On input, parameter1 and parameter2 are assumed to contain initial guess values to the parameters of the two tangent points. The output parameter success is set to true if the line segment was computed successfully.

Visual Basic
Public Function Set(
    curve1 As Curve3d, 
    curve2 As Curve3d, 
    parameter1 As double, 
    parameter2 As double
) As void
C#
public void Set(
    Curve3d curve1, 
    Curve3d curve2, 
    double parameter1, 
    double parameter2
);
Parameters
Parameters 
Description 
Curve3d curve1 
Input any 3D curve 
Curve3d curve2 
Input any 3D curve 
double parameter1 
Input point on curve1 where line segment is tangent to curve 
double parameter2 
Input point on curve2 where line segment is tangent to curve 
Links
   Comments?