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

com.harium.storage.octree.OctreeNode 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.*;

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;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy