Changeset 30164 in osm
- Timestamp:
- 2014-01-01T20:29:30+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/seamap/SeaMap.java
r30160 r30164 24 24 ANON, // Edge inner nodes 25 25 ISOL, // Node not part of Edge 26 CONN // Edge first and last nodes 26 CONN, // Edge first and last nodes 27 DPTH // Member of sounding array 27 28 } 28 29 … … 31 32 public double lon; // Longitude 32 33 public Nflag flg; // Role of node 34 public double val; // Sounding value 33 35 34 36 public Snode() { … … 36 38 lat = 0; 37 39 lon = 0; 40 val = 0; 38 41 } 39 42 public Snode(double ilat, double ilon) { … … 41 44 lat = ilat; 42 45 lon = ilon; 46 val = 0; 43 47 } 44 48 public Snode(double ilat, double ilon, Nflag iflg) { … … 46 50 lon = ilon; 47 51 flg = iflg; 52 val = 0; 53 } 54 public Snode(double ilat, double ilon, Nflag iflg, double ival) { 55 lat = ilat; 56 lon = ilon; 57 flg = iflg; 58 val = ival; 59 } 60 } 61 62 public class Sarray { // A sounding array 63 public ArrayList<Long> nodes; // Sounding nodes 64 65 public Sarray() { 66 nodes = new ArrayList<Long>(); 48 67 } 49 68 } … … 122 141 public class NodeTab extends HashMap<Long, Snode> { 123 142 public NodeTab() { 143 super(); 144 } 145 } 146 147 public class DpthTab extends HashMap<Long, Snode> { 148 public DpthTab() { 124 149 super(); 125 150 } … … 177 202 178 203 public NodeTab nodes; 204 public DpthTab depths; 179 205 public EdgeTab edges; 180 206 public AreaTab areas;
Note:
See TracChangeset
for help on using the changeset viewer.