Changeset 32909 in osm for applications/editors/josm/plugins/seachart/src/s57/S57map.java
- Timestamp:
- 2016-09-03T16:52:05+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57map.java
r32907 r32909 18 18 // CHECKSTYLE.OFF: LineLength 19 19 20 public class MapBounds { 20 public static class MapBounds { 21 21 public double minlat; 22 22 public double minlon; … … 39 39 } 40 40 41 public class Snode { // All coordinates in map 41 public static class Snode { // All coordinates in map 42 42 public double lat; // Latitude in radians 43 43 public double lon; // Longitude in radians … … 74 74 } 75 75 76 public class Edge { // A polyline segment 76 public static class Edge { // A polyline segment 77 77 public long first; // First CONN node 78 78 public long last; // Last CONN node … … 90 90 } 91 91 92 public class Reln { 92 public static class Reln { 93 93 public long id; 94 94 public Rflag reln; … … 99 99 } 100 100 101 public class RelTab extends ArrayList<Reln> { 101 public static class RelTab extends ArrayList<Reln> { 102 102 public RelTab() { 103 103 super(); … … 105 105 } 106 106 107 public class ObjTab extends HashMap<Integer, AttMap> { 107 public static class ObjTab extends HashMap<Integer, AttMap> { 108 108 public ObjTab() { 109 109 super(); … … 111 111 } 112 112 113 public class ObjMap extends EnumMap<Obj, ObjTab> { 113 public static class ObjMap extends EnumMap<Obj, ObjTab> { 114 114 public ObjMap() { 115 115 super(Obj.class); … … 117 117 } 118 118 119 public class AttMap extends HashMap<Att, AttVal<?>> { 119 public static class AttMap extends HashMap<Att, AttVal<?>> { 120 120 public AttMap() { 121 121 super(); … … 123 123 } 124 124 125 public class NodeTab extends HashMap<Long, Snode> { 125 public static class NodeTab extends HashMap<Long, Snode> { 126 126 public NodeTab() { 127 127 super(); … … 129 129 } 130 130 131 public class EdgeTab extends HashMap<Long, Edge> { 131 public static class EdgeTab extends HashMap<Long, Edge> { 132 132 public EdgeTab() { 133 133 super(); … … 135 135 } 136 136 137 public class FtrMap extends EnumMap<Obj, ArrayList<Feature>> { 137 public static class FtrMap extends EnumMap<Obj, ArrayList<Feature>> { 138 138 public FtrMap() { 139 139 super(Obj.class); … … 141 141 } 142 142 143 public class FtrTab extends HashMap<Long, Feature> { 143 public static class FtrTab extends HashMap<Long, Feature> { 144 144 public FtrTab() { 145 145 super(); … … 147 147 } 148 148 149 public class Prim { // Spatial element 149 public static class Prim { // Spatial element 150 150 public long id; // Snode ID for POINTs, Edge ID for LINEs & AREAs) 151 151 public boolean forward; // Direction of vector used (LINEs & AREAs) … … 173 173 } 174 174 175 public class Comp { // Composite spatial element 175 public static class Comp { // Composite spatial element 176 176 public long ref; // ID of Comp 177 177 public int size; // Number of Prims in this Comp … … 186 186 } 187 187 188 public class Geom { // Geometric structure of feature 188 public static class Geom { // Geometric structure of feature 189 189 public Pflag prim; // Geometry type 190 190 public ArrayList<Prim> elems; // Ordered list of elements … … 206 206 } 207 207 208 public class Feature { 208 public static class Feature { 209 209 public long id; // Ref for this feature 210 210 public Rflag reln; // Relationship status
Note:
See TracChangeset
for help on using the changeset viewer.
