java.lang.Object | |
↳ | com.microstrategy.web.app.maps.topology.Topology |
Topology class process the polygon and break a polygon into arc to build topology.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected List<GeoPath> | allPaths | ||||||||||
protected List<LatLng> | allPoints | ||||||||||
protected ArcIndexer | arcIndexer | ||||||||||
protected Map<Integer, List<Integer>> | pathArcMap | ||||||||||
protected GeoPointFactory | pointFactory | ||||||||||
protected Map<Integer, List<Integer>> | shapePathMap |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addPolygon(GeoPolygon polygon, int id) | ||||||||||
void | addShape(MultiGeoPolygon shape, int id) | ||||||||||
void |
buildArcs()
Build the topology based on all the paths.
| ||||||||||
MultiGeoPolygon | getShape(int id) | ||||||||||
MultiGeoPolygon | getShape(int id, LineSimplification simplification) | ||||||||||
MultiGeoPolygon |
getShape(ArrayList<Integer> shapeIds, LineSimplification simplification)
Merge multiple shapes into one geoshape.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | addEdge(int startId, int endId) | ||||||||||
int | addEdge(int startId, int endId, int start2, int end2) | ||||||||||
List<GeoPoint> | createGeoPoints(List<LatLng> latLngs) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Build the topology based on all the paths.
Merge multiple shapes into one geoshape.