Cell3D
Represents a 3D cell with a fixed size in a spatial hash grid structure. A Cell3D
is aligned along a grid using its integer coordinates and supports operations to manage points within its bounds, calculate distances to a query point, and retrieve its own bounding boxes.
Properties
Link copied to clipboard
Provides the bounding 3D box that contains all the points within the cell. If the points
collection is empty, it returns an empty box. Otherwise, it calculates the bounding box based on the minimum and maximum coordinates of the stored points (xMin
, xMax
, yMin
, yMax
, zMin
, zMax
).