| Property | Defined by | ||
|---|---|---|---|
| focusID : uint
The station to center metric calculations around
| StationGraph | ||
| gridVals : Dictionary | StationGraph | ||
| nodes : DataTable
List of all nodes --
all nodes involved in triangluation,
including interpolated/edge padding nodes
| StationGraph | ||
| routeLines : Dictionary
Indices for points on a line, in line order
| StationGraph | ||
| stns : DataTable
List of all station (mutable) nodes
| StationGraph | ||
| Property | Defined by | ||
|---|---|---|---|
| _coords : Dictionary | StationGraph | ||
| _focusID : uint = 0 | StationGraph | ||
| _logicalsize : uint = 1000 | StationGraph | ||
| _scaleFactor : Dictionary | StationGraph | ||
| Method | Defined by | ||
|---|---|---|---|
|
StationGraph(data:XML, logicalsize:uint)
| StationGraph | ||
|
coords(geom:String):PointArray
| StationGraph | ||
| Method | Defined by | ||
|---|---|---|---|
|
buildLines():void
Gather up all the stations on a given line,
in the order they occur on that line.
| StationGraph | ||
|
buildMetricCoords(geom:String):void
Push each point away from its current position
to lie a distance "metric" away from the focus point.
| StationGraph | ||
|
buildStaticCoords(geom:String):void
Gather up all the coordinate attributes for this geometry into a pointarray
| StationGraph | ||
|
routesFromXML(data:XMLList):DataTable
Reads in route information from XML
NOTE: routes DataTable indexes WILL NOT match their IDs.
| StationGraph | ||
|
stationsFromXML(data:XML):void
Memoize and return a PointArrayScaler object for the given set of coordinates
| StationGraph | ||
|
stationsFromXML(data:XML):void
Read station information from XML
| StationGraph | ||
| Constant | Defined by | ||
|---|---|---|---|
| RLINECOLORS : Object [static]
| StationGraph | ||
| RLINENAMES : Array [static]
| StationGraph | ||
| _coords | property |
protected var _coords:Dictionary
| _focusID | property |
protected var _focusID:uint = 0
| focusID | property |
focusID:uint [read-write]The station to center metric calculations around
This property can be used as the source for data binding.
Implementation public function get focusID():uint
public function set focusID(value:uint):void
| gridVals | property |
public var gridVals:Dictionary
| _logicalsize | property |
protected var _logicalsize:uint = 1000
| nodes | property |
public var nodes:DataTableList of all nodes -- all nodes involved in triangluation, including interpolated/edge padding nodes
| routeLines | property |
public var routeLines:DictionaryIndices for points on a line, in line order
| _scaleFactor | property |
protected var _scaleFactor:Dictionary
| stns | property |
public var stns:DataTableList of all station (mutable) nodes
| StationGraph | () | constructor |
public function StationGraph(data:XML, logicalsize:uint)Parameters
data:XML |
|
logicalsize:uint |
| buildLines | () | method |
protected function buildLines():voidGather up all the stations on a given line, in the order they occur on that line.
| buildMetricCoords | () | method |
protected function buildMetricCoords(geom:String):voidPush each point away from its current position to lie a distance "metric" away from the focus point.
Parametersgeom:String |
| buildStaticCoords | () | method |
protected function buildStaticCoords(geom:String):voidGather up all the coordinate attributes for this geometry into a pointarray
Parametersgeom:String |
| coords | () | method |
public function coords(geom:String):PointArrayParameters
geom:String |
PointArray |
| routesFromXML | () | method |
protected function routesFromXML(data:XMLList):DataTableReads in route information from XML NOTE: routes DataTable indexes WILL NOT match their IDs. (there are one fewer routes than stations).
Parametersdata:XMLList — The subway node to interpret
|
DataTable |
| stationsFromXML | () | method |
protected function stationsFromXML(data:XML):voidMemoize and return a PointArrayScaler object for the given set of coordinates
Parametersdata:XML |
| stationsFromXML | () | method |
protected function stationsFromXML(data:XML):voidRead station information from XML
Parametersdata:XML — The subway node to interpret
|
| RLINECOLORS | constant |
public static const RLINECOLORS:Object
| RLINENAMES | constant |
public static const RLINENAMES:Array