Constructor Summary
| Public Constructor | ||
| public |
constructor(type: OperationType) Constructs a new operation. |
|
Member Summary
| Public Members | ||
| public |
The type of this operation. |
|
Method Summary
| Public Methods | ||
| public |
computeBoundingBox(): Box3 Calculates the bounding box of this CSG operation while taking all child operations into account. |
|
| public |
getBoundingBox(): Box3 Calculates the complete bounding box of this CSG operation if it doesn't exist yet and returns it. |
|
Public Constructors
public constructor(type: OperationType) source
Constructs a new operation.
Params:
| Name | Type | Attribute | Description |
| type | OperationType | The type of this operation. |
|
| ...children | Operation | Child operations. |
Public Members
Public Methods
public computeBoundingBox(): Box3 source
Calculates the bounding box of this CSG operation while taking all child operations into account.
Return:
| Box3 | The bounding box. |
public getBoundingBox(): Box3 source
Calculates the complete bounding box of this CSG operation if it doesn't exist yet and returns it.
Return:
| Box3 | The bounding box. |
