com.supermap.mapping.collector

Class ElementPolygon



  • public class ElementPolygon
    extends CollectorElement
    region type collection object class.
    • Constructor Detail

      • ElementPolygon

        public ElementPolygon()
        Construct a new region type of collection object
    • Method Detail

      • fromGeometry

        public boolean fromGeometry(Geometry geometry)
        construct region type collection object by Geometry.
        Specified by:
        fromGeometry in class CollectorElement
        Parameters:
        geometry - geographic element.
        Returns:
        A boolean. Return true if successful; otherwise, false.