CreateVector Method (IMathUtility) Send Feedback
See Also  Example
Vector[out]
IMathVector
X
x coordinate
Y
y coordinate
Z
z coordinate
Creates a unit vector with the specified coordinates.

Syntax

Visual Basic 
Function CreateVector( _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) As MathVector
C# 
MathVector CreateVector( 
   System.double X,
   System.double Y,
   System.double Z
)
JavaScript 
CreateVector( 
   X : Number,
   Y : Number,
   Z : Number
) : dsMathVector
COM native C++ 
HRESULT CreateVector( 
   DOUBLE X,
   DOUBLE Y,
   DOUBLE Z,
   IMathVector** Vector
) 
C++ 
DSRESULT CreateVector( 
   double X,
   double Y,
   double Z,
   dsMathVector** Vector
) 

Parameters

X
x coordinate
Y
y coordinate
Z
z coordinate
Vector[out] or Return Value
IMathVector

Example

 

See Also

Availability

DraftSight V1R1.4