Class StandardGISGridSet<P extends GISPrimitive>

  • Type Parameters:
    P - is the type of the user data inside the node.
    All Implemented Interfaces:
    Iterable<P>, Collection<P>, Set<P>, GISSet<P>

    public class StandardGISGridSet<P extends GISPrimitive>
    extends AbstractGISGridSet<P>
    This class describes a grid that contains GIS primitives and that permits to find them according to there geo-location.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:53
    Author:
    Stéphane GALLAND
    See Also:
    GISPrimitive
    Maven Group Id:
    org.arakhne.afc.gis
    Maven Artifact Id:
    giscore
    • Constructor Detail

      • StandardGISGridSet

        public StandardGISGridSet​(int nRows,
                                  int nColumns,
                                  Rectangle2d bounds)
        Constructor.
        Parameters:
        nRows - numbers of rows in the grid
        nColumns - numbers of columns in the grid
        bounds - are the bounds of the grid cell.
      • StandardGISGridSet

        public StandardGISGridSet​(int nRows,
                                  int nColumns,
                                  double boundsX,
                                  double boundsY,
                                  double boundsWidth,
                                  double boundsHeight)
        Constructor.
        Parameters:
        nRows - numbers of rows in the grid
        nColumns - numbers of columns in the grid
        boundsX - is the bounds of the scene.
        boundsY - is the bounds of the scene.
        boundsWidth - is the bounds of the scene.
        boundsHeight - is the bounds of the scene.
    • Method Detail

      • add

        public boolean add​(P point)