AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
Vector/point with three Real elements. 更多...
Public 成员函数 | |
Vector3 () | |
Vector3 (Real x, Real y, Real z) | |
Real | Distance (Vector3^ p2) |
Real | Normalize () |
Real | Length () |
Vector3^ | CrossProduct (Vector3^ vec) |
Real | AngleBetween (Vector3^ vec) |
virtual System::String^ | ToString () override |
静态 Public 成员函数 | |
static Vector3^ | operator+ (Vector3^ lhs, Vector3^ rhs) |
static Vector3^ | operator- (Vector3^ lhs, Vector3^ rhs) |
static Vector3^ | operator* (Vector3^ vec, Real len) |
static Vector3^ | operator- (Vector3^ lhs) |
静态 Public 属性 | |
static const Vector3^ | ZERO = gcnew Vector3(0,0,0) |
static const Vector3^ | UNIT_X = gcnew Vector3(1,0,0) |
static const Vector3^ | UNIT_Y = gcnew Vector3(0,1,0) |
static const Vector3^ | UNIT_Z = gcnew Vector3(0,0,1) |
static const Vector3^ | UNIT_SCALE = gcnew Vector3(1,1,1) |
属性 | |
Real | X [get, set] |
Real | Y [get, set] |
Real | Z [get, set] |
Vector/point with three Real elements.
AnyCAD::Platform::Vector3::Vector3 | ( | ) |
Zero.
AnyCAD::Platform::Vector3::Vector3 | ( | Real | x, |
Real | y, | ||
Real | z | ||
) |
Specify x, y, z.
|
getset |
X
|
getset |
Y
|
getset |
Z