csTriangleVerticesSorted Class ReferenceThis class works closely with csTriangleVerticesCost and maintains a sorted (on cost) view of the vertices.
Public Member Functions
|void||ChangeCostVertex (int vtidx)|
|Change the cost of a vertex. |
|Get the lowest cost vertex that is still in the sorted list. |
Detailed DescriptionThis class works closely with csTriangleVerticesCost and maintains a sorted (on cost) view of the vertices.
Member Function Documentation
Change the cost of a vertex.
This function assumes the vertex cost has already been updated in the vertices table.
Get the lowest cost vertex that is still in the sorted list.
It will be 'removed' so that next time you call this function you will get the next lowest cost vertex. Returns -1 if there are no more vertices.
The documentation for this class was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3