Uses of Class
overit.geocall.basic.anonymizer.Anonymizer.CoordinatesAnonymizer
Packages that use Anonymizer.CoordinatesAnonymizer
-
Uses of Anonymizer.CoordinatesAnonymizer in overit.geocall.basic.anonymizer
Methods in overit.geocall.basic.anonymizer that return Anonymizer.CoordinatesAnonymizerModifier and TypeMethodDescriptionAnonymizer.CoordinatesAnonymizer.anonymizeCircle(double radius) Generates a random coordinate value in the neighborhood of the current coordinates and sets it as the value of both fields assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLatitude()Set a random latitude (between -90° and 90°) as value of the latitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLatitude(double offset) Generate a random latitude within the neighbourhood of the current field's value and set it as value of the latitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLatitude(double from, double to) Generate a random latitude between a given range and set it as value of the latitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLongitude()Set a random longitude (between -180° and 180°) as value of the longitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLongitude(double offset) Generate a random longitude within the neighbourhood of the current field's value and set it as value of the longitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeLongitude(double from, double to) Generate a random latitude between a given range and set it as value of the longitude's field assigned to this instance.Anonymizer.CoordinatesAnonymizer.anonymizeRect(double offset) Generates a random coordinate value in the neighborhood of the current coordinates and sets it as the value of both fields assigned to this instance.Anonymizer.forCoordinate(String latitudeField, String longitudeField) Use this method to get the reference of theanonymizerthat contains the methods you can use to obfuscate the geographical coordinates defined by the values contained into the two input parameters.Anonymizer.CoordinatesAnonymizer.setLatitude(Double value) Set forcibly the value for the latitude's field.Anonymizer.CoordinatesAnonymizer.setLongitude(Double value) Set forcibly the value for the longitude's field.