This document is archived and information here might be outdated. Recommended version. |
Set the values of the vector's components.
[Visual Basic .NET] Public Sub SetComponents ( _ ByVal dx As Double, _ ByVal dy As Double, _ ByVal dz As Double _ )
[C#] public void SetComponents ( double dx, double dy, double dz );
[C++]
HRESULT SetComponents(
double dx,
double dy,
double dz
);
[C++]
Parameters dx
dx is a parameter of type double dy
dy is a parameter of type double dz
dz is a parameter of type double
Sets the X Component, Y Component, and Z Component of the 3 Dimensional vector.
public IVector3D CreateVector3D(double x, double y, double z)
{
IVector3D vector3D=new Vector3DClass();
vector3D.SetComponents(x, y, z);
return vector3D;
}