Skip to content
On this page

mxcad API 文档 / 3d / MdGePlane

Class: MdGePlane

3d.MdGePlane

表示一个平面

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGePlane(p1?, p2?, p3?, p4?)

Parameters

NameType
p1?number | object | MdGePoint | MdGeCSYS
p2?number | MdGeDir
p3?number
p4?number

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Axis

Axis(): MdGeAxis

Returns

MdGeAxis


Contains

Contains(theP, theLinearTolerance): boolean

Parameters

NameType
thePMdGePoint
theLinearTolerancenumber

Returns

boolean


Direct

Direct(): boolean

Returns

boolean


DistanceToPlane

DistanceToPlane(theOther): number

Parameters

NameType
theOtherMdGePlane

Returns

number


DistanceToPoint

DistanceToPoint(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Face

Face(p1?, p2?, p3?, p4?): MdGeFace

Parameters

NameType
p1?number | MdGeWire
p2?number | boolean
p3?number
p4?number

Returns

MdGeFace


Location

Location(): MdGePoint

Returns

MdGePoint


MirrorByAxis

MirrorByAxis(theA1): void

Parameters

NameType
theA1MdGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(theA2): void

Parameters

NameType
theA2MdGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(theP): void

Parameters

NameType
thePMdGePoint

Returns

void


MirroredByAxis

MirroredByAxis(theA1): MdGePlane

Parameters

NameType
theA1MdGeAxis

Returns

MdGePlane


MirroredByCSYSR

MirroredByCSYSR(theA2): MdGePlane

Parameters

NameType
theA2MdGeCSYSR

Returns

MdGePlane


MirroredByPoint

MirroredByPoint(theP): MdGePlane

Parameters

NameType
thePMdGePoint

Returns

MdGePlane


Position

Position(): MdGeCSYS

Returns

MdGeCSYS


Rotate

Rotate(theA1, theAng): void

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

void


Rotated

Rotated(theA1, theAng): MdGePlane

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

MdGePlane


Scale

Scale(theP, theS): void

Parameters

NameType
thePMdGePoint
theSnumber

Returns

void


Scaled

Scaled(theP, theS): MdGePlane

Parameters

NameType
thePMdGePoint
theSnumber

Returns

MdGePlane


SetAxis

SetAxis(theA1): void

Parameters

NameType
theA1MdGeAxis

Returns

void


SetLocation

SetLocation(theLoc): void

Parameters

NameType
theLocMdGePoint

Returns

void


SetPosition

SetPosition(theA3): void

Parameters

NameType
theA3MdGeCSYS

Returns

void


SquareDistanceToPlane

SquareDistanceToPlane(theOther): number

Parameters

NameType
theOtherMdGePlane

Returns

number


SquareDistanceToPoint

SquareDistanceToPoint(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Transform

Transform(theT): void

Parameters

NameType
theTMdGeTrsf

Returns

void


Transformed

Transformed(theT): MdGePlane

Parameters

NameType
theTMdGeTrsf

Returns

MdGePlane


TranslateBy2Points

TranslateBy2Points(theP1, theP2): void

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(theV): void

Parameters

NameType
theVMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(theP1, theP2): MdGePlane

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

MdGePlane


TranslatedByVec

TranslatedByVec(theV): MdGePlane

Parameters

NameType
theVMdGeVec

Returns

MdGePlane


UReverse

UReverse(): void

Returns

void


VReverse

VReverse(): void

Returns

void


XAxis

XAxis(): MdGeAxis

Returns

MdGeAxis


YAxis

YAxis(): MdGeAxis

Returns

MdGeAxis


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject