CreateVector Method (IMathUtility)
Creates a unit vector with the specified coordinates.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateVector( _
DOUBLE X As System.Double, _
DOUBLE Y As System.Double, _
DOUBLE 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,\n) : 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
Parameters
- Vector[out] or Return Value
- IMathVector
Example
Rotate, Scale, Project, and Mirror a Line Entity (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (VB.NET)
Rotate, Scale, Project, and Mirror a Line Entity (C#)
Rotate, Scale, Project, and Mirror a Line Entity (VBA)
See Also
Availability
DraftSight V1R1.4