SetFitPointCoordinate Method (ISpline)

SetFitPointCoordinate Method (ISpline) | Send Feedback
See Also

Success[out]
  True if successful, false if not

Index
  Index of the fit point (see Remarks)

X
  x coordinate of the fit point

Y
  y coordinate of the fit point

Z
  z coordinate of the fit point

Sets the coordinates of a fit point of the Spline.

# Syntax

Visual Basic |
--- | ---
    Function SetFitPointCoordinate( _
       ByVal Index As System.Integer, _
       ByVal X As System.Double, _
       ByVal Y As System.Double, _
       ByVal Z As System.Double _
    ) As System.Boolean

C# |
--- | ---
    System.bool SetFitPointCoordinate(
       System.int Index,
       System.double X,
       System.double Y,
       System.double Z
    )

JavaScript |
--- | ---
    SetFitPointCoordinate(
       Index : Number,
       X : Number,
       Y : Number,
       Z : Number
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT SetFitPointCoordinate(
       LONG Index,
       DOUBLE X,
       DOUBLE Y,
       DOUBLE Z,
       VARIANT_BOOL* Success
    )

C++ |
--- | ---
    DSRESULT SetFitPointCoordinate(
       long Index,
       double X,
       double Y,
       double Z,
       bool* Success
    )

#### Parameters

Index
  Index of the fit point (see Remarks)
X
  x coordinate of the fit point
Y
  y coordinate of the fit point
Z
  z coordinate of the fit point
Success[out] or Return Value
  True if successful, false if not

# Remarks

Before calling this method, call ISpline::GetFitPointsCount to determine a valid value for Index.

# See Also

####

ISpline Interface
ISpline Members
ISpline::GetFitPointCoordinate Method

# Availability

DraftSight V1R1.3