All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.harium.storage.octree.Octree Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy