public class Polygon extends Navigatable implements Focusable
The Polygon class represents the 3D shape of a Location on a Map.
A Location would have zero or more polygons associated with it. For example, a Washroom Location might a have a few Polygons spread throughout the Venue for each one that exists, but a single store might just have one presence, and therefor one Polygon. Some locations just have a single point and only have Coordinates.
Modifier and Type | Method and Description |
---|---|
int |
color()
Gets the Polygon's original color
|
Coordinate |
getAnchor()
Gets the Polygon's anchor to drop an Overlay on it
|
Coordinate[] |
getEntrances()
Gets the Polygon's entrances
|
int |
getIndex() |
Location[] |
getLocations()
Gets the Polygon's locations
|
Map |
getMap()
Gets the Polygon's Map
|
Coordinate[] |
getNavigatableCoordinates() |
com.mappedin.sdk.FocusPoints |
getPoints()
Returns a focusable object's 3D points
|
Venue |
getVenue()
Gets the Polygon's Venue
|
directionsFrom, directionsFrom, directionsTo, directionsTo
public Coordinate[] getNavigatableCoordinates()
getNavigatableCoordinates
in class Navigatable
public int getIndex()
public Coordinate[] getEntrances()
Coordinate
public Location[] getLocations()
Location
public Coordinate getAnchor()
Coordinate
public int color()
android.graphics.Color