![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Base class for node comparator objects.
When clients wish to join two tiled networks together, they must provide a comparator object which defines both a sort order (through operator()) and an isEdge() method which defines nodes lying at the edge of a tile.
For example:
class MyNodeCmp : public TSLNodeCmp { virtual bool isEdgeNode(const TSLNode& node) const { // Do whatever is appropriate return ???; } };
Public Member Functions | |
| TSLNodeCmp () | |
| virtual | ~TSLNodeCmp () |
| virtual bool | isEqual (const TSLNode &node1, const TSLNode &node2) const =0 |
| virtual bool | isEdgeNode (const TSLNode &node) const =0 |
|
inline |
Default constructor.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Checks whether the node is an edge node.
| node | The node. |