|
xc
|
#include <LineMap.h>
Public Member Functions | |
| LineMap (MultiBlockTopology *mbt=nullptr) | |
| Constructor. | |
| Vector3d | getVector (const Indice &i, const Indice &j) const |
| Line3d | getRecta (const Indice &i, const Indice &j) const |
| Plane | getPlane (const Indice &i, const Indice &j, const Indice &k) const |
| template<class E > | |
| Edge * | New (void) |
| Creates a new Edge. | |
| Edge * | createLine (Pnt *, Pnt *) |
| Creates a new line between the points being passed as parameters and inserts it on the container. More... | |
| Edge * | createDividedLine (Pnt *, Pnt *) |
| Creates a new line between the points being passed as parameters and inserts it on the container. More... | |
| Edge * | createArc (Pnt *, Pnt *, Pnt *) |
| Creates a new arc of circle between the points being passed as parameters and inserts it in the edge set. More... | |
| Edge * | createLineSequence (void) |
| Creates a line sequence (polyline) with those being passed as parameters and inserts it in the edge set. More... | |
| Edge * | createCopy (const Edge *l) |
| Return a copy of the argument edge. | |
| Line * | newLine (const size_t &, const size_t &) |
| Line segment. | |
| DividedLine * | newDividedLine (const size_t &, const size_t &) |
| Divided line. | |
| CircularArc * | newCircleArc (const size_t &, const size_t &, const size_t &) |
| Circle arc. | |
| CmbEdge * | newLineSequence (void) |
| Line sequence. | |
Public Member Functions inherited from XC::EntityMap< Edge > | |
| EntityMap (MultiBlockTopology *mbt=nullptr) | |
| Constructor. | |
| Edge * | getNearest (const Pos3d &p) |
| Returns the object closest to the position being passed as parameter. | |
| const Edge * | getNearest (const Pos3d &p) const |
| Returns the object closest to the position being passed as parameter. | |
| void | numera (void) |
| Set indices to the objects to allow its use in VTK. | |
Public Member Functions inherited from XC::ModelComponentContainer< Edge > | |
| ModelComponentContainer (MultiBlockTopology *mbt=nullptr) | |
| Constructor. | |
| Edge * | busca (const Indice &) |
| Return a pointer to the geometry entity whose identifier is passed as parameter. | |
| const Edge * | busca (const Indice &) const |
| Return a pointer to the entity whose identifier is passed as parameter. | |
| bool | exists (const Indice &) const |
| Return true if the entity already exists. | |
| Edge * | get (const Indice &) |
| Return the entity with tag iEnt. | |
| boost::python::list | getKeys (void) const |
| Return the container's keys. | |
| void | clearAll (void) |
| Erase all the entities. | |
| virtual | ~ModelComponentContainer (void) |
| Destructor. | |
Public Member Functions inherited from XC::ModelComponentContainerBase | |
| ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr) | |
| Default identifier for new component. More... | |
| const MultiBlockTopology * | getMultiBlockTopology (void) const |
| Return a pointer to MultiBlockTopology. | |
| MultiBlockTopology * | getMultiBlockTopology (void) |
| Return a pointer to MultiBlockTopology. | |
| const Preprocessor * | getPreprocessor (void) const |
| Return a pointer to preprocessor. | |
| Preprocessor * | getPreprocessor (void) |
| Return a pointer to preprocessor. | |
| size_t | getTag (void) const |
| void | setTag (const size_t &t) |
Protected Member Functions | |
| template<class E > | |
| Edge * | Crea (void) |
| Creates a new line. | |
Additional Inherited Members | |
Public Types inherited from XC::EntityMap< Edge > | |
| typedef ModelComponentContainer< Edge >::iterator | iterator |
| typedef ModelComponentContainer< Edge >::const_iterator | const_iterator |
Public Types inherited from XC::ModelComponentContainer< Edge > | |
| typedef std::map< Indice, Edge *> | map_base |
| typedef std::pair< Indice, Edge *> | pair |
| typedef map_base::iterator | iterator |
| typedef map_base::const_iterator | const_iterator |
Public Types inherited from XC::ModelComponentContainerBase | |
| typedef size_t | Indice |
Protected Attributes inherited from XC::ModelComponentContainerBase | |
| Indice | tag |
Line container.
Creates a new arc of circle between the points being passed as parameters and inserts it in the edge set.
Creates a new line between the points being passed as parameters and inserts it on the container.
| pA | pointer to back end of the line. |
| pB | pointer to front end of the line. |
Creates a new line between the points being passed as parameters and inserts it on the container.
| pA | pointer to back end of the line. |
| pB | pointer to front end of the line. |
| XC::Edge * XC::LineMap::createLineSequence | ( | void | ) |
Creates a line sequence (polyline) with those being passed as parameters and inserts it in the edge set.
1.8.12