Class OctNodeLeaf

java.lang.Object
cz.fidentis.analyst.data.octree.impl.OctNodeImpl
cz.fidentis.analyst.data.octree.impl.OctNodeLeaf
All Implemented Interfaces:
OctNode, Serializable

public class OctNodeLeaf extends OctNodeImpl
A leaf node of an Octree.
See Also:
  • Constructor Details

    • OctNodeLeaf

      public OctNodeLeaf(javax.vecmath.Point3d smallest, javax.vecmath.Point3d largest, List<MeshTriangle> triangles)
      Constructor of a leaf node
      Parameters:
      smallest - boundary box - corner with the smallest coordinates. Must not be null
      largest - boundary box - corner with the largest coordinates. Must not be null
      triangles - Mesh triangles which this oct node holds, meaning a bounding box of the triangle intersects with this oct node Must not be null
      Throws:
      IllegalArgumentException - if some parameter is wrong