next up previous contents
Next: SimWorld class Up: Street network data and Previous: Network file formats   Contents

Node class


{}
typedef long Id;
typedef double Coord ;
...
class Node {
private:
    Id id_;
public:
    void set_id( Id val ) { id_ = val ; }
    Id   id() { return id_ ; }

private:
    Coord xx_;
public:
    void set_xx( Coord val ) { xx_ = val ; }
    xx() { return xx_ ; }

private:
    Coord yy_ ;
public:
    void set_yy( Coord val ) { yy_ = val ; }
    yy() { return yy_ ; }
};



2004-02-02