mxcad API 文档 / MdGeAxis
Class: MdGeAxis
表示一个轴
Hierarchy
↳
MdGeAxis
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new MdGeAxis(p1?
, p2?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGePoint |
p2? | MdGeDir |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Direction
▸ Direction(): MdGeDir
Returns
Location
▸ Location(): MdGePoint
Returns
SetDirection
▸ SetDirection(dir
): void
Parameters
Name | Type |
---|---|
dir | MdGeDir |
Returns
void
SetLocation
▸ SetLocation(loc
): void
Parameters
Name | Type |
---|---|
loc | MdGePoint |
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void