XC Open source finite element analysis program
Public Member Functions | List of all members

Segment de recta entre dos puntos. More...

#include <Segment.h>

Inheritance diagram for XC::Segment:
XC::Eje XC::EntGeomSection

Public Member Functions

 Segment (GeomSection *m, const size_t &ndiv=4)
 Constructor.
 
 Segment (const std::string &nombre="", GeomSection *m=nullptr, const size_t &ndiv=4)
 Constructor.
 
Spot * P1 (void)
 Returns a pointer to start point.
 
const Spot * P1 (void) const
 Returns a constant pointer to start point.
 
Spot * P2 (void)
 Returns a pointer to end point.
 
const Spot * P2 (void) const
 Returns a constant pointer to end point.
 
void setEndPoints (size_t, size_t)
 Assigns end points.
 
int getVtkCellType (void) const
 Interfaz con VTK.
 
int getMEDCellType (void) const
 Interfaz con el formato MED de Salome.
 
virtual size_t NumVertices (void) const
 Returns the number of vertices.
 
virtual const Spot * GetVertice (const size_t &i) const
 Returns the i-th vertex.
 
virtual Spot * GetVertice (const size_t &i)
 Returns the i-th vertex.
 
virtual void SetVertice (const size_t &, Spot *)
 Sets the i-th vertex.
 
virtual BND2d Bnd (void) const
 Returns the intervalo 2D ocupado por el segmento.
 
double getLong (void) const
 
- Public Member Functions inherited from XC::Eje
 ~Eje (void)
 Destructor.
 
virtual unsigned short int GetDimension (void) const
 Returns the object dimension (0, 1, 2 or 3).
 
virtual void SetNDiv (const size_t &nd)
 
virtual size_t NDiv (void) const
 
void actualiza_topologia (void)
 Updates topology.
 
- Public Member Functions inherited from XC::EntGeomSection
 EntGeomSection (const std::string &nmb="", GeomSection *sccGeom=nullptr)
 Constructor.
 
 EntGeomSection (const EntGeomSection &otro)
 Copy constructor.
 
EntGeomSection & operator= (const EntGeomSection &otro)
 Assignment operator.
 
const GeomSection * GetGeomSection (void) const
 
GeomSection * GetGeomSection (void)
 
int getVtkCellType (void) const
 Interfaz con VTK.
 
SisRefScc * SisRefSccActual (void)
 Returns current reference system.
 
const SisRefScc * SisRefSccActual (void) const
 Returns current reference system.
 
Spot * BuscaSpot (const size_t &id_punto)
 Returns a pointer to the point with the identifier being passed as parameter.
 
const Spot * BuscaSpot (const size_t &id_punto) const
 Returns a const pointer to the point with the identifier being passed as parameter.
 
Eje * BuscaEje (const size_t &id_edge)
 Returns a pointer to the Eje indentified by the tag being passed as parameter.
 
const Eje * BuscaEje (const size_t &id_edge) const
 Returns a pointer to the Eje indentified by the tag being passed as parameter.
 

Additional Inherited Members

- Protected Member Functions inherited from XC::Eje
 Eje (GeomSection *sr, const size_t &nd=4)
 Constructor.
 
 Eje (const std::string &nombre="", GeomSection *m=nullptr, const size_t &nd=4)
 Constructor. More...
 
- Protected Member Functions inherited from XC::EntGeomSection
const GeomSection * getGeomSection (void) const
 Returns a pointer to the GeomSection.
 
GeomSection * getGeomSection (void)
 Returns a pointer to the GeomSection.
 
- Protected Attributes inherited from XC::Eje
size_t ndiv
 Number of divisions.
 

Detailed Description

Segment de recta entre dos puntos.


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