Base class for geometries.
|
Constructor.
Creates a geometry.
- Returns
- the created geometry.
|
std::string | m_name |
|
GeometricElementList | m_vertices |
|
GeometricElementList | m_edges |
|
GeometricElementList | m_faces |
|
GeometricElementList | m_solids |
|
bool | m_readOnly |
|
void | checkReadOnly () throw (XAO_Exception) |
|
static Geometry * | createGeometry (const XAO::Format &format, const std::string &name) throw (XAO_Exception) |
|
virtual | ~Geometry () |
| Destructor. More...
|
|
const std::string | getName () |
| Gets the name of the geometry. More...
|
|
void | setName (const std::string &name) |
| Sets the name of the geometry. More...
|
|
virtual const XAO::Format | getFormat ()=0 |
| Gets the format of the geometry. More...
|
|
virtual const std::string | getShapeString ()=0 |
|
virtual void | setShapeString (const std::string &shape)=0 |
|
virtual void | writeShapeFile (const std::string &fileName)=0 |
|
virtual void | readShapeFile (const std::string &fileName)=0 |
|
const int | countElements (const XAO::Dimension &dim) const throw (XAO_Exception) |
|
const int | countVertices () const |
|
const int | countEdges () const |
|
const int | countFaces () const |
|
const int | countSolids () const |
|
void | setCountVertices (const int &nb) throw (XAO_Exception) |
|
void | setCountEdges (const int &nb) throw (XAO_Exception) |
|
void | setCountFaces (const int &nb) throw (XAO_Exception) |
|
void | setCountSolids (const int &nb) throw (XAO_Exception) |
|
const std::string | getVertexName (const int &index) throw (XAO_Exception) |
|
const std::string | getEdgeName (const int &index) throw (XAO_Exception) |
|
const std::string | getFaceName (const int &index) throw (XAO_Exception) |
|
const std::string | getSolidName (const int &index) throw (XAO_Exception) |
|
void | setVertexName (const int &index, const std::string &name) throw (XAO_Exception) |
|
void | setEdgeName (const int &index, const std::string &name) throw (XAO_Exception) |
|
void | setFaceName (const int &index, const std::string &name) throw (XAO_Exception) |
|
void | setSolidName (const int &index, const std::string &name) throw (XAO_Exception) |
|
const bool | hasVertexName (const int &index) throw (XAO_Exception) |
|
const bool | hasEdgeName (const int &index) throw (XAO_Exception) |
|
const bool | hasFaceName (const int &index) throw (XAO_Exception) |
|
const bool | hasSolidName (const int &index) throw (XAO_Exception) |
|
const std::string | getVertexReference (const int &index) throw (XAO_Exception) |
|
const std::string | getEdgeReference (const int &index) throw (XAO_Exception) |
|
const std::string | getFaceReference (const int &index) throw (XAO_Exception) |
|
const std::string | getSolidReference (const int &index) throw (XAO_Exception) |
|
const std::string | getElementReference (const XAO::Dimension &dim, const int &index) throw (XAO_Exception) |
|
void | setVertexReference (const int &index, const std::string &reference) throw (XAO_Exception) |
|
void | setEdgeReference (const int &index, const std::string &reference) throw (XAO_Exception) |
|
void | setFaceReference (const int &index, const std::string &reference) throw (XAO_Exception) |
|
void | setSolidReference (const int &index, const std::string &reference) throw (XAO_Exception) |
|
void | setVertex (const int &index, const std::string &name, const std::string &reference) throw (XAO_Exception) |
|
void | setEdge (const int &index, const std::string &name, const std::string &reference) throw (XAO_Exception) |
|
void | setFace (const int &index, const std::string &name, const std::string &reference) throw (XAO_Exception) |
|
void | setSolid (const int &index, const std::string &name, const std::string &reference) throw (XAO_Exception) |
|
const int | getVertexIndexByReference (const std::string &reference) |
|
const int | getEdgeIndexByReference (const std::string &reference) |
|
const int | getFaceIndexByReference (const std::string &reference) |
|
const int | getSolidIndexByReference (const std::string &reference) |
|
const int | getElementIndexByReference (const XAO::Dimension &dim, const std::string &reference) throw (XAO_Exception) |
|
GeometricElementList::iterator | begin (const XAO::Dimension &dim) throw (XAO_Exception) |
|
GeometricElementList::iterator | end (const XAO::Dimension &dim) throw (XAO_Exception) |
|
bool | isReadOnly () |
| Verifies if the geometry is read only. More...
|
|
void | setReadOnly () |
| Sets the geometry read only. More...
|
|