mxcad API 文档 / 3d / MxNewMx3dGeCSYSR
Class: MxNewMx3dGeCSYSR
3d.MxNewMx3dGeCSYSR
右手坐标系
Hierarchy
↳
MxNewMx3dGeCSYSR
Table of contents
Constructors
Properties
Methods
- Angle
- Axis
- Direction
- IsCoplanarWithAxis
- IsCoplanarWithCSYSR
- Location
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Rotate
- Rotated
- Scale
- Scaled
- SetDirection
- SetLocation
- SetXDirection
- SetYDirection
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- XDirection
- YDirection
- getImp
- initTempObject
Constructors
constructor
• new MxNewMx3dGeCSYSR()
Overrides
• new MxNewMx3dGeCSYSR(origin
, z_axis
, x_vec
)
Parameters
Name | Type |
---|---|
origin | MxNewMx3dGePoint |
z_axis | MxNewMx3dGeDir |
x_vec | MxNewMx3dGeDir |
Overrides
MxNewMx3dGeObject.constructor
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Angle
▸ Angle(theOther
): number
Parameters
Name | Type |
---|---|
theOther | MxNewMx3dGeCSYSR |
Returns
number
Axis
▸ Axis(): MxNewMx3dGeAxis
Returns
Direction
▸ Direction(): MxNewMx3dGeDir
Returns
IsCoplanarWithAxis
▸ IsCoplanarWithAxis(A1
, LinearTolerance
, AngularTolerance
): boolean
Parameters
Name | Type |
---|---|
A1 | MxNewMx3dGeAxis |
LinearTolerance | number |
AngularTolerance | number |
Returns
boolean
IsCoplanarWithCSYSR
▸ IsCoplanarWithCSYSR(Other
, LinearTolerance
, AngularTolerance
): boolean
Parameters
Name | Type |
---|---|
Other | MxNewMx3dGeCSYSR |
LinearTolerance | number |
AngularTolerance | number |
Returns
boolean
Location
▸ Location(): MxNewMx3dGePoint
Returns
MirrorByAxis
▸ MirrorByAxis(A1
): void
Parameters
Name | Type |
---|---|
A1 | MxNewMx3dGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(A2
): void
Parameters
Name | Type |
---|---|
A2 | MxNewMx3dGeCSYSR |
Returns
void
MirrorByPoint
▸ MirrorByPoint(P
): void
Parameters
Name | Type |
---|---|
P | MxNewMx3dGePoint |
Returns
void
MirroredByAxis
▸ MirroredByAxis(A1
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
A1 | MxNewMx3dGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(A2
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
A2 | MxNewMx3dGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(P
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
P | MxNewMx3dGePoint |
Returns
Rotate
▸ Rotate(theA1
, theAng
): void
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
theAng | number |
Returns
void
Rotated
▸ Rotated(theA1
, theAng
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
theA1 | MxNewMx3dGeAxis |
theAng | number |
Returns
Scale
▸ Scale(theP
, theS
): void
Parameters
Name | Type |
---|---|
theP | MxNewMx3dGePoint |
theS | number |
Returns
void
Scaled
▸ Scaled(theP
, theS
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
theP | MxNewMx3dGePoint |
theS | number |
Returns
SetDirection
▸ SetDirection(z_dir
): void
Parameters
Name | Type |
---|---|
z_dir | MxNewMx3dGeDir |
Returns
void
SetLocation
▸ SetLocation(origin
): void
Parameters
Name | Type |
---|---|
origin | MxNewMx3dGePoint |
Returns
void
▸ SetLocation(theX
, theY
, theZ
): void
Parameters
Name | Type |
---|---|
theX | number |
theY | number |
theZ | number |
Returns
void
SetXDirection
▸ SetXDirection(x_dir
): void
Parameters
Name | Type |
---|---|
x_dir | MxNewMx3dGePoint |
Returns
void
SetYDirection
▸ SetYDirection(y_dir
): void
Parameters
Name | Type |
---|---|
y_dir | MxNewMx3dGeDir |
Returns
void
Transform
▸ Transform(theT
): void
Parameters
Name | Type |
---|---|
theT | MxNewMx3dGeTrsf |
Returns
void
Transformed
▸ Transformed(theT
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
theT | MxNewMx3dGeTrsf |
Returns
TranslateBy2Points
▸ TranslateBy2Points(theP1
, theP2
): void
Parameters
Name | Type |
---|---|
theP1 | MxNewMx3dGePoint |
theP2 | MxNewMx3dGePoint |
Returns
void
TranslateByVec
▸ TranslateByVec(theV
): void
Parameters
Name | Type |
---|---|
theV | MxNewMx3dGeVec |
Returns
void
TranslatedBy2Points
▸ TranslatedBy2Points(theP1
, theP2
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
theP1 | MxNewMx3dGePoint |
theP2 | MxNewMx3dGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(theV
): MxNewMx3dGeCSYSR
Parameters
Name | Type |
---|---|
theV | MxNewMx3dGeVec |
Returns
XDirection
▸ XDirection(): MxNewMx3dGeDir
Returns
YDirection
▸ YDirection(): MxNewMx3dGeDir
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void