|
| | BrepGeometry () |
| | Default Constructor. More...
|
| |
| | BrepGeometry (const std::string &name) |
| | Constructor. More...
|
| |
| virtual XAO::Format | getFormat () |
| | Gets the format of the geometry. More...
|
| |
| virtual const std::string | getShapeString () |
| | Gets the shape as a string. More...
|
| |
| virtual void | setShapeString (const std::string &shape) |
| | Sets the shape from a string. More...
|
| |
| virtual void | writeShapeFile (const std::string &fileName) |
| | Writes shape to a file. More...
|
| |
| virtual void | readShapeFile (const std::string &fileName) |
| | Reads shape from a file. More...
|
| |
| TopoDS_Shape | getTopoDS_Shape () |
| | Gets the shape as a TopoDS_Shape. More...
|
| |
| void | setTopoDS_Shape (const TopoDS_Shape &shape) |
| | Sets the shape from a TopoDS_Shape. More...
|
| |
| void | getEdgeVertices (int edgeIndex, int &vertexA, int &vertexB) |
| | Gives the two extrimities of an edge. More...
|
| |
| int | countFaceWires (int faceIndex) |
| | Gets the number of wires of a face (including holes). More...
|
| |
| std::vector< int > | getFaceEdges (int faceIndex, int wireIndex) |
| | Gets the indices of the wires of the face. More...
|
| |
| int | countSolidShells (int solidIndex) |
| | Gets the number of shells of a solid (including cavities). More...
|
| |
| std::vector< int > | getSolidFaces (int solidIndex, int shellIndex) |
| | Gets the indices of the shells of the solids. More...
|
| |
| void | getVertexXYZ (int vertexIndex, double &xCoord, double &yCoord, double &zCoord) |
| | Gets the coordinates of a vertex. More...
|
| |
| double | getEdgeLength (int index) |
| | Gets the length of an edge. More...
|
| |
| double | getFaceArea (int index) |
| | Gets the are of a face. More...
|
| |
| double | getSolidVolume (int index) |
| | Gets the volume of a solid. More...
|
| |
| int | getVertexID (int index) |
| | Gets the ID of a vertex. More...
|
| |
| int | getEdgeID (int index) |
| | Gets the ID of an edge. More...
|
| |
| int | getFaceID (int index) |
| | Gets the ID of a face. More...
|
| |
| int | getSolidID (int index) |
| | Gets the ID of a solid. More...
|
| |
| void | setVertexID (int index, int id) |
| | Sets the ID of a vertex. More...
|
| |
| void | setEdgeID (int index, int id) |
| | Sets the ID of an edge. More...
|
| |
| void | setFaceID (int index, int id) |
| | Sets the ID of a face. More...
|
| |
| void | setSolidID (int index, int id) |
| | Sets the ID of a solid. More...
|
| |
| int | findVertex (int id) |
| | Finds a vertex with its ID. More...
|
| |
| int | findEdge (int id) |
| | Finds an edge with its ID. More...
|
| |
| int | findFace (int id) |
| | Finds a face with its ID. More...
|
| |
| int | findSolid (int id) |
| | Finds a solid with its ID. More...
|
| |
| const std::string | findVertexName (int id) |
| | Finds the name of a vertex with its ID. More...
|
| |
| const std::string | findEdgeName (int id) |
| | Finds the name of an edge with its ID. More...
|
| |
| const std::string | findFaceName (int id) |
| | Finds the name of a face with its ID. More...
|
| |
| const std::string | findSolidName (int id) |
| | Finds the name of a solid with its ID. More...
|
| |
| void | changeVertexName (int id, const std::string &name) |
| | Changes the name of a vertex. More...
|
| |
| void | changeEdgeName (int id, const std::string &name) |
| | Changes the name of an edge. More...
|
| |
| void | changeFaceName (int id, const std::string &name) |
| | Changes the name of a face. More...
|
| |
| void | changeSolidName (int id, const std::string &name) |
| | Changes the name of a solid. More...
|
| |
|
Constructor.
Creates a geometry.
- Returns
- the created geometry.
|
| const std::string | getName () |
| | Gets the name of the geometry. More...
|
| |
| void | setName (const std::string &name) |
| | Sets the name of the geometry. More...
|
| |
|
int | countElements (XAO::Dimension dim) const |
| |
|
int | countVertices () const |
| |
|
int | countEdges () const |
| |
|
int | countFaces () const |
| |
|
int | countSolids () const |
| |
|
void | setCountVertices (int nb) |
| |
|
void | setCountEdges (int nb) |
| |
|
void | setCountFaces (int nb) |
| |
|
void | setCountSolids (int nb) |
| |
|
const std::string | getVertexName (int index) |
| |
|
const std::string | getEdgeName (int index) |
| |
|
const std::string | getFaceName (int index) |
| |
|
const std::string | getSolidName (int index) |
| |
|
void | setVertexName (int index, const std::string &name) |
| |
|
void | setEdgeName (int index, const std::string &name) |
| |
|
void | setFaceName (int index, const std::string &name) |
| |
|
void | setSolidName (int index, const std::string &name) |
| |
|
bool | hasVertexName (int index) |
| |
|
bool | hasEdgeName (int index) |
| |
|
bool | hasFaceName (int index) |
| |
|
bool | hasSolidName (int index) |
| |
|
const std::string | getVertexReference (int index) |
| |
|
const std::string | getEdgeReference (int index) |
| |
|
const std::string | getFaceReference (int index) |
| |
|
const std::string | getSolidReference (int index) |
| |
|
const std::string | getElementReference (XAO::Dimension dim, int index) |
| |
|
void | setVertexReference (int index, const std::string &reference) |
| |
|
void | setEdgeReference (int index, const std::string &reference) |
| |
|
void | setFaceReference (int index, const std::string &reference) |
| |
|
void | setSolidReference (int index, const std::string &reference) |
| |
|
void | setVertex (int index, const std::string &name, const std::string &reference) |
| |
|
void | setEdge (int index, const std::string &name, const std::string &reference) |
| |
|
void | setFace (int index, const std::string &name, const std::string &reference) |
| |
|
void | setSolid (int index, const std::string &name, const std::string &reference) |
| |
|
int | getVertexIndexByReference (const std::string &reference) |
| |
|
int | getEdgeIndexByReference (const std::string &reference) |
| |
|
int | getFaceIndexByReference (const std::string &reference) |
| |
|
int | getSolidIndexByReference (const std::string &reference) |
| |
|
int | getElementIndexByReference (XAO::Dimension dim, const std::string &reference) |
| |
|
GeometricElementList::iterator | begin (XAO::Dimension dim) |
| |
|
GeometricElementList::iterator | end (XAO::Dimension dim) |
| |
| bool | isReadOnly () |
| | Verifies if the geometry is read only. More...
|
| |
| void | setReadOnly () |
| | Sets the geometry read only. More...
|
| |
|
std::string | m_name |
| |
|
GeometricElementList | m_vertices |
| |
|
GeometricElementList | m_edges |
| |
|
GeometricElementList | m_faces |
| |
|
GeometricElementList | m_solids |
| |
|
bool | m_readOnly |
| |
|
static Geometry * | createGeometry (XAO::Format format, const std::string &name) |
| |
|
void | checkReadOnly () |
| |
Representation of a BRep Geometry.