public class

TopoArc

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.maps.topology.TopoArc

Summary

Constants
int REVERSE_DIRECTION
int STRAIGHT_DIRECTION
Fields
protected List<GeoPoint> allPoints
Public Constructors
TopoArc(List<GeoPoint> points)
Public Methods
boolean containsSamePoints(List<LatLng> arc, int direction)
Compare three points to decide whether the the two arcs are the same or not.
List<LatLng> getAllLatLngs()
List<GeoPoint> getAllPoints()
GeoPoint getGeoPointAt(int index)
LatLng getLatLngAt(int index)
int size()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int REVERSE_DIRECTION

Constant Value: 2 (0x00000002)

public static final int STRAIGHT_DIRECTION

Constant Value: 1 (0x00000001)

Fields

protected List<GeoPoint> allPoints

Public Constructors

public TopoArc (List<GeoPoint> points)

Public Methods

public boolean containsSamePoints (List<LatLng> arc, int direction)

Compare three points to decide whether the the two arcs are the same or not. We can do a throughout comparsion, but it would take more time.

Parameters
arc The list of objects to see whether the arc exists or not
direction or

public List<LatLng> getAllLatLngs ()

public List<GeoPoint> getAllPoints ()

public GeoPoint getGeoPointAt (int index)

public LatLng getLatLngAt (int index)

public int size ()