Skip to content
On this page

mxcad API 文档 / MdGeAxis

Class: MdGeAxis

表示一个轴

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeAxis(p1?, p2?)

Parameters

NameType
p1?object | MdGePoint
p2?MdGeDir

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Direction

Direction(): MdGeDir

Returns

MdGeDir


Location

Location(): MdGePoint

Returns

MdGePoint


SetDirection

SetDirection(dir): void

Parameters

NameType
dirMdGeDir

Returns

void


SetLocation

SetLocation(loc): void

Parameters

NameType
locMdGePoint

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject