Loading...
Searching...
No Matches
LocationPolygon.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
3import java.util.ArrayList;
4
29public final class LocationPolygon {
30
31
32 /*package*/ final ArrayList<GlobalPoint> points;
33
34 /*package*/ final Integer sublocationId;
35
36 /*package*/ final ArrayList<ArrayList<GlobalPoint>> innerRings;
37
42 ArrayList<GlobalPoint> points,
43 Integer sublocationId,
44 ArrayList<ArrayList<GlobalPoint>> innerRings) {
45 this.points = points;
46 this.sublocationId = sublocationId;
47 this.innerRings = innerRings;
48 }
49
55 public ArrayList<GlobalPoint> getPoints() {
56 return points;
57 }
58
64 public Integer getSublocationId() {
65 return sublocationId;
66 }
67
74 public ArrayList<ArrayList<GlobalPoint>> getInnerRings() {
75 return innerRings;
76 }
77
78 @Override
79 public String toString() {
80 return "LocationPolygon{" +
81 "points=" + points +
82 "," + "sublocationId=" + sublocationId +
83 "," + "innerRings=" + innerRings +
84 "}";
85 }
86
87}