Changeset 29384 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/CalibrationObject.java
- Timestamp:
- 2013-03-22T22:18:26+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/CalibrationObject.java
r29376 r29384 8 8 9 9 /** 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. 10 13 * 11 * @author zverik 14 * @author Zverik 15 * @license WTFPL 12 16 */ 13 17 public class CalibrationObject extends ImageryOffsetBase { 14 18 private LatLon[] geometry; 15 19 20 /** 21 * Initialize a calibration object from the array of nodes. 22 */ 16 23 public CalibrationObject(LatLon[] geometry) { 17 24 this.geometry = geometry; 18 25 } 19 26 27 /** 28 * Initialize a calibration object from OSM primitive. 29 */ 20 30 public CalibrationObject( OsmPrimitive p ) { 21 31 if( p instanceof Node ) … … 29 39 } 30 40 41 /** 42 * Get an array of points for this geometry. 43 */ 31 44 public LatLon[] getGeometry() { 32 45 return geometry;
Note:
See TracChangeset
for help on using the changeset viewer.
