Skip to content
On this page

mxcad API 文档 / MdGeBox

Class: MdGeBox

表示一个Box

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

NameType
p1?number | object | MdGePoint | MdGeCSYSR
p2?number | MdGePoint
p3?number
p4?number

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

BackFace

BackFace(): MdGeFace

Returns

MdGeFace


BottomFace

BottomFace(): MdGeFace

Returns

MdGeFace


FrontFace

FrontFace(): MdGeFace

Returns

MdGeFace


Init

Init(p1, p2, p3?, p4?): void

Parameters

NameType
p1number | MdGePoint | MdGeCSYSR
p2number | MdGePoint
p3?number
p4?number

Returns

void


LeftFace

LeftFace(): MdGeFace

Returns

MdGeFace


RightFace

RightFace(): MdGeFace

Returns

MdGeFace


Shape

Shape(): MdGeShape

Returns

MdGeShape


Shell

Shell(): MdGeShell

Returns

MdGeShell


Solid

Solid(): MdGeSolid

Returns

MdGeSolid


TopFace

TopFace(): MdGeFace

Returns

MdGeFace


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject