InsertSpline Method (ISketchManager)

InsertSpline Method (ISketchManager) | Send Feedback
See Also Example

Spline[out]
  Spline

CoordinateDblArray
  Array of doubles of the coordinates of the control and fit points of the Spline

Closed
  True if closed, false if open

StartTangencyX
  x coordinate of tangency vector at the Spline's starting vertex

StartTangencyY
  y coordinate of tangency vector at the Spline's starting vertex

StartTangencyZ
  z coordinate of tangency vector at the Spline's starting vertex

EndTangencyX
  x coordinate of tangency vector at the Spline's ending vertex

EndTangencyY
  y coordinate of tangency vector at the Spline's ending vertex

EndTangencyZ
  z coordinate of tangency vector at the Spline's ending vertex

Constructs a Spline.

# Syntax

Visual Basic |
--- | ---
    Function InsertSpline( _
       ByVal CoordinateDblArray As System.Object, _
       ByVal Closed As System.Boolean, _
       ByVal StartTangencyX As System.Double, _
       ByVal StartTangencyY As System.Double, _
       ByVal StartTangencyZ As System.Double, _
       ByVal EndTangencyX As System.Double, _
       ByVal EndTangencyY As System.Double, _
       ByVal EndTangencyZ As System.Double _
    ) As Spline

C# |
--- | ---
    Spline InsertSpline(
       System.object CoordinateDblArray,
       System.bool Closed,
       System.double StartTangencyX,
       System.double StartTangencyY,
       System.double StartTangencyZ,
       System.double EndTangencyX,
       System.double EndTangencyY,
       System.double EndTangencyZ
    )

JavaScript |
--- | ---
    InsertSpline(
       CoordinateDblArray : Array,
       Closed : Boolean,
       StartTangencyX : Number,
       StartTangencyY : Number,
       StartTangencyZ : Number,
       EndTangencyX : Number,
       EndTangencyY : Number,
       EndTangencyZ : Number
    ) : dsSpline

COM native C++ |
--- | ---
    HRESULT InsertSpline(
       VARIANT CoordinateDblArray,
       VARIANT_BOOL Closed,
       DOUBLE StartTangencyX,
       DOUBLE StartTangencyY,
       DOUBLE StartTangencyZ,
       DOUBLE EndTangencyX,
       DOUBLE EndTangencyY,
       DOUBLE EndTangencyZ,
       ISpline** Spline
    )

C++ |
--- | ---
    DSRESULT InsertSpline(
       const dsDoubleArray& CoordinateDblArray,
       bool Closed,
       double StartTangencyX,
       double StartTangencyY,
       double StartTangencyZ,
       double EndTangencyX,
       double EndTangencyY,
       double EndTangencyZ,
       dsSpline** Spline
    )

#### Parameters

CoordinateDblArray
  Array of doubles of the coordinates of the control and fit points of the Spline
Closed
  True if closed, false if open
StartTangencyX
  x coordinate of tangency vector at the Spline's starting vertex
StartTangencyY
  y coordinate of tangency vector at the Spline's starting vertex
StartTangencyZ
  z coordinate of tangency vector at the Spline's starting vertex
EndTangencyX
  x coordinate of tangency vector at the Spline's ending vertex
EndTangencyY
  y coordinate of tangency vector at the Spline's ending vertex
EndTangencyZ
  z coordinate of tangency vector at the Spline's ending vertex
Spline[out] or Return Value
  Spline

# Example

Insert Splines (JavaScript)
Insert Splines (C#)
Insert Splines (VB.NET)
Insert Splines (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.3