Skip to content
On this page

mxcad API 文档 / 3d / MxNewMx3dShapeObject

Class: MxNewMx3dShapeObject

3d.MxNewMx3dShapeObject

管理对象生命周期的基类

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dShapeObject(p?)

Parameters

NameType
p?object

Overrides

MxNewMx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MxNewMx3dBaseObject.imp

Methods

Explore

Explore(ToFind): MxNewMx3dShapeObject[]

Parameters

NameType
ToFindMxShapeEnum

Returns

MxNewMx3dShapeObject[]


MirrorByAxis

MirrorByAxis(axis): void

Parameters

NameType
axisMxNewMx3dGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(csysr): void

Parameters

NameType
csysrMxNewMx3dGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(theP): void

Parameters

NameType
thePMxNewMx3dGePoint

Returns

void


MirroredByAxis

MirroredByAxis(axis): MxNewMx3dShapeObject

Parameters

NameType
axisMxNewMx3dGeAxis

Returns

MxNewMx3dShapeObject


MirroredByCSYSR

MirroredByCSYSR(csysr): MxNewMx3dShapeObject

Parameters

NameType
csysrMxNewMx3dGeCSYSR

Returns

MxNewMx3dShapeObject


MirroredByPoint

MirroredByPoint(theP): MxNewMx3dShapeObject

Parameters

NameType
thePMxNewMx3dGePoint

Returns

MxNewMx3dShapeObject


Rotate

Rotate(axis, ang): void

Parameters

NameType
axisMxNewMx3dGeAxis
angnumber

Returns

void


Rotated

Rotated(axis, ang): MxNewMx3dShapeObject

Parameters

NameType
axisMxNewMx3dGeAxis
angnumber

Returns

MxNewMx3dShapeObject


Scale

Scale(point, s): void

Parameters

NameType
pointMxNewMx3dGePoint
snumber

Returns

void


Scaled

Scaled(point, s): MxNewMx3dShapeObject

Parameters

NameType
pointMxNewMx3dGePoint
snumber

Returns

MxNewMx3dShapeObject


Transform

Transform(trsf): void

Parameters

NameType
trsfMxNewMx3dGeTrsf

Returns

void


Transformed

Transformed(trsf): MxNewMx3dShapeObject

Parameters

NameType
trsfMxNewMx3dGeTrsf

Returns

MxNewMx3dShapeObject


TranslateBy2Points

TranslateBy2Points(point1, point2): void

Parameters

NameType
point1MxNewMx3dGePoint
point2MxNewMx3dGePoint

Returns

void


TranslateByVec

TranslateByVec(vec): void

Parameters

NameType
vecMxNewMx3dGeVec

Returns

void

TranslateByVec(theX, theY, theZ): void

Parameters

NameType
theXnumber
theYnumber
theZnumber

Returns

void


TranslatedBy2Points

TranslatedBy2Points(point1, point2): MxNewMx3dShapeObject

Parameters

NameType
point1MxNewMx3dGePoint
point2MxNewMx3dGePoint

Returns

MxNewMx3dShapeObject


TranslatedByVec

TranslatedByVec(vec): MxNewMx3dShapeObject

Parameters

NameType
vecMxNewMx3dGeVec

Returns

MxNewMx3dShapeObject

TranslatedByVec(theX, theY, theZ): MxNewMx3dShapeObject

Parameters

NameType
theXnumber
theYnumber
theZnumber

Returns

MxNewMx3dShapeObject


clone

clone(): MxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


common

common(theOther): MxNewMx3dShapeObject

Parameters

NameType
theOtherMxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


cut

cut(theOther): MxNewMx3dShapeObject

Parameters

NameType
theOtherMxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


fuse

fuse(theOther): MxNewMx3dShapeObject

Parameters

NameType
theOtherMxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


getBndBox

getBndBox(): MxNewMx3dGeBndBox

Returns

MxNewMx3dGeBndBox


getImp

getImp(): any

Returns

any

Inherited from

MxNewMx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MxNewMx3dBaseObject.initTempObject


move

move(theLocation): void

Parameters

NameType
theLocationMxNewMx3dGeLocation

Returns

void


moved

moved(theLocation): MxNewMx3dShapeObject

Parameters

NameType
theLocationMxNewMx3dGeLocation

Returns

MxNewMx3dShapeObject


section

section(theOther): MxNewMx3dShapeObject

Parameters

NameType
theOtherMxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


spliter

spliter(theTools): MxNewMx3dShapeObject[]

Parameters

NameType
theToolsMxNewMx3dShapeObject[]

Returns

MxNewMx3dShapeObject[]