Ignore:
Timestamp:
2013-03-22T22:18:26+01:00 (13 years ago)
Author:
zverik
Message:

ImageryID refactoring and javadocs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/CalibrationObject.java

    r29376 r29384  
    88
    99/**
     10 * A calibration geometry data type. It was called an object long ago,
     11 * when it contained an information on an OSM object. I decided not to rename
     12 * this class.
    1013 *
    11  * @author zverik
     14 * @author Zverik
     15 * @license WTFPL
    1216 */
    1317public class CalibrationObject extends ImageryOffsetBase {
    1418    private LatLon[] geometry;
    1519
     20    /**
     21     * Initialize a calibration object from the array of nodes.
     22     */
    1623    public CalibrationObject(LatLon[] geometry) {
    1724        this.geometry = geometry;
    1825    }
    1926
     27    /**
     28     * Initialize a calibration object from OSM primitive.
     29     */
    2030    public CalibrationObject( OsmPrimitive p ) {
    2131        if( p instanceof Node )
     
    2939    }
    3040
     41    /**
     42     * Get an array of points for this geometry.
     43     */
    3144    public LatLon[] getGeometry() {
    3245        return geometry;
Note: See TracChangeset for help on using the changeset viewer.