Ignore:
Timestamp:
2013-01-29T21:49:08+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/seamap/SeaMap.java

    r29206 r29215  
    2626                UNKN, NODE, LINE, AREA
    2727        }
     28       
     29        public enum Nflag {
     30                ANON, ISOL, CONN
     31        }
     32
     33        public class Coord {
     34                public double lat;
     35                public double lon;
     36                public Nflag flg;
     37
     38                public Coord(double ilat, double ilon) {
     39                        lat = ilat;
     40                        lon = ilon;
     41                        flg = Nflag.ANON;
     42                }
     43                public Coord(double ilat, double ilon, Nflag iflg) {
     44                        lat = ilat;
     45                        lon = ilon;
     46                        flg = iflg;
     47                }
     48        }
    2849
    2950        public class AttItem {
     
    98119                        atts = new AttMap();
    99120                        objs = new ObjMap();
    100                 }
    101         }
    102 
    103         public class Coord {
    104                 public double lat;
    105                 public double lon;
    106 
    107                 public Coord(double ilat, double ilon) {
    108                         lat = ilat;
    109                         lon = ilon;
    110121                }
    111122        }
Note: See TracChangeset for help on using the changeset viewer.