mxcad API 文档 / MxNewMx3dShapeObject
Class: MxNewMx3dShapeObject
管理对象生命周期的基类
Hierarchy
↳
MxNewMx3dShapeObject
Table of contents
Constructors
Properties
Methods
- Explore
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Rotate
- Rotated
- Scale
- Scaled
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- clone
- common
- cut
- fuse
- getBndBox
- getImp
- initTempObject
- move
- moved
- section
- spliter
Constructors
constructor
• new MxNewMx3dShapeObject(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
MxNewMx3dBaseObject.constructor
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Explore
▸ Explore(ToFind
): MxNewMx3dShapeObject
[]
Parameters
Name | Type |
---|---|
ToFind | MxShapeEnum |
Returns
MirrorByAxis
▸ MirrorByAxis(axis
): void
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(csysr
): void
Parameters
Name | Type |
---|---|
csysr | MxNewMx3dGeCSYSR |
Returns
void
MirrorByPoint
▸ MirrorByPoint(theP
): void
Parameters
Name | Type |
---|---|
theP | MxNewMx3dGePoint |
Returns
void
MirroredByAxis
▸ MirroredByAxis(axis
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(csysr
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
csysr | MxNewMx3dGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(theP
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theP | MxNewMx3dGePoint |
Returns
Rotate
▸ Rotate(axis
, ang
): void
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
ang | number |
Returns
void
Rotated
▸ Rotated(axis
, ang
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
ang | number |
Returns
Scale
▸ Scale(point
, s
): void
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
s | number |
Returns
void
Scaled
▸ Scaled(point
, s
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
s | number |
Returns
Transform
▸ Transform(trsf
): void
Parameters
Name | Type |
---|---|
trsf | MxNewMx3dGeTrsf |
Returns
void
Transformed
▸ Transformed(trsf
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
trsf | MxNewMx3dGeTrsf |
Returns
TranslateBy2Points
▸ TranslateBy2Points(point1
, point2
): void
Parameters
Name | Type |
---|---|
point1 | MxNewMx3dGePoint |
point2 | MxNewMx3dGePoint |
Returns
void
TranslateByVec
▸ TranslateByVec(vec
): void
Parameters
Name | Type |
---|---|
vec | MxNewMx3dGeVec |
Returns
void
▸ TranslateByVec(theX
, theY
, theZ
): void
Parameters
Name | Type |
---|---|
theX | number |
theY | number |
theZ | number |
Returns
void
TranslatedBy2Points
▸ TranslatedBy2Points(point1
, point2
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
point1 | MxNewMx3dGePoint |
point2 | MxNewMx3dGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(vec
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
vec | MxNewMx3dGeVec |
Returns
▸ TranslatedByVec(theX
, theY
, theZ
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theX | number |
theY | number |
theZ | number |
Returns
clone
▸ clone(): MxNewMx3dShapeObject
Returns
common
▸ common(theOther
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dShapeObject |
Returns
cut
▸ cut(theOther
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dShapeObject |
Returns
fuse
▸ fuse(theOther
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dShapeObject |
Returns
getBndBox
▸ getBndBox(): MxNewMx3dGeBndBox
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
MxNewMx3dBaseObject.initTempObject
move
▸ move(theLocation
): void
Parameters
Name | Type |
---|---|
theLocation | MxNewMx3dGeLocation |
Returns
void
moved
▸ moved(theLocation
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theLocation | MxNewMx3dGeLocation |
Returns
section
▸ section(theOther
): MxNewMx3dShapeObject
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dShapeObject |
Returns
spliter
▸ spliter(theTools
): MxNewMx3dShapeObject
[]
Parameters
Name | Type |
---|---|
theTools | MxNewMx3dShapeObject [] |