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

Point container. More...

#include <MapPuntos.h>

Inheritance diagram for XC::MapPuntos:
XC::MapEnt< Pnt > XC::MapCadMember< Pnt > XC::MapCadMemberBase

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.
 
PntNew (void)
 Creates a new point.
 
PntNew (const Pos3d &)
 Creates a new point at the position being passed as parameter.
 
PntNew (const size_t &, const Pos3d &)
 Creates a new point with the tag being passed as parameter.
 
PntCopia (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.
 
PntgetNearest (const Pos3d &p)
 Returns the object closest to the position being passed as parameter.
 
const PntgetNearest (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.
 
Pntbusca (const Indice &)
 Return a pointer to the geometry entity whose identifier is passed as parameter.
 
const Pntbusca (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.
 
Pntget (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

PntCrea (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
 

Detailed Description

Point container.


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