XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | List of all members
XC::MapLineas Class Reference

Contenedor de puntos del modelo. More...

#include <MapLineas.h>

Inheritance diagram for XC::MapLineas:
XC::MapEnt< Edge > XC::MapCadMember< Edge > XC::MapCadMemberBase

Public Member Functions

 MapLineas (Cad *cad=nullptr)
 Constructor.
 
Vector3d getVector (const Indice &i, const Indice &j) const
 
Recta3d getRecta (const Indice &i, const Indice &j) const
 
Plano3d getPlano (const Indice &i, const Indice &j, const Indice &k) const
 
template<class E >
EdgeNueva (void)
 Creates a new Edge.
 
EdgecreateLine (Pnt *, Pnt *)
 Creates a new line entre los puntos being passed as parameters and inserts it on the container. More...
 
EdgecreateDividedLine (Pnt *, Pnt *)
 Creates a new line between the points being passed as parameters and inserts it on the container. More...
 
EdgecreateArc (Pnt *, Pnt *, Pnt *)
 Creates a new arc of circle between the points being passed as parameters and inserts it in the edge set.
 
EdgecreateLineSequence (void)
 Creates a line sequence (polyline) with those being passed as parameters and inserts it in the edge set.
 
EdgecreateCopy (const Edge *l)
 Creates a new line, copia de la being passed as parameter con el nombre being passed as parameter.
 
LineanewLine (const size_t &, const size_t &)
 Line segment.
 
DividedLinenewDividedLine (const size_t &, const size_t &)
 Divided line.
 
ArcoCircunfnewCircleArc (const size_t &, const size_t &, const size_t &)
 Circle arc.
 
CmbEdgenewLineSequence (void)
 Circle arc.
 
- Public Member Functions inherited from XC::MapEnt< Edge >
 MapEnt (Cad *cad=nullptr)
 Constructor.
 
EdgegetNearest (const Pos3d &p)
 Returns the object closest to the position being passed as parameter.
 
const EdgegetNearest (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::MapCadMember< Edge >
 MapCadMember (Cad *cad=nullptr)
 Constructor.
 
Edgebusca (const Indice &)
 Return a pointer to the geometry entity whose identifier is passed as parameter.
 
const Edgebusca (const Indice &) const
 Return a pointer to the entity whose identifier is passed as parameter.
 
bool existe (const Indice &) const
 Return true if the entity already exists.
 
Edgeget (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.
 
- Public Member Functions inherited from XC::MapCadMemberBase
 MapCadMemberBase (Cad *cad=nullptr)
 Default identifier for new point. More...
 
const CadgetCad (void) const
 Return a pointer to Cad.
 
CadgetCad (void)
 Return a pointer to Cad.
 
const PreprocessorgetPreprocessor (void) const
 Return a pointer to preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return a pointer to preprocessor.
 
size_t getTag (void) const
 
void setTag (const size_t &t)
 

Protected Member Functions

template<class E >
EdgeCrea (void)
 Creates a new line.
 

Additional Inherited Members

- Public Types inherited from XC::MapEnt< Edge >
typedef MapCadMember< Edge >::iterator iterator
 
typedef MapCadMember< Edge >::const_iterator const_iterator
 
- Public Types inherited from XC::MapCadMember< 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::MapCadMemberBase
typedef size_t Indice
 
- Protected Attributes inherited from XC::MapCadMemberBase
Indice tag
 

Detailed Description

Contenedor de puntos del modelo.

Member Function Documentation

XC::Edge * XC::MapLineas::createDividedLine ( Pnt pA,
Pnt pB 
)

Creates a new line between the points being passed as parameters and inserts it on the container.

Parameters
pApointer to back end of the line.
pBpointer to front end of the line.
XC::Edge * XC::MapLineas::createLine ( Pnt pA,
Pnt pB 
)

Creates a new line entre los puntos being passed as parameters and inserts it on the container.

Parameters
pApointer to back end of the line.
pBpointer to front end of the line.

The documentation for this class was generated from the following files: