Class TopologyBuilder
- java.lang.Object
-
- com.microstrategy.web.app.maps.topology.TopologyBuilder
-
public class TopologyBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TopologyBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addShape(MultiGeoPolygon shape, int shapeId)
Add a shape object to build the topology.Topology
getTopology()
Get the topology object once all the shape objects are added.
-
-
-
Field Detail
-
topoRepo
protected Topology topoRepo
-
-
Method Detail
-
addShape
public void addShape(MultiGeoPolygon shape, int shapeId)
Add a shape object to build the topology. The id can be used to retrieve topology info later in {@see getTopology} method.- Parameters:
shape
-shapeId
-
-
getTopology
public Topology getTopology()
Get the topology object once all the shape objects are added.- Returns:
-
-