mxcad API 文档 / MxNewMx3dGeDir
Class: MxNewMx3dGeDir
数学几何基类
Hierarchy
↳
MxNewMx3dGeDir
Table of contents
Constructors
Properties
Methods
- Angle
- AngleWithRef
- Cross
- CrossCross
- CrossCrossed
- Crossed
- Dot
- DotCross
- IsEqual
- IsNormal
- IsOpposite
- IsParallel
- MirrorByAxis
- MirrorByCSYSR
- MirrorByVec
- MirroredByAxis
- MirroredByCSYSR
- MirroredByVec
- Reverse
- Reversed
- Rotate
- Rotated
- SetX
- SetXYZ
- SetY
- SetZ
- Transform
- Transformed
- X
- Y
- Z
- getImp
- initTempObject
Constructors
constructor
• new MxNewMx3dGeDir()
Overrides
• new MxNewMx3dGeDir(theXv
, theYv
, theZv
)
Parameters
Name | Type |
---|---|
theXv | number |
theYv | number |
theZv | number |
Overrides
MxNewMx3dGeObject.constructor
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Angle
▸ Angle(theOther
): number
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
Returns
number
AngleWithRef
▸ AngleWithRef(theOther
, theVRef
): number
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
theVRef | MxNewMx3dGeDir |
Returns
number
Cross
▸ Cross(theRight
): void
Parameters
Name | Type |
---|---|
theRight | MxNewMx3dGeDir |
Returns
void
CrossCross
▸ CrossCross(theV1
, theV2
): void
Parameters
Name | Type |
---|---|
theV1 | MxNewMx3dGeDir |
theV2 | MxNewMx3dGeDir |
Returns
void
CrossCrossed
▸ CrossCrossed(theV1
, theV2
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theV1 | MxNewMx3dGeDir |
theV2 | MxNewMx3dGeDir |
Returns
Crossed
▸ Crossed(theRight
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theRight | MxNewMx3dGeDir |
Returns
Dot
▸ Dot(theOther
): number
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
Returns
number
DotCross
▸ DotCross(theV1
, theV2
): number
Parameters
Name | Type |
---|---|
theV1 | MxNewMx3dGeDir |
theV2 | MxNewMx3dGeDir |
Returns
number
IsEqual
▸ IsEqual(theOther
, theAngularTolerance
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
theAngularTolerance | number |
Returns
boolean
IsNormal
▸ IsNormal(theOther
, theAngularTolerance
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
theAngularTolerance | number |
Returns
boolean
IsOpposite
▸ IsOpposite(theOther
, theAngularTolerance
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
theAngularTolerance | number |
Returns
boolean
IsParallel
▸ IsParallel(theOther
, theAngularTolerance
): boolean
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeDir |
theAngularTolerance | number |
Returns
boolean
MirrorByAxis
▸ MirrorByAxis(theA1
): void
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(theA2
): void
Parameters
Name | Type |
---|---|
theA2 | MxNewMx3dGeCSYSR |
Returns
void
MirrorByVec
▸ MirrorByVec(theV
): void
Parameters
Name | Type |
---|---|
theV | MxNewMx3dGeDir |
Returns
void
MirroredByAxis
▸ MirroredByAxis(theA1
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(theA2
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theA2 | MxNewMx3dGeCSYSR |
Returns
MirroredByVec
▸ MirroredByVec(theV
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theV | MxNewMx3dGeDir |
Returns
Reverse
▸ Reverse(): void
Returns
void
Reversed
▸ Reversed(): MxNewMx3dGeDir
Returns
Rotate
▸ Rotate(theA1
, theAng
): void
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
theAng | number |
Returns
void
Rotated
▸ Rotated(theA1
, theAng
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
theAng | number |
Returns
SetX
▸ SetX(theX
): void
Parameters
Name | Type |
---|---|
theX | number |
Returns
void
SetXYZ
▸ SetXYZ(theXv
, theYv
, theZv
): void
Parameters
Name | Type |
---|---|
theXv | number |
theYv | number |
theZv | number |
Returns
void
SetY
▸ SetY(theY
): void
Parameters
Name | Type |
---|---|
theY | number |
Returns
void
SetZ
▸ SetZ(theZ
): void
Parameters
Name | Type |
---|---|
theZ | number |
Returns
void
Transform
▸ Transform(theT
): void
Parameters
Name | Type |
---|---|
theT | MxNewMx3dGeTrsf |
Returns
void
Transformed
▸ Transformed(theT
): MxNewMx3dGeDir
Parameters
Name | Type |
---|---|
theT | MxNewMx3dGeTrsf |
Returns
X
▸ X(): number
Returns
number
Y
▸ Y(): number
Returns
number
Z
▸ Z(): number
Returns
number
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void