Class RegionBSPTree
java.lang.Object
org.episteme.core.mathematics.geometry.RegionBSPTree
Represents a region in 3D space using a Binary Space Partitioning (BSP) tree.
This is the core data structure for Constructive Solid Geometry (CSG). Each node represents a partitioning plane.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty region (void).RegionBSPTree(boolean full) Creates a region representing the whole space. -
Method Summary
-
Constructor Details
-
RegionBSPTree
public RegionBSPTree()Creates an empty region (void). -
RegionBSPTree
public RegionBSPTree(boolean full) Creates a region representing the whole space.- Parameters:
full- if true, represents the whole space; if false, represents empty space
-
-
Method Details
-
contains
Checks if a point is inside the region.- Parameters:
point- the point to check- Returns:
- true if inside
-