|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object MapSegment MapAreaSegment
public class MapAreaSegment
segment of a MapArea
's outline. This isn't a MapElement
s
itself (for example, it has no individual representation).
Instead, it's simply a different way to access an area's data.
Field Summary |
---|
Fields inherited from class MapSegment |
---|
endNode, startNode |
Constructor Summary | |
---|---|
MapAreaSegment(MapArea area,
boolean areaRight,
MapNode startNode,
MapNode endNode)
|
Method Summary | |
---|---|
MapArea |
getArea()
|
boolean |
isAreaRight()
returns true if the area is to the right of this segment |
Methods inherited from class MapSegment |
---|
getCenter, getDirection, getEndNode, getLineSegment, getOtherNode, getRightNormal, getStartEndNodes, getStartNode, isConnectedTo, isConnectedTo, sharesBothNodes |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapAreaSegment(MapArea area, boolean areaRight, MapNode startNode, MapNode endNode)
Method Detail |
---|
public MapArea getArea()
public boolean isAreaRight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |