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. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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 | |
![]() | |
typedef ModelComponentContainer< Edge >::iterator | iterator |
typedef ModelComponentContainer< Edge >::const_iterator | const_iterator |
![]() | |
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 |
![]() | |
typedef size_t | Indice |
![]() | |
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.