Go to the documentation of this file.
26 #define MAX_NODES 100000
118 int addEdge(
int nIndex1,
int nIndex2);
119 int addEdge(
int nIndex1,
int nIndex2,
int nLeftFace,
int nRightFace);
137 virtual bool read(std::istream& infile);
138 virtual bool readNode(std::istream& infile);
139 virtual bool readEdge(std::istream& infile);
141 virtual bool write(std::ostream& outfile);
142 virtual bool writeNode(std::ostream& outfile,
int n);
143 virtual bool writeEdge(std::ostream& outfile,
int e);
std::vector< CSGNode * > TNodeList
CSphericalGraph & operator=(CSphericalGraph const &rhs)
void setIndex(int nIndex)
virtual bool read(std::istream &infile)
CSGNode(TSphereCoord position)
virtual bool readNode(std::istream &infile)
int addNode(CSGNode *pNode)
TSphereCoord getPosition()
virtual CSGNode * getNewNode()
int addEdge(int nIndex1, int nIndex2)
void setPosition(TSphereCoord position)
Use of this software is granted under one of the following two to be chosen freely by the user Boost Software License Version Marcin Kalicinski Permission is hereby free of to any person or organization obtaining a copy of the software and accompanying documentation covered by this and transmit the and to prepare derivative works of the and to permit third parties to whom the Software is furnished to do all subject to the including the above license this restriction and the following must be included in all copies of the in whole or in and all derivative works of the unless such copies or derivative works are solely in the form of machine executable object code generated by a source language processor THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR TITLE AND NON INFRINGEMENT IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN TORT OR ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE The MIT Marcin Kalicinski Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to copy
virtual bool readEdge(std::istream &infile)
std::vector< int > * getNodeAdjacency(int nIndex)
virtual bool writeNode(std::ostream &outfile, int n)
std::vector< CSGEdge * > TEdgeList
CSGEdge * getEdge(int nEdgeIndex)
void addNodeAdjacency(int nNode, int nAdjacency)
virtual bool writeEdge(std::ostream &outfile, int e)
std::vector< int > m_NodeAdjacency[MAX_NODES]
virtual bool write(std::ostream &outfile)
virtual CSGNode * clone()
CSGNode * getNode(int nIndex)
virtual ~CSphericalGraph()