mxcad API 文档 / MdGeCSYSR
Class: MdGeCSYSR
表示右手坐标系。
Hierarchy
↳
MdGeCSYSR
Table of contents
Constructors
Properties
Methods
- Angle
- Axis
- IsCoplanarWithAxis
- IsCoplanarWithCSYSR
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Origin
- Rotate
- Rotated
- Scale
- Scaled
- SetOrigin
- SetXDirection
- SetYDirection
- SetZDirection
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- XDirection
- YDirection
- ZDirection
- getImp
- initTempObject
Constructors
constructor
• new MdGeCSYSR(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGePoint |
p2? | MdGeDir |
p3? | MdGeDir |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Angle
▸ Angle(theOther
): number
Parameters
Name | Type |
---|---|
theOther | MdGeCSYSR |
Returns
number
Axis
▸ Axis(): MdGeAxis
Returns
IsCoplanarWithAxis
▸ IsCoplanarWithAxis(A1
, LinearTolerance
, AngularTolerance
): boolean
Parameters
Name | Type |
---|---|
A1 | MdGeAxis |
LinearTolerance | number |
AngularTolerance | number |
Returns
boolean
IsCoplanarWithCSYSR
▸ IsCoplanarWithCSYSR(Other
, LinearTolerance
, AngularTolerance
): boolean
Parameters
Name | Type |
---|---|
Other | MdGeCSYSR |
LinearTolerance | number |
AngularTolerance | number |
Returns
boolean
MirrorByAxis
▸ MirrorByAxis(A1
): void
Parameters
Name | Type |
---|---|
A1 | MdGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(A2
): void
Parameters
Name | Type |
---|---|
A2 | MdGeCSYSR |
Returns
void
MirrorByPoint
▸ MirrorByPoint(P
): void
Parameters
Name | Type |
---|---|
P | MdGePoint |
Returns
void
MirroredByAxis
▸ MirroredByAxis(A1
): MdGeCSYSR
Parameters
Name | Type |
---|---|
A1 | MdGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(A2
): MdGeCSYSR
Parameters
Name | Type |
---|---|
A2 | MdGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(P
): MdGeCSYSR
Parameters
Name | Type |
---|---|
P | MdGePoint |
Returns
Origin
▸ Origin(): MdGePoint
Returns
Rotate
▸ Rotate(theA1
, theAng
): void
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
theAng | number |
Returns
void
Rotated
▸ Rotated(theA1
, theAng
): MdGeCSYSR
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
theAng | number |
Returns
Scale
▸ Scale(theP
, theS
): void
Parameters
Name | Type |
---|---|
theP | MdGePoint |
theS | number |
Returns
void
Scaled
▸ Scaled(theP
, theS
): MdGeCSYSR
Parameters
Name | Type |
---|---|
theP | MdGePoint |
theS | number |
Returns
SetOrigin
▸ SetOrigin(p1
, p2?
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number | MdGePoint |
p2? | number |
p3? | number |
Returns
void
SetXDirection
▸ SetXDirection(x_dir
): void
Parameters
Name | Type |
---|---|
x_dir | MdGeDir |
Returns
void
SetYDirection
▸ SetYDirection(y_dir
): void
Parameters
Name | Type |
---|---|
y_dir | MdGeDir |
Returns
void
SetZDirection
▸ SetZDirection(z_dir
): void
Parameters
Name | Type |
---|---|
z_dir | MdGeDir |
Returns
void
Transform
▸ Transform(theT
): void
Parameters
Name | Type |
---|---|
theT | MdGeTrsf |
Returns
void
Transformed
▸ Transformed(theT
): MdGeCSYSR
Parameters
Name | Type |
---|---|
theT | MdGeTrsf |
Returns
TranslateBy2Points
▸ TranslateBy2Points(theP1
, theP2
): void
Parameters
Name | Type |
---|---|
theP1 | MdGePoint |
theP2 | MdGePoint |
Returns
void
TranslateByVec
▸ TranslateByVec(theV
): void
Parameters
Name | Type |
---|---|
theV | MdGeVec |
Returns
void
TranslatedBy2Points
▸ TranslatedBy2Points(theP1
, theP2
): MdGeCSYSR
Parameters
Name | Type |
---|---|
theP1 | MdGePoint |
theP2 | MdGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(theV
): MdGeCSYSR
Parameters
Name | Type |
---|---|
theV | MdGeVec |
Returns
XDirection
▸ XDirection(): MdGeDir
Returns
YDirection
▸ YDirection(): MdGeDir
Returns
ZDirection
▸ ZDirection(): MdGeDir
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void