Class CSG
java.lang.Object
org.episteme.core.mathematics.geometry.csg.CSG
Constructive Solid Geometry (CSG) implementation.
Supports boolean operations on solid 3D meshes: Union, Subtract, Intersect. Uses BSP trees for processing.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static CSGfromPolyhedron(Polyhedron polyhedron) Converts a Polyhedron to a CSG object.inverse()Converts this CSG object back to a Polyhedron.
-
Constructor Details
-
CSG
public CSG()
-
-
Method Details
-
fromPolyhedron
Converts a Polyhedron to a CSG object. -
toPolyhedron
Converts this CSG object back to a Polyhedron. -
union
-
subtract
-
intersect
-
inverse
-
clone
-