com.harium.storage.octree.Octree Maven / Gradle / Ivy
package com.harium.storage.octree;
import com.harium.etyl.linear.Point3D;
import com.harium.propan.linear.BoundingBox3D;
import java.util.Set;
public interface Octree {
public static final int BELOW_LEFT_LOWER = 0;
public static final int BELOW_LEFT_UPPER = 1;
public static final int BELOW_RIGHT_LOWER = 2;
public static final int BELOW_RIGHT_UPPER = 3;
public static final int ABOVE_LEFT_LOWER = 4;
public static final int ABOVE_LEFT_UPPER = 5;
public static final int ABOVE_RIGHT_LOWER = 6;
public static final int ABOVE_RIGHT_UPPER = 7;
public void add(Point3D point, T data);
public OctreeNode getRoot();
public Set getData(BoundingBox3D box);
public Set> getNodes(BoundingBox3D box);
}