Packagesrc
Classpublic class StationTopology



Public Properties
 PropertyDefined by
  networkPoints : PointArray
StationTopology
  triBackTransforms : DataTable
StationTopology
  triIndexes : DataTable
StationTopology
  triNeighbors : Array
StationTopology
  triTriangles : DataTable
StationTopology
Public Methods
 MethodDefined by
  
StationTopology(data:XML)
StationTopology
Protected Methods
 MethodDefined by
  
getNetworkPoints(data:XML):void
StationTopology
  
StationTopology
  
getTriangulationIndexes(data:XML):void
Vertices (in triples) for each triangle in the triangulation covering.
StationTopology
  
getTriangulationIndexes(data:XML):void
This gives the triangles in index order.
StationTopology
  
This gives the triangles, in original point order, , by all the neighboring triangles.
StationTopology
Property detail
networkPointsproperty
public var networkPoints:PointArray
triBackTransformsproperty 
public var triBackTransforms:DataTable
triIndexesproperty 
public var triIndexes:DataTable
triNeighborsproperty 
public var triNeighbors:Array
triTrianglesproperty 
public var triTriangles:DataTable
Constructor detail
StationTopology()constructor
public function StationTopology(data:XML)Parameters
data:XML
Method detail
getNetworkPoints()method
protected function getNetworkPoints(data:XML):voidParameters
data:XML
getTriangulationBackTransforms()method 
protected function getTriangulationBackTransforms(data:XML):voidParameters
data:XML
getTriangulationIndexes()method 
protected function getTriangulationIndexes(data:XML):void

Vertices (in triples) for each triangle in the triangulation covering. You need to make sure that: -- the triangles are unique: -- the vertexes are sorted in order ( , , ) -- the vertex order is identical among each of our structures -- the ids agree across all our structures.

Parameters
data:XML
getTriangulationIndexes()method 
protected function getTriangulationIndexes(data:XML):void

This gives the triangles in index order. See getTriangulationTriangles for the caveats this structure should obey (uniqueness and index agreement with rest of structures)

Parameters
data:XML — XML object to take indexes from.
getTriangulationNeighbors()method 
protected function getTriangulationNeighbors(data:XML):void

This gives the triangles, in original point order, , by all the neighboring triangles. If you follow this list around naively you'll enumerate each triangel three times.

Parameters
data:XML — XML object to take indexes from.