Constructor Summary
Public Constructor | ||
public |
constructor(children: ...Operation) Constructs a new intersection operation. |
Method Summary
Public Methods | ||
public |
selectEdge(edge0: Edge, edge1: Edge, s: Boolean): Edge Selects the edge that is closer to the solid grid point. |
|
public |
updateMaterialIndex(index: Number, data0: HermiteData, data1: HermiteData) Updates the specified material index. |
Inherited Summary
From class Operation | ||
public |
The type of this operation. |
|
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(children: ...Operation) source
Constructs a new intersection operation.
Override:
Operation#constructorParams:
Name | Type | Attribute | Description |
children | ...Operation | Child operations. |
Public Methods
public selectEdge(edge0: Edge, edge1: Edge, s: Boolean): Edge source
Selects the edge that is closer to the solid grid point.
public updateMaterialIndex(index: Number, data0: HermiteData, data1: HermiteData) source
Updates the specified material index.
Params:
Name | Type | Attribute | Description |
index | Number | The index of the material index that needs to be updated. |
|
data0 | HermiteData | The target volume data. |
|
data1 | HermiteData | Predominant volume data. |