mxcad API 文档 / MxNewMx3dGeCSYS
Class: MxNewMx3dGeCSYS
左手坐标系
Hierarchy
↳
MxNewMx3dGeCSYS
Table of contents
Constructors
Properties
Methods
- Angle
- Axis
- CSYSR
- Direct
- Direction
- IsCoplanarWithAxis
- IsCoplanarWithCSYS
- Location
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Rotate
- Rotated
- Scale
- Scaled
- SetAxis
- SetDirection
- SetLocation
- SetXDirection
- SetYDirection
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- XDirection
- XReverse
- YDirection
- YReverse
- ZReverse
- getImp
- initTempObject
Constructors
constructor
• new MxNewMx3dGeCSYS()
Overrides
• new MxNewMx3dGeCSYS(csysr
)
Parameters
Name | Type |
---|---|
csysr | MxNewMx3dGeCSYSR |
Overrides
MxNewMx3dGeObject.constructor
• new MxNewMx3dGeCSYS(origin
, z_axis
)
Parameters
Name | Type |
---|---|
origin | MxNewMx3dGePoint |
z_axis | MxNewMx3dGeDir |
Overrides
MxNewMx3dGeObject.constructor
• new MxNewMx3dGeCSYS(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(other
): number
Parameters
Name | Type |
---|---|
other | MxNewMx3dGeCSYS |
Returns
number
Axis
▸ Axis(): MxNewMx3dGeAxis
Returns
CSYSR
▸ CSYSR(): MxNewMx3dGeCSYSR
Returns
Direct
▸ Direct(): boolean
Returns
boolean
Direction
▸ Direction(): MxNewMx3dGeDir
Returns
IsCoplanarWithAxis
▸ IsCoplanarWithAxis(axis
, linearTolerance
, angularTolerance
): boolean
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
linearTolerance | number |
angularTolerance | number |
Returns
boolean
IsCoplanarWithCSYS
▸ IsCoplanarWithCSYS(other
, linearTolerance
, angularTolerance
): boolean
Parameters
Name | Type |
---|---|
other | MxNewMx3dGeCSYS |
linearTolerance | number |
angularTolerance | number |
Returns
boolean
Location
▸ Location(): MxNewMx3dGePoint
Returns
MirrorByAxis
▸ MirrorByAxis(axis
): void
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(csysr
): void
Parameters
Name | Type |
---|---|
csysr | MxNewMx3dGeCSYSR |
Returns
void
MirrorByPoint
▸ MirrorByPoint(point
): void
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
Returns
void
MirroredByAxis
▸ MirroredByAxis(axis
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(csysr
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
csysr | MxNewMx3dGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(point
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
Returns
Rotate
▸ Rotate(axis
, ang
): void
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
ang | number |
Returns
void
Rotated
▸ Rotated(axis
, ang
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
axis | MxNewMx3dGeAxis |
ang | number |
Returns
Scale
▸ Scale(point
, s
): void
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
s | number |
Returns
void
Scaled
▸ Scaled(point
, s
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
point | MxNewMx3dGePoint |
s | number |
Returns
SetAxis
▸ SetAxis(z_axis
): void
Parameters
Name | Type |
---|---|
z_axis | MxNewMx3dGeAxis |
Returns
void
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 | MxNewMx3dGeDir |
Returns
void
SetYDirection
▸ SetYDirection(y_dir
): void
Parameters
Name | Type |
---|---|
y_dir | MxNewMx3dGeDir |
Returns
void
Transform
▸ Transform(t
): void
Parameters
Name | Type |
---|---|
t | MxNewMx3dGeTrsf |
Returns
void
Transformed
▸ Transformed(t
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
t | MxNewMx3dGeTrsf |
Returns
TranslateBy2Points
▸ TranslateBy2Points(point1
, point2
): void
Parameters
Name | Type |
---|---|
point1 | MxNewMx3dGePoint |
point2 | MxNewMx3dGePoint |
Returns
void
TranslateByVec
▸ TranslateByVec(vec
): void
Parameters
Name | Type |
---|---|
vec | MxNewMx3dGeVec |
Returns
void
TranslatedBy2Points
▸ TranslatedBy2Points(point1
, point2
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
point1 | MxNewMx3dGePoint |
point2 | MxNewMx3dGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(vec
): MxNewMx3dGeCSYS
Parameters
Name | Type |
---|---|
vec | MxNewMx3dGeVec |
Returns
XDirection
▸ XDirection(): MxNewMx3dGeDir
Returns
XReverse
▸ XReverse(): void
Returns
void
YDirection
▸ YDirection(): MxNewMx3dGeDir
Returns
YReverse
▸ YReverse(): void
Returns
void
ZReverse
▸ ZReverse(): void
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void