Skip to content
On this page

mxcad API 文档 / MdGeBndBox

Class: MdGeBndBox

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBndBox(theMin?, theMax?)

Parameters

NameType
theMin?object | MdGePoint
theMax?MdGePoint

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

AddBndBox

AddBndBox(Other): void

Parameters

NameType
OtherMdGeBndBox

Returns

void


AddDir

AddDir(D): void

Parameters

NameType
DMdGeDir

Returns

void


AddPoint

AddPoint(P): void

Parameters

NameType
PMdGePoint

Returns

void


AddPointDir

AddPointDir(P, D): void

Parameters

NameType
PMdGePoint
DMdGeDir

Returns

void


CornerMax

CornerMax(): MdGePoint

Returns

MdGePoint


CornerMin

CornerMin(): MdGePoint

Returns

MdGePoint


Distance

Distance(Other): number

Parameters

NameType
OtherMdGeBndBox

Returns

number


Enlarge

Enlarge(Tol): void

Parameters

NameType
Tolnumber

Returns

void


FinitePart

FinitePart(): MdGeBndBox

Returns

MdGeBndBox


GetGap

GetGap(): number

Returns

number


HasFinitePart

HasFinitePart(): boolean

Returns

boolean


IsOpen

IsOpen(): boolean

Returns

boolean


IsOpenXmax

IsOpenXmax(): boolean

Returns

boolean


IsOpenXmin

IsOpenXmin(): boolean

Returns

boolean


IsOpenYmax

IsOpenYmax(): boolean

Returns

boolean


IsOpenYmin

IsOpenYmin(): boolean

Returns

boolean


IsOpenZmax

IsOpenZmax(): boolean

Returns

boolean


IsOpenZmin

IsOpenZmin(): boolean

Returns

boolean


IsOutBndBox

IsOutBndBox(Other, T?): boolean

Parameters

NameType
OtherMdGeBndBox
T?MdGeTrsf

Returns

boolean


IsOutLine

IsOutLine(L): boolean

Parameters

NameType
LMdGeLine

Returns

boolean


IsOutPPD

IsOutPPD(P1, P2, D): boolean

Parameters

NameType
P1MdGePoint
P2MdGePoint
DMdGeDir

Returns

boolean


IsOutPlane

IsOutPlane(P): boolean

Parameters

NameType
PMdGePlane

Returns

boolean


IsOutPoint

IsOutPoint(P): boolean

Parameters

NameType
PMdGePoint

Returns

boolean


IsOutTBT

IsOutTBT(T1, Other, T2): boolean

Parameters

NameType
T1MdGeTrsf
OtherMdGeBndBox
T2MdGeTrsf

Returns

boolean


IsThin

IsThin(tol): boolean

Parameters

NameType
tolnumber

Returns

boolean


IsVoid

IsVoid(): boolean

Returns

boolean


IsWhole

IsWhole(): boolean

Returns

boolean


IsXThin

IsXThin(tol): boolean

Parameters

NameType
tolnumber

Returns

boolean


IsYThin

IsYThin(tol): boolean

Parameters

NameType
tolnumber

Returns

boolean


IsZThin

IsZThin(tol): boolean

Parameters

NameType
tolnumber

Returns

boolean


OpenXmax

OpenXmax(): void

Returns

void


OpenXmin

OpenXmin(): void

Returns

void


OpenYmax

OpenYmax(): void

Returns

void


OpenYmin

OpenYmin(): void

Returns

void


OpenZmax

OpenZmax(): void

Returns

void


OpenZmin

OpenZmin(): void

Returns

void


Set

Set(P, D): void

Parameters

NameType
PMdGePoint
DMdGeDir

Returns

void


SetGap

SetGap(Tol): void

Parameters

NameType
Tolnumber

Returns

void


SetVoid

SetVoid(): void

Returns

void


SetWhole

SetWhole(): void

Returns

void


SquareExtent

SquareExtent(): number

Returns

number


Transformed

Transformed(T): MdGeBndBox

Parameters

NameType
TMdGeTrsf

Returns

MdGeBndBox


Update

Update(aXmin, aYmin, aZmin, aXmax, aYmax, aZmax): void

Parameters

NameType
aXminnumber
aYminnumber
aZminnumber
aXmaxnumber
aYmaxnumber
aZmaxnumber

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject