com.supermap.mapping.dyn

Class DynamicCircle



  • public class DynamicCircle
    extends DynamicElement
    dynamic layer circle object
    • Constructor Detail

      • DynamicCircle

        public DynamicCircle()
    • Method Detail

      • fromGeometry

        public boolean fromGeometry(Geometry geometry)
        Convert dynamic layer circle objects according toGeoCircleGeoCirle
        Specified by:
        fromGeometry in class DynamicElement
        Parameters:
        geometry - Geographic elements
        Returns:
        A boolean, Returns true if the constructor successful; Otherwise false.
      • setRadius

        public void setRadius(double radius)
        Sets radius of circle
        Parameters:
        radius - radius
      • getRadius

        public double getRadius()
        Obtains radius
        Returns:
        return circle radius
      • setPoint

        public void setPoint(Point2D pt)
        sets point
        Parameters:
        pt - center points