Class MeasurementErrorModifier

    • Constructor Detail

      • MeasurementErrorModifier

        public MeasurementErrorModifier()
    • Method Detail

      • modify

        public Polygon modify​(Polygon p,
                              double threshold)
        Modifies a polygon by adding a random error between -threshold and +threshold to its latitude and longitude
        Parameters:
        p - Polygon to modify
        threshold - Error range
        Returns:
        Modified polygon with the same name
      • getName

        public String getName()
        Description copied from interface: IPolygonModifier
        Return name of modifier class
        Returns:
        name of modifier, as string