Skip to content

mxcad_3d API 文档 / Mx3dGeAxis

Class: Mx3dGeAxis ​

表示一个轴

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dGeAxis()

默认构造

Overrides ​

Mx3dGeObject.constructor

• new Mx3dGeAxis(theLoc, theDir)

构造函数

Parameters ​

NameTypeDescription
theLocUniPoint轴的原点
theDirUniDir轴的方向

Overrides ​

Mx3dGeObject.constructor

Methods ​

Direction ​

▸ Direction(): Mx3dGeDir

获取轴的方向

Returns ​

Mx3dGeDir

方向


Location ​

▸ Location(): Mx3dGePoint

获取轴的原点

Returns ​

Mx3dGePoint

原点


SetDirection ​

▸ SetDirection(theDir): void

设置轴的方向

Parameters ​

NameTypeDescription
theDirMx3dGeDir方向

Returns ​

void


SetLocation ​

▸ SetLocation(theLoc): void

设置轴的原点

Parameters ​

NameTypeDescription
theLocUniPoint原点

Returns ​

void