XC Open source finite element analysis program
|
Point container. More...
#include <MapPuntos.h>
Public Member Functions | |
MapPuntos (Cad *cad=nullptr) | |
Constructor. | |
Vector3d | getVector (const Indice &i, const Indice &j) const |
Returns the vector defined by the points which indices are being passed as parameters. | |
Recta3d | getRecta (const Indice &i, const Indice &j) const |
Return the line defined by the points which indices are being passed as parameters. | |
Plano3d | getPlano (const Indice &i, const Indice &j, const Indice &k) const |
Returns the plane defined by the points which indices are being passed as parameters. | |
Pnt * | New (void) |
Creates a new point. | |
Pnt * | New (const Pos3d &) |
Creates a new point at the position being passed as parameter. | |
Pnt * | New (const size_t &, const Pos3d &) |
Creates a new point with the tag being passed as parameter. | |
Pnt * | Copia (const Pnt *, const Vector3d &v) |
Creates a new point, copia del being passed as parameter con el nombre que le toca según el valor del tag. Las coordenadas del new point serán las que resulten de sumar a las del primitivo el vector being passed as parameter. | |
void | Copia (const std::vector< MapPuntos::Indice > &) |
Crea copias de los puntos cuyos identificadores being passed as parameters. | |
void | Transforma (const TrfGeom &trf, const std::vector< MapPuntos::Indice > &) |
Applies the transformation to the points identified by the indices being passed as parameter. | |
double | Dist (const Indice &i, const Indice &j) const |
Return the distancia entre los puntos cuyos identificadores being passed as parameters. | |
Public Member Functions inherited from XC::MapEnt< Pnt > | |
MapEnt (Cad *cad=nullptr) | |
Constructor. | |
Pnt * | getNearest (const Pos3d &p) |
Returns the object closest to the position being passed as parameter. | |
const Pnt * | 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::MapCadMember< Pnt > | |
MapCadMember (Cad *cad=nullptr) | |
Constructor. | |
Pnt * | busca (const Indice &) |
Return a pointer to the geometry entity whose identifier is passed as parameter. | |
const Pnt * | busca (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. | |
Pnt * | 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. | |
Public Member Functions inherited from XC::MapCadMemberBase | |
MapCadMemberBase (Cad *cad=nullptr) | |
Default identifier for new point. More... | |
const Cad * | getCad (void) const |
Return a pointer to Cad. | |
Cad * | getCad (void) |
Return a pointer to Cad. | |
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 | |
Pnt * | Crea (void) |
Creates a new point. | |
Additional Inherited Members | |
Public Types inherited from XC::MapEnt< Pnt > | |
typedef MapCadMember< Pnt >::iterator | iterator |
typedef MapCadMember< Pnt >::const_iterator | const_iterator |
Public Types inherited from XC::MapCadMember< Pnt > | |
typedef std::map< Indice, Pnt * > | map_base |
typedef std::pair< Indice, Pnt * > | 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 |
Point container.