Skip to content
On this page

mxcad API 文档 / MdGeCSYSR

Class: MdGeCSYSR

表示右手坐标系。

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeCSYSR(p1?, p2?, p3?)

Parameters

NameType
p1?object | MdGePoint
p2?MdGeDir
p3?MdGeDir

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Angle

Angle(theOther): number

Parameters

NameType
theOtherMdGeCSYSR

Returns

number


Axis

Axis(): MdGeAxis

Returns

MdGeAxis


IsCoplanarWithAxis

IsCoplanarWithAxis(A1, LinearTolerance, AngularTolerance): boolean

Parameters

NameType
A1MdGeAxis
LinearTolerancenumber
AngularTolerancenumber

Returns

boolean


IsCoplanarWithCSYSR

IsCoplanarWithCSYSR(Other, LinearTolerance, AngularTolerance): boolean

Parameters

NameType
OtherMdGeCSYSR
LinearTolerancenumber
AngularTolerancenumber

Returns

boolean


MirrorByAxis

MirrorByAxis(A1): void

Parameters

NameType
A1MdGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(A2): void

Parameters

NameType
A2MdGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(P): void

Parameters

NameType
PMdGePoint

Returns

void


MirroredByAxis

MirroredByAxis(A1): MdGeCSYSR

Parameters

NameType
A1MdGeAxis

Returns

MdGeCSYSR


MirroredByCSYSR

MirroredByCSYSR(A2): MdGeCSYSR

Parameters

NameType
A2MdGeCSYSR

Returns

MdGeCSYSR


MirroredByPoint

MirroredByPoint(P): MdGeCSYSR

Parameters

NameType
PMdGePoint

Returns

MdGeCSYSR


Origin

Origin(): MdGePoint

Returns

MdGePoint


Rotate

Rotate(theA1, theAng): void

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

void


Rotated

Rotated(theA1, theAng): MdGeCSYSR

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

MdGeCSYSR


Scale

Scale(theP, theS): void

Parameters

NameType
thePMdGePoint
theSnumber

Returns

void


Scaled

Scaled(theP, theS): MdGeCSYSR

Parameters

NameType
thePMdGePoint
theSnumber

Returns

MdGeCSYSR


SetOrigin

SetOrigin(p1, p2?, p3?): void

Parameters

NameType
p1number | MdGePoint
p2?number
p3?number

Returns

void


SetXDirection

SetXDirection(x_dir): void

Parameters

NameType
x_dirMdGeDir

Returns

void


SetYDirection

SetYDirection(y_dir): void

Parameters

NameType
y_dirMdGeDir

Returns

void


SetZDirection

SetZDirection(z_dir): void

Parameters

NameType
z_dirMdGeDir

Returns

void


Transform

Transform(theT): void

Parameters

NameType
theTMdGeTrsf

Returns

void


Transformed

Transformed(theT): MdGeCSYSR

Parameters

NameType
theTMdGeTrsf

Returns

MdGeCSYSR


TranslateBy2Points

TranslateBy2Points(theP1, theP2): void

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(theV): void

Parameters

NameType
theVMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(theP1, theP2): MdGeCSYSR

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

MdGeCSYSR


TranslatedByVec

TranslatedByVec(theV): MdGeCSYSR

Parameters

NameType
theVMdGeVec

Returns

MdGeCSYSR


XDirection

XDirection(): MdGeDir

Returns

MdGeDir


YDirection

YDirection(): MdGeDir

Returns

MdGeDir


ZDirection

ZDirection(): MdGeDir

Returns

MdGeDir


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject