工作平面 更多...
#include <APIWorkingPlane.h>
Public 成员函数 | |
Vector3 | GetPosition () const |
void | SetPosition (const Vector3 &pos) |
void | SetDirection (const Vector3 &dir) |
Vector3 | GetDirection () const |
Vector3 | GetXDirection () const |
Vector3 | GetYDirection () const |
void | SetCoordinate (const Coordinate3 &coord) |
GridNode | GetGridNode () const |
void | SetGridNode (const GridNode &node) |
工作平面
工作平面信息。
Vector3 AnyCAD::API::WorkingPlane::GetDirection | ( | ) | const |
获取方向。
Vector3 AnyCAD::API::WorkingPlane::GetPosition | ( | ) | const |
获取位置。
Vector3 AnyCAD::API::WorkingPlane::GetXDirection | ( | ) | const |
获取局部坐标系的X方向。
Vector3 AnyCAD::API::WorkingPlane::GetYDirection | ( | ) | const |
获取局部坐标系的Y方向。
void AnyCAD::API::WorkingPlane::SetCoordinate | ( | const Coordinate3 & | coord | ) |
设置平面的局部坐标系
coord | 坐标系. |
void AnyCAD::API::WorkingPlane::SetDirection | ( | const Vector3 & | dir | ) |
设置平面方向。
dir | 方向。 |
void AnyCAD::API::WorkingPlane::SetPosition | ( | const Vector3 & | pos | ) |
设置平面所在的位置。
pos | 坐标。 |