Class Grid3DLayout

  • All Implemented Interfaces:
    Layout<Object,​Grid>

    public class Grid3DLayout
    extends Object
    implements Layout<Object,​Grid>
    3D Layout for a 2D or 3D single occupancy grid. Origin is in lower left hand corner.
    Version:
    $Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
    Author:
    Nick Collier
    • Field Detail

      • point

        protected float[] point
    • Constructor Detail

      • Grid3DLayout

        public Grid3DLayout()
    • Method Detail

      • setProjection

        public void setProjection​(Grid grid)
        Description copied from interface: Layout
        Sets the projection associated with this Layout.
        Specified by:
        setProjection in interface Layout<Object,​Grid>
        Parameters:
        grid - the associated projection.
      • getLocation

        public float[] getLocation​(Object obj)
        Description copied from interface: Layout
        Gets the location of the specified object as determined by this layout.
        Specified by:
        getLocation in interface Layout<Object,​Grid>
        Parameters:
        obj - the object whose location we want.
        Returns:
        the location of the object.
      • update

        public void update()
        Description copied from interface: Layout
        Updates this layout.
        Specified by:
        update in interface Layout<Object,​Grid>
      • getName

        public String getName()
        Description copied from interface: Layout
        Gets the name of the layout
        Specified by:
        getName in interface Layout<Object,​Grid>
        Returns:
        name of the layout type
      • getBoundingBox

        public Box getBoundingBox()
        Description copied from interface: Layout
        Gets a bounding box that describes the extent of this layout in location coordinates.
        Specified by:
        getBoundingBox in interface Layout<Object,​Grid>
        Returns:
        a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.