Skip to content
On this page

mxcad API 文档 / 3d / MdGeTrsf

Class: MdGeTrsf

3d.MdGeTrsf

表示一个变换

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeTrsf(p?)

Parameters

NameType
p?object

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Invert

Invert(): void

Returns

void


Inverted

Inverted(): MdGeTrsf

Returns

MdGeTrsf


IsNegative

IsNegative(): number

Returns

number


Multiplied

Multiplied(t): MdGeTrsf

Parameters

NameType
tMdGeTrsf

Returns

MdGeTrsf


Multiply

Multiply(t): void

Parameters

NameType
tMdGeTrsf

Returns

void


Power

Power(n): void

Parameters

NameType
nnumber

Returns

void


Powered

Powered(n): MdGeTrsf

Parameters

NameType
nnumber

Returns

MdGeTrsf


PreMultiply

PreMultiply(t): void

Parameters

NameType
tMdGeTrsf

Returns

void


ScaleFactor

ScaleFactor(): number

Returns

number


SetMirrorByAxis

SetMirrorByAxis(axis): void

Parameters

NameType
axisMdGeAxis

Returns

void


SetMirrorByCSYSR

SetMirrorByCSYSR(csysr): void

Parameters

NameType
csysrMdGeCSYSR

Returns

void


SetMirrorByPoint

SetMirrorByPoint(point): void

Parameters

NameType
pointMdGePoint

Returns

void


SetRotation

SetRotation(axis, ang): void

Parameters

NameType
axisMdGeAxis
angnumber

Returns

void


SetScale

SetScale(point, s): void

Parameters

NameType
pointMdGePoint
snumber

Returns

void


SetScaleFactor

SetScaleFactor(s): void

Parameters

NameType
snumber

Returns

void


SetTranslationBy2Points

SetTranslationBy2Points(point1, point2): void

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

void


SetTranslationByVec

SetTranslationByVec(vec): void

Parameters

NameType
vecMdGeVec

Returns

void


SetTranslationPart

SetTranslationPart(vec): void

Parameters

NameType
vecMdGeVec

Returns

void


SetValues

SetValues(a11, a12, a13, a14, a21, a22, a23, a24, a31, a32, a33, a34): void

Parameters

NameType
a11number
a12number
a13number
a14number
a21number
a22number
a23number
a24number
a31number
a32number
a33number
a34number

Returns

void


Transforms

Transforms(x, y, z): void

Parameters

NameType
xnumber
ynumber
znumber

Returns

void


Value

Value(row, col): number

Parameters

NameType
rownumber
colnumber

Returns

number


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject