XC Open source finite element analysis program
Public Member Functions | Friends | List of all members
XC::CmbEdge::Lado Class Reference

Component of a compound line. More...

#include <CmbEdge.h>

Inheritance diagram for XC::CmbEdge::Lado:

Public Member Functions

 Lado (Edge *ptr=nullptr, const bool &s=true)
 Constructor.
 
EdgeBorde (void)
 Returns a pointer to the la linea.
 
const EdgeBorde (void) const
 Returns a pointer constante a la linea.
 
void SetEdge (Edge *l)
 Assigns the line.
 
const PntP1 (void) const
 Returns a constant pointer to point origen of the line.
 
const PntP2 (void) const
 Returns a constant pointer to point destino of the line.
 
bool ExtremosEn (const Pnt *, const Pnt *) const
 Returns true if the points being passed as parameters son los extremos del lado.
 
const std::string & GetNombre (void) const
 Returns the nombre of the line.
 
bool esDirecto (void) const
 
void reverse (void)
 
void SetNDiv (const size_t &nd)
 Asigna el number of divisions of the line.
 
size_t NDiv (void) const
 Returns the number of divisions of the line.
 
size_t GetTag (void) const
 Returns the identificador of the line.
 
MatrizPos3d get_posiciones (void) const
 Returns the posiciones de la linea.
 
std::vector< int > GetTagsNodosDir (void) const
 Returns the identificadores of the nodes en sentido directo.
 
std::vector< int > GetTagsNodosInv (void) const
 
MatrizPos3d GetPosNodosDir (void) const
 Returns the posiciones of the nodes en sentido directo.
 
MatrizPos3d GetPosNodosInv (void) const
 Returns the posiciones of the nodes en sentido inverso.
 
double getLongitud (void) const
 Return the longitud del lado.
 
const VectorgetTang (const double &) const
 Returns a vector tangente al lado en el punto s.
 
NodeGetNodoDir (const size_t &i)
 Returns the nodo which index is being passed as parameter empezando por el principio.
 
NodeGetNodoInv (const size_t &i)
 Returns the nodo which index is being passed as parameter empezando por el final.
 
NodeGetNodo (const size_t &i)
 Returns the nodo which index is being passed as parameter.
 
const NodeGetNodo (const size_t &i) const
 Returns the nodo which index is being passed as parameter.
 
void genMesh (meshing_dir dm)
 Genertes a mesh from the corresponding line.
 

Friends

bool operator== (const Lado &il1, const Lado &il2)
 

Detailed Description

Component of a compound line.

A compound line is a sequence of pointers to lines (Linea) (we call them lados here), such that the end of one of them is the origin of the edge that follows. Since the orientation of the line defined in the model, can not coincide with the orientation needed here, each pointer to line is accompanied by a boolean that indicates if the line must be taken with its reversed direction or not.


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