public class GMLSpace extends GMLShape
Constructor and Description |
---|
GMLSpace(int id)
Construct a GMLSpace.
|
GMLSpace(int id,
java.util.List<GMLDirectedEdge> edges)
Construct a GMLSpace.
|
GMLSpace(int id,
java.util.List<GMLDirectedEdge> edges,
java.util.List<java.lang.Integer> neighbours)
Construct a GMLSpace.
|
getBounds, getCentreX, getCentreY, getCentroid, getCoordinates, getEdges, getNeighbour, getNeighbour, getUnderlyingCoordinates, getUnderlyingNodes, hasNeighbour, hasNeighbour, removeEdge, reorderEdges, replaceEdge, setCoordinates, setEdges, setNeighbour, setNeighbour
public GMLSpace(int id)
id
- The ID of the space.public GMLSpace(int id, java.util.List<GMLDirectedEdge> edges)
id
- The ID of the space.edges
- The edges of the space.public GMLSpace(int id, java.util.List<GMLDirectedEdge> edges, java.util.List<java.lang.Integer> neighbours)
id
- The ID of the space.edges
- The edges of the space.neighbours
- The neighbours of each edge.