Class BasicGrid

  • Direct Known Subclasses:
    StaticGrid

    public class BasicGrid
    extends java.lang.Object
    BasicGrid Basic Class abstracting a gridded structure in a 3d space; Usueful for having coherent float to integer conversion in a unique place: Some Notes: - bbox is the real occupation of the box in the space; - siz is the number of cells for each side OBJTYPE: Type of the indexed objects. SCALARTYPE: Scalars type for structure's internal data (may differ from object's scalar type).
    • Constructor Detail

      • BasicGrid

        public BasicGrid()
    • Method Detail

      • computeDimAndVoxel

        public final void computeDimAndVoxel()
      • BoxToIBox

        public final void BoxToIBox​(Box3 b,
                                    Box3 ib)
      • IBoxToBox

        public final void IBoxToBox​(Box3 ib,
                                    Box3 b)
      • bestDim

        public final void bestDim​(int elems,
                                  Point3 size,
                                  Point3 dim)