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

@ingroup MATSCCDiagInt More...

#include <ClosedTriangleMesh.h>

Inheritance diagram for XC::ClosedTriangleMesh:
XC::MovableObject XC::DistributedBase XC::InteractionDiagram

Public Member Functions

 ClosedTriangleMesh (void)
 Default constructor.
 
 ClosedTriangleMesh (const Pos3d &org, const Triang3dMesh &mll)
 
 ClosedTriangleMesh (const ClosedTriangleMesh &otro)
 Copy constructor.
 
ClosedTriangleMeshoperator= (const ClosedTriangleMesh &otro)
 Assignment operator.
 
virtual ClosedTriangleMeshclon (void) const
 Virtual constructor.
 
virtual double GetMax (short unsigned int i) const
 
virtual double GetMin (short unsigned int i) const
 
virtual Pos3d Cdg (void) const
 
virtual double Longitud (void) const
 
virtual double Area (void) const
 
virtual double Volumen (void) const
 
virtual double Ix (void) const
 
virtual double Iy (void) const
 
virtual double Iz (void) const
 
short unsigned int Dimension () const
 
size_t GetNumFacetas (void) const
 
TriangleMap getTriangleMap (void) const
 
iterator begin (void)
 
iterator end (void)
 
const_iterator begin () const
 
const_iterator end () const
 
size_t size (void) const
 
const_iterator BuscaTriedro (const Pos3d &p) const
 Busca el triedro que contiene al punto being passed as parameter.
 
const Triedro3d * BuscaPtrTriedro (const Pos3d &p) const
 Busca el triedro que contiene al punto being passed as parameter.
 
int sendSelf (CommParameters &)
 Envia el objeto through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void write (std::ofstream &)
 Escribe la matriz en un archivo binario.
 
void read (std::ifstream &)
 Lee la matriz de un archivo binario.
 
void writeTo (const std::string &)
 
void readFrom (const std::string &)
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Types

typedef std::vector< Triedro3d > v_triedros
 
typedef v_triedros::iterator iterator
 
typedef v_triedros::const_iterator const_iterator
 

Protected Member Functions

GeomObj::list_Pos3d get_interseccion (const Pos3d &p) const
 Radius of the sphere that passes through the nearest vertex. More...
 
void getMatrizPosiciones (Matrix &)
 Returns a matriz con las coordenadas de los puntos que definen cada uno de los triedros.
 
virtual void setMatrizPosiciones (const Matrix &)
 Crea los triedros que definen el diagrama a partir de una matriz con las coordenadas de los puntos que definen cada uno de los triedros.
 
int sendData (CommParameters &)
 Sends object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 

Protected Attributes

v_triedros triedros
 
double tol
 
double rMax
 
double rMin
 Radius of the convex-hull circunscribed sphere.
 

Detailed Description

@ingroup MATSCCDiagInt

Interaction diagram (N,Mx,My) of a section.

Member Function Documentation

GeomObj::list_Pos3d XC::ClosedTriangleMesh::get_interseccion ( const Pos3d &  p) const
protected

Radius of the sphere that passes through the nearest vertex.

Returns the intersection of triangle mesh with the ray from origin (0,0,0) to p.


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