com.harium.storage.octree.OctreeNode Maven / Gradle / Ivy
package com.harium.storage.octree;
import com.harium.etyl.linear.Point3D;
import com.harium.propan.linear.BoundingBox3D;
import java.util.*;
public class OctreeNode {
protected BoundingBox3D box;
protected Map> children;
protected Set dataSet = new HashSet();
protected List geometry = new ArrayList();
public OctreeNode(BoundingBox3D box) {
super();
this.box = box;
children = new HashMap>(8);
}
protected Map> getChildren() {
return children;
}
public Collection> getChildrenNodes() {
return children.values();
}
public BoundingBox3D getBox() {
return box;
}
}