Skip to content
On this page

mxcad API 文档 / MxNewMx3dGeCSYS

Class: MxNewMx3dGeCSYS

左手坐标系

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dGeCSYS()

Overrides

MxNewMx3dGeObject.constructor

new MxNewMx3dGeCSYS(csysr)

Parameters

NameType
csysrMxNewMx3dGeCSYSR

Overrides

MxNewMx3dGeObject.constructor

new MxNewMx3dGeCSYS(origin, z_axis)

Parameters

NameType
originMxNewMx3dGePoint
z_axisMxNewMx3dGeDir

Overrides

MxNewMx3dGeObject.constructor

new MxNewMx3dGeCSYS(origin, z_axis, x_vec)

Parameters

NameType
originMxNewMx3dGePoint
z_axisMxNewMx3dGeDir
x_vecMxNewMx3dGeDir

Overrides

MxNewMx3dGeObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MxNewMx3dGeObject.imp

Methods

Angle

Angle(other): number

Parameters

NameType
otherMxNewMx3dGeCSYS

Returns

number


Axis

Axis(): MxNewMx3dGeAxis

Returns

MxNewMx3dGeAxis


CSYSR

CSYSR(): MxNewMx3dGeCSYSR

Returns

MxNewMx3dGeCSYSR


Direct

Direct(): boolean

Returns

boolean


Direction

Direction(): MxNewMx3dGeDir

Returns

MxNewMx3dGeDir


IsCoplanarWithAxis

IsCoplanarWithAxis(axis, linearTolerance, angularTolerance): boolean

Parameters

NameType
axisMxNewMx3dGeAxis
linearTolerancenumber
angularTolerancenumber

Returns

boolean


IsCoplanarWithCSYS

IsCoplanarWithCSYS(other, linearTolerance, angularTolerance): boolean

Parameters

NameType
otherMxNewMx3dGeCSYS
linearTolerancenumber
angularTolerancenumber

Returns

boolean


Location

Location(): MxNewMx3dGePoint

Returns

MxNewMx3dGePoint


MirrorByAxis

MirrorByAxis(axis): void

Parameters

NameType
axisMxNewMx3dGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(csysr): void

Parameters

NameType
csysrMxNewMx3dGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(point): void

Parameters

NameType
pointMxNewMx3dGePoint

Returns

void


MirroredByAxis

MirroredByAxis(axis): MxNewMx3dGeCSYS

Parameters

NameType
axisMxNewMx3dGeAxis

Returns

MxNewMx3dGeCSYS


MirroredByCSYSR

MirroredByCSYSR(csysr): MxNewMx3dGeCSYS

Parameters

NameType
csysrMxNewMx3dGeCSYSR

Returns

MxNewMx3dGeCSYS


MirroredByPoint

MirroredByPoint(point): MxNewMx3dGeCSYS

Parameters

NameType
pointMxNewMx3dGePoint

Returns

MxNewMx3dGeCSYS


Rotate

Rotate(axis, ang): void

Parameters

NameType
axisMxNewMx3dGeAxis
angnumber

Returns

void


Rotated

Rotated(axis, ang): MxNewMx3dGeCSYS

Parameters

NameType
axisMxNewMx3dGeAxis
angnumber

Returns

MxNewMx3dGeCSYS


Scale

Scale(point, s): void

Parameters

NameType
pointMxNewMx3dGePoint
snumber

Returns

void


Scaled

Scaled(point, s): MxNewMx3dGeCSYS

Parameters

NameType
pointMxNewMx3dGePoint
snumber

Returns

MxNewMx3dGeCSYS


SetAxis

SetAxis(z_axis): void

Parameters

NameType
z_axisMxNewMx3dGeAxis

Returns

void


SetDirection

SetDirection(z_dir): void

Parameters

NameType
z_dirMxNewMx3dGeDir

Returns

void


SetLocation

SetLocation(origin): void

Parameters

NameType
originMxNewMx3dGePoint

Returns

void

SetLocation(theX, theY, theZ): void

Parameters

NameType
theXnumber
theYnumber
theZnumber

Returns

void


SetXDirection

SetXDirection(x_dir): void

Parameters

NameType
x_dirMxNewMx3dGeDir

Returns

void


SetYDirection

SetYDirection(y_dir): void

Parameters

NameType
y_dirMxNewMx3dGeDir

Returns

void


Transform

Transform(t): void

Parameters

NameType
tMxNewMx3dGeTrsf

Returns

void


Transformed

Transformed(t): MxNewMx3dGeCSYS

Parameters

NameType
tMxNewMx3dGeTrsf

Returns

MxNewMx3dGeCSYS


TranslateBy2Points

TranslateBy2Points(point1, point2): void

Parameters

NameType
point1MxNewMx3dGePoint
point2MxNewMx3dGePoint

Returns

void


TranslateByVec

TranslateByVec(vec): void

Parameters

NameType
vecMxNewMx3dGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(point1, point2): MxNewMx3dGeCSYS

Parameters

NameType
point1MxNewMx3dGePoint
point2MxNewMx3dGePoint

Returns

MxNewMx3dGeCSYS


TranslatedByVec

TranslatedByVec(vec): MxNewMx3dGeCSYS

Parameters

NameType
vecMxNewMx3dGeVec

Returns

MxNewMx3dGeCSYS


XDirection

XDirection(): MxNewMx3dGeDir

Returns

MxNewMx3dGeDir


XReverse

XReverse(): void

Returns

void


YDirection

YDirection(): MxNewMx3dGeDir

Returns

MxNewMx3dGeDir


YReverse

YReverse(): void

Returns

void


ZReverse

ZReverse(): void

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

MxNewMx3dGeObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MxNewMx3dGeObject.initTempObject