AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 静态 Public 成员函数 | 静态 Public 属性 | 属性 | 所有成员列表
AnyCAD::Platform::Vector3类 参考

Vector/point with three Real elements. 更多...

Public 成员函数

 Vector3 ()
 
 Vector3 (Real x, Real y, Real z)
 
Real Distance (Vector3^ p2)
 
Real Normalize ()
 
Real Length ()
 
Vector3CrossProduct (Vector3^ vec)
 
Real AngleBetween (Vector3^ vec)
 
virtual System::String^ ToString () override
 

静态 Public 成员函数

static Vector3operator+ (Vector3^ lhs, Vector3^ rhs)
 
static Vector3operator- (Vector3^ lhs, Vector3^ rhs)
 
static Vector3operator* (Vector3^ vec, Real len)
 
static Vector3operator- (Vector3^ lhs)
 

静态 Public 属性

static const Vector3ZERO = gcnew Vector3(0,0,0)
 
static const Vector3UNIT_X = gcnew Vector3(1,0,0)
 
static const Vector3UNIT_Y = gcnew Vector3(0,1,0)
 
static const Vector3UNIT_Z = gcnew Vector3(0,0,1)
 
static const Vector3UNIT_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

构造及析构函数说明

AnyCAD::Platform::Vector3::Vector3 ( )

Zero.

AnyCAD::Platform::Vector3::Vector3 ( Real  x,
Real  y,
Real  z 
)

Specify x, y, z.

属性说明

Real AnyCAD::Platform::Vector3::X
getset

X

Real AnyCAD::Platform::Vector3::Y
getset

Y

Real AnyCAD::Platform::Vector3::Z
getset

Z


该类的文档由以下文件生成: