ConstructiveSolidGeometry
Constructive Solid Geometry combines Signed Distance Functions by using Boolean operators to generate and transform volume data.
Static Method Summary
| Static Public Methods | ||
| public static |
run(min: Number[], size: Number, data: HermiteData, sdf: SignedDistanceFunction): HermiteData Transforms the given Hermite data in two steps: |
|
Static Public Methods
public static run(min: Number[], size: Number, data: HermiteData, sdf: SignedDistanceFunction): HermiteData source
Transforms the given Hermite data in two steps:
- Generate data by executing the given SDF
- Combine the generated data with the given data
Params:
| Name | Type | Attribute | Description |
| min | Number[] | The lower bounds of the volume data cell. |
|
| size | Number | The size of the volume data cell. |
|
| data | HermiteData | The volume data that should be modified. |
|
| sdf | SignedDistanceFunction | An SDF. |
