|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.net.NOD1Part
public class NOD1Part
This is a component of the RoadNetwork. Keeps track of outside neighbours and allows subdivision to satisfy NOD1 constraints. The approach to subdivision is to tile the map into RouteCenters. One could imagine that overlapping RouteCenters would be an option, say by splitting largely independent networks (motorways, footways). Could be rolled into RouteCenter.
Nested Class Summary | |
---|---|
class |
NOD1Part.BBox
|
Constructor Summary | |
---|---|
NOD1Part()
Create an unbounded NOD1Part. |
Method Summary | |
---|---|
void |
addNode(RouteNode node)
Add a node to this part. |
java.util.List<RouteCenter> |
subdivide()
Subdivide this part recursively until it satisfies the constraints. |
protected java.util.List<RouteCenter> |
subdivideHelper(int depth)
Subdivide this part recursively until it satisfies the constraints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NOD1Part()
Method Detail |
---|
public void addNode(RouteNode node)
public java.util.List<RouteCenter> subdivide()
protected java.util.List<RouteCenter> subdivideHelper(int depth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |