mxcad_3d API 文档 / Mx3dMkCylinder
Class: Mx3dMkCylinder 
表示建模圆柱的类,继承自 Mx3dMkObject
Hierarchy 
- ↳ - Mx3dMkCylinder
Table of contents 
Constructors 
Methods 
Constructors 
constructor 
• new Mx3dMkCylinder(Axes, R, H, Angle?)
构造函数,接受圆柱的坐标系、半径、高度,以及可选的角度参数。
Parameters 
| Name | Type | Description | 
|---|---|---|
| Axes | Mx3dGeCSYSR | 坐标系对象。 | 
| R | number | 半径。 | 
| H | number | 高度。 | 
| Angle? | number | (可选)角度。 | 
Overrides 
Mx3dMkObject.constructor
Methods 
Build 
▸ Build(): void
执行圆柱的建模算法。
Returns 
void
Face 
▸ Face(): Mx3dShapeFace
获取圆柱的拓扑面形状。
Returns 
拓扑面形状。
IsDone 
▸ IsDone(): boolean
检查建模算法是否执行完成。
Returns 
boolean
建模算法执行是否完成的标志,true 完成,false 失败。
Shape 
▸ Shape(): Mx3dShapeObject
获取圆柱的拓扑形状。
Returns 
拓扑形状。
Shell 
▸ Shell(): Mx3dShapeShell
获取圆柱的拓扑外壳形状。
Returns 
拓扑壳形状。
Solid 
▸ Solid(): Mx3dShapeSolid
获取圆柱的拓扑实体形状。
Returns 
拓扑实体形状。