mxcad API 文档 / MdGeBndBox
Class: MdGeBndBox
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeBndBox
Table of contents
Constructors
Properties
Methods
- AddBndBox
- AddDir
- AddPoint
- AddPointDir
- CornerMax
- CornerMin
- Distance
- Enlarge
- FinitePart
- GetGap
- HasFinitePart
- IsOpen
- IsOpenXmax
- IsOpenXmin
- IsOpenYmax
- IsOpenYmin
- IsOpenZmax
- IsOpenZmin
- IsOutBndBox
- IsOutLine
- IsOutPPD
- IsOutPlane
- IsOutPoint
- IsOutTBT
- IsThin
- IsVoid
- IsWhole
- IsXThin
- IsYThin
- IsZThin
- OpenXmax
- OpenXmin
- OpenYmax
- OpenYmin
- OpenZmax
- OpenZmin
- Set
- SetGap
- SetVoid
- SetWhole
- SquareExtent
- Transformed
- Update
- getImp
- initTempObject
Constructors
constructor
• new MdGeBndBox(theMin?
, theMax?
)
Parameters
Name | Type |
---|---|
theMin? | object | MdGePoint |
theMax? | MdGePoint |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
AddBndBox
▸ AddBndBox(Other
): void
Parameters
Name | Type |
---|---|
Other | MdGeBndBox |
Returns
void
AddDir
▸ AddDir(D
): void
Parameters
Name | Type |
---|---|
D | MdGeDir |
Returns
void
AddPoint
▸ AddPoint(P
): void
Parameters
Name | Type |
---|---|
P | MdGePoint |
Returns
void
AddPointDir
▸ AddPointDir(P
, D
): void
Parameters
Name | Type |
---|---|
P | MdGePoint |
D | MdGeDir |
Returns
void
CornerMax
▸ CornerMax(): MdGePoint
Returns
CornerMin
▸ CornerMin(): MdGePoint
Returns
Distance
▸ Distance(Other
): number
Parameters
Name | Type |
---|---|
Other | MdGeBndBox |
Returns
number
Enlarge
▸ Enlarge(Tol
): void
Parameters
Name | Type |
---|---|
Tol | number |
Returns
void
FinitePart
▸ FinitePart(): MdGeBndBox
Returns
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
Name | Type |
---|---|
Other | MdGeBndBox |
T? | MdGeTrsf |
Returns
boolean
IsOutLine
▸ IsOutLine(L
): boolean
Parameters
Name | Type |
---|---|
L | MdGeLine |
Returns
boolean
IsOutPPD
▸ IsOutPPD(P1
, P2
, D
): boolean
Parameters
Name | Type |
---|---|
P1 | MdGePoint |
P2 | MdGePoint |
D | MdGeDir |
Returns
boolean
IsOutPlane
▸ IsOutPlane(P
): boolean
Parameters
Name | Type |
---|---|
P | MdGePlane |
Returns
boolean
IsOutPoint
▸ IsOutPoint(P
): boolean
Parameters
Name | Type |
---|---|
P | MdGePoint |
Returns
boolean
IsOutTBT
▸ IsOutTBT(T1
, Other
, T2
): boolean
Parameters
Name | Type |
---|---|
T1 | MdGeTrsf |
Other | MdGeBndBox |
T2 | MdGeTrsf |
Returns
boolean
IsThin
▸ IsThin(tol
): boolean
Parameters
Name | Type |
---|---|
tol | number |
Returns
boolean
IsVoid
▸ IsVoid(): boolean
Returns
boolean
IsWhole
▸ IsWhole(): boolean
Returns
boolean
IsXThin
▸ IsXThin(tol
): boolean
Parameters
Name | Type |
---|---|
tol | number |
Returns
boolean
IsYThin
▸ IsYThin(tol
): boolean
Parameters
Name | Type |
---|---|
tol | number |
Returns
boolean
IsZThin
▸ IsZThin(tol
): boolean
Parameters
Name | Type |
---|---|
tol | number |
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
Name | Type |
---|---|
P | MdGePoint |
D | MdGeDir |
Returns
void
SetGap
▸ SetGap(Tol
): void
Parameters
Name | Type |
---|---|
Tol | number |
Returns
void
SetVoid
▸ SetVoid(): void
Returns
void
SetWhole
▸ SetWhole(): void
Returns
void
SquareExtent
▸ SquareExtent(): number
Returns
number
Transformed
▸ Transformed(T
): MdGeBndBox
Parameters
Name | Type |
---|---|
T | MdGeTrsf |
Returns
Update
▸ Update(aXmin
, aYmin
, aZmin
, aXmax
, aYmax
, aZmax
): void
Parameters
Name | Type |
---|---|
aXmin | number |
aYmin | number |
aZmin | number |
aXmax | number |
aYmax | number |
aZmax | number |
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void