mxcad API 文档 / 3d / MdGeRect
Class: MdGeRect
3d.MdGeRect
表示一个矩形
Hierarchy
↳
MdGeRect
Table of contents
Constructors
Properties
Methods
- Area
- BottomEdge
- Face
- LeftEdge
- Position
- RightEdge
- SetPosition
- SetX
- SetY
- Shape
- TopEdge
- Wire
- X
- Y
- getImp
- initTempObject
Constructors
constructor
• new MdGeRect(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeCSYSR |
p2? | number |
p3? | number |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Area
▸ Area(): number
Returns
number
BottomEdge
▸ BottomEdge(): MdGeEdge
Returns
Face
▸ Face(): MdGeFace
Returns
LeftEdge
▸ LeftEdge(): MdGeEdge
Returns
Position
▸ Position(): MdGeCSYSR
Returns
RightEdge
▸ RightEdge(): MdGeEdge
Returns
SetPosition
▸ SetPosition(thePosition
): void
Parameters
Name | Type |
---|---|
thePosition | MdGeCSYSR |
Returns
void
SetX
▸ SetX(theX
): void
Parameters
Name | Type |
---|---|
theX | number |
Returns
void
SetY
▸ SetY(theY
): void
Parameters
Name | Type |
---|---|
theY | number |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
TopEdge
▸ TopEdge(): MdGeEdge
Returns
Wire
▸ Wire(): MdGeWire
Returns
X
▸ X(): number
Returns
number
Y
▸ Y(): number
Returns
number
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void