Constructor Summary
Public Constructor | ||
public |
Constructs a new density function operation. |
Method Summary
Public Methods | ||
public |
computeBoundingBox(): Box3 Calculates the bounding box of this density function. |
|
public |
generateEdge(edge: Edge) Generates surface intersection data for the specified edge. |
|
public |
generateMaterialIndex(position: Vector3): Number Calculates the material index for the given world position. |
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(sdf: SignedDistanceFunction) source
Constructs a new density function operation.
Override:
Operation#constructorParams:
Name | Type | Attribute | Description |
sdf | SignedDistanceFunction | An SDF. |
Public Methods
public computeBoundingBox(): Box3 source
Calculates the bounding box of this density function.
Override:
Operation#computeBoundingBoxReturn:
Box3 | The bounding box. |