Polygon on the location view in WGS84 coordinates. More...
Public Member Functions | |
| LocationPolygon (ArrayList< GlobalPoint > points, Integer sublocationId, ArrayList< ArrayList< GlobalPoint > > innerRings) | |
| Default constructor for class LocationPolygon. | |
| ArrayList< GlobalPoint > | getPoints () |
| Outer ring vertices in WGS84 GlobalPoint. | |
| Integer | getSublocationId () |
| Floor this polygon is attached to, or null for the outdoor map. | |
| ArrayList< ArrayList< GlobalPoint > > | getInnerRings () |
| Holes. Each ring is WGS84 GlobalPoint. Empty means a solid polygon. | |
| String | toString () |
Polygon on the location view in WGS84 coordinates.
points is the outer ring. innerRings are holes (as in GeoJSON: first ring outer, the rest holes). An empty list is a solid polygon.
Java code snippet:
Kotlin code snippet:
Definition at line 29 of file LocationPolygon.java.
|
inline |
Default constructor for class LocationPolygon.
Definition at line 41 of file LocationPolygon.java.
|
inline |
Holes. Each ring is WGS84 GlobalPoint. Empty means a solid polygon.
Definition at line 74 of file LocationPolygon.java.
|
inline |
Outer ring vertices in WGS84 GlobalPoint.
Definition at line 55 of file LocationPolygon.java.
|
inline |
Floor this polygon is attached to, or null for the outdoor map.
Definition at line 64 of file LocationPolygon.java.
|
inline |
Definition at line 79 of file LocationPolygon.java.