26#define MAX_NODES 100000
132 int addEdge(
int nIndex1,
int nIndex2);
133 int addEdge(
int nIndex1,
int nIndex2,
int nLeftFace,
int nRightFace);
151 virtual bool read(std::istream& infile);
152 virtual bool readNode(std::istream& infile);
153 virtual bool readEdge(std::istream& infile);
155 virtual bool write(std::ostream& outfile);
156 virtual bool writeNode(std::ostream& outfile,
int n);
157 virtual bool writeEdge(std::ostream& outfile,
int e);
std::vector< CSGEdge * > TEdgeList
std::vector< CSGNode * > TNodeList
CSGNode(TSphereCoord position)
virtual CSGNode * clone()
TSphereCoord getPosition()
void setPosition(TSphereCoord position)
void setIndex(int nIndex)
CSGEdge * getEdge(int nEdgeIndex)
virtual bool writeNode(std::ostream &outfile, int n)
void addNodeAdjacency(int nNode, int nAdjacency)
virtual ~CSphericalGraph()
virtual bool write(std::ostream &outfile)
std::vector< int > * getNodeAdjacency(int nIndex)
std::vector< int > m_NodeAdjacency[MAX_NODES]
virtual bool readNode(std::istream &infile)
virtual bool readEdge(std::istream &infile)
int addEdge(int nIndex1, int nIndex2)
int addNode(CSGNode *pNode)
virtual bool writeEdge(std::ostream &outfile, int e)
CSGNode * getNode(int nIndex)
virtual CSGNode * getNewNode()
CSphericalGraph & operator=(CSphericalGraph const &rhs)
virtual bool read(std::istream &infile)