Class MapElementGroup


  • public class MapElementGroup
    extends Object
    Group of map elements.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:54
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.gis
    Maven Artifact Id:
    gisinputoutput
    • Constructor Detail

      • MapElementGroup

        public MapElementGroup()
        Constructor.
    • Method Detail

      • classifiesElement

        @Pure
        public static ShapeElementType classifiesElement​(MapElement element)
        Replies the shape type that is corresponding to the given element.
        Parameters:
        element - the element to classify.
        Returns:
        the type of the element
      • classifiesElements

        @Pure
        public static Map<ShapeElementType,​MapElementGroup> classifiesElements​(Collection<? extends MapElement> elements)
        Replies the shape types that are corresponding to the given elements.
        Parameters:
        elements - the element to classify.
        Returns:
        the types and the associated elements
      • classifiesElements

        @Pure
        public static Map<ShapeElementType,​MapElementGroup> classifiesElements​(Iterator<? extends MapElement> elements)
        Replies the shape types that are corresponding to the given elements.
        Parameters:
        elements - the elements to classify.
        Returns:
        the types and the associated elements
      • classifiesElements

        public static void classifiesElements​(Map<ShapeElementType,​MapElementGroup> classification,
                                              Collection<? extends MapElement> elements)
        Replies the shape types that are corresponding to the given elements.
        Parameters:
        classification - is the map which will be filled with the classified elements.
        elements - the elements to classify.
      • classifiesElements

        public static void classifiesElements​(Map<ShapeElementType,​MapElementGroup> classification,
                                              Iterator<? extends MapElement> elements)
        Replies the shape types that are corresponding to the given elements.
        Parameters:
        classification - is the map which will be filled with the classified elements.
        elements - the elements to classify.
      • add

        void add​(MapElement element)
        Add the given element into the group.
        Parameters:
        element - the element to add.
      • getBounds

        @Pure
        public ESRIBounds getBounds()
        Replies the bounds of the group.
        Returns:
        the bounds of the group.