GetFitPointCoordinate Method (ISpline) Send Feedback
See Also 
Success[out]
True if successful, false if not
Index
Index of the fit point (see Remarks)
X[out]
x coordinate of the fit point
Y[out]
y coordinate of the fit point
Z[out]
z coordinate of the fit point
Gets the coordinates of the specified fit point of the Spline.

Syntax

Visual Basic 
Function GetFitPointCoordinate( _
   ByVal Index As System.Integer, _
   ByRef X As System.Double, _
   ByRef Y As System.Double, _
   ByRef Z As System.Double _
) As System.Boolean
C# 
System.bool GetFitPointCoordinate( 
   System.int Index,
   out System.double X,
   out System.double Y,
   out System.double Z
)
JavaScript 
GetFitPointCoordinate( 
   Index : Number
) : {
   X : Number,
   Y : Number,
   Z : Number,
   Success : Boolean
}
COM native C++ 
HRESULT GetFitPointCoordinate( 
   LONG Index,
   DOUBLE* X,
   DOUBLE* Y,
   DOUBLE* Z,
   VARIANT_BOOL* Success
) 
C++ 
DSRESULT GetFitPointCoordinate( 
   long Index,
   double* X,
   double* Y,
   double* Z,
   bool* Success
) 

Parameters

Index
Index of the fit point (see Remarks)
X[out]
x coordinate of the fit point
Y[out]
y coordinate of the fit point
Z[out]
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

Availability

DraftSight V1R1.3