XC Open source finite element analysis program
|
Component of a compound line. More...
#include <CmbEdge.h>
Public Member Functions | |
Lado (Edge *ptr=nullptr, const bool &s=true) | |
Constructor. | |
Edge * | Borde (void) |
Returns a pointer to the la linea. | |
const Edge * | Borde (void) const |
Returns a pointer constante a la linea. | |
void | SetEdge (Edge *l) |
Assigns the line. | |
const Pnt * | P1 (void) const |
Returns a constant pointer to point origen of the line. | |
const Pnt * | P2 (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 Vector & | getTang (const double &) const |
Returns a vector tangente al lado en el punto s. | |
Node * | GetNodoDir (const size_t &i) |
Returns the nodo which index is being passed as parameter empezando por el principio. | |
Node * | GetNodoInv (const size_t &i) |
Returns the nodo which index is being passed as parameter empezando por el final. | |
Node * | GetNodo (const size_t &i) |
Returns the nodo which index is being passed as parameter. | |
const Node * | GetNodo (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) |
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.