mxcad API 文档 / 3d / MdGeTrsf
Class: MdGeTrsf
3d.MdGeTrsf
表示一个变换
Hierarchy
↳
MdGeTrsf
Table of contents
Constructors
Properties
Methods
- Invert
- Inverted
- IsNegative
- Multiplied
- Multiply
- Power
- Powered
- PreMultiply
- ScaleFactor
- SetMirrorByAxis
- SetMirrorByCSYSR
- SetMirrorByPoint
- SetRotation
- SetScale
- SetScaleFactor
- SetTranslationBy2Points
- SetTranslationByVec
- SetTranslationPart
- SetValues
- Transforms
- Value
- getImp
- initTempObject
Constructors
constructor
• new MdGeTrsf(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Invert
▸ Invert(): void
Returns
void
Inverted
▸ Inverted(): MdGeTrsf
Returns
IsNegative
▸ IsNegative(): number
Returns
number
Multiplied
▸ Multiplied(t
): MdGeTrsf
Parameters
Name | Type |
---|---|
t | MdGeTrsf |
Returns
Multiply
▸ Multiply(t
): void
Parameters
Name | Type |
---|---|
t | MdGeTrsf |
Returns
void
Power
▸ Power(n
): void
Parameters
Name | Type |
---|---|
n | number |
Returns
void
Powered
▸ Powered(n
): MdGeTrsf
Parameters
Name | Type |
---|---|
n | number |
Returns
PreMultiply
▸ PreMultiply(t
): void
Parameters
Name | Type |
---|---|
t | MdGeTrsf |
Returns
void
ScaleFactor
▸ ScaleFactor(): number
Returns
number
SetMirrorByAxis
▸ SetMirrorByAxis(axis
): void
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
Returns
void
SetMirrorByCSYSR
▸ SetMirrorByCSYSR(csysr
): void
Parameters
Name | Type |
---|---|
csysr | MdGeCSYSR |
Returns
void
SetMirrorByPoint
▸ SetMirrorByPoint(point
): void
Parameters
Name | Type |
---|---|
point | MdGePoint |
Returns
void
SetRotation
▸ SetRotation(axis
, ang
): void
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
ang | number |
Returns
void
SetScale
▸ SetScale(point
, s
): void
Parameters
Name | Type |
---|---|
point | MdGePoint |
s | number |
Returns
void
SetScaleFactor
▸ SetScaleFactor(s
): void
Parameters
Name | Type |
---|---|
s | number |
Returns
void
SetTranslationBy2Points
▸ SetTranslationBy2Points(point1
, point2
): void
Parameters
Name | Type |
---|---|
point1 | MdGePoint |
point2 | MdGePoint |
Returns
void
SetTranslationByVec
▸ SetTranslationByVec(vec
): void
Parameters
Name | Type |
---|---|
vec | MdGeVec |
Returns
void
SetTranslationPart
▸ SetTranslationPart(vec
): void
Parameters
Name | Type |
---|---|
vec | MdGeVec |
Returns
void
SetValues
▸ SetValues(a11
, a12
, a13
, a14
, a21
, a22
, a23
, a24
, a31
, a32
, a33
, a34
): void
Parameters
Name | Type |
---|---|
a11 | number |
a12 | number |
a13 | number |
a14 | number |
a21 | number |
a22 | number |
a23 | number |
a24 | number |
a31 | number |
a32 | number |
a33 | number |
a34 | number |
Returns
void
Transforms
▸ Transforms(x
, y
, z
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
z | number |
Returns
void
Value
▸ Value(row
, col
): number
Parameters
Name | Type |
---|---|
row | number |
col | number |
Returns
number
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void