xc
Public Member Functions | List of all members
XC::CartesianReferenceFrame3d Class Reference

Three-dimensional reference system. More...

#include <CartesianReferenceFrame3d.h>

Inheritance diagram for XC::CartesianReferenceFrame3d:
XC::ReferenceFrame XC::EntMdlrBase XC::MovableObject XC::DistributedBase

Public Member Functions

 CartesianReferenceFrame3d (Preprocessor *m)
 Constructor.
 
 CartesianReferenceFrame3d (const std::string &nombre="", Preprocessor *m=nullptr)
 
Vector3d getAxisVDir (const size_t &, const Pos3d &) const
 Return the i-th axis unit vector expressed in the global coordinate system for the position passed as parameter. More...
 
Pos3d getOrg (void) const
 Origin of the 3D cartesian coordinate system.
 
void setOrg (const Pos3d &)
 Origin of the 3D cartesian coordinate system.
 
void ThreePoints (const Pos3d &, const Pos3d &, const Pos3d &)
 3D cartesian coordinate system by three points
 
Pos3d GetPosGlobal (const Pos3d &p) const
 Return the global coordinates of point p.
 
Vector3d GetCooGlobales (const Vector3d &v) const
 Return the global coordinates of vector v.
 
Pos3d GetPosLocal (const Pos3d &p) const
 Return the local coordinates of point p.
 
Vector3d GetCooLocales (const Vector3d &v) const
 Return the local coordinates of vector v.
 
- Public Member Functions inherited from XC::ReferenceFrame
 ReferenceFrame (Preprocessor *m)
 Constructor.
 
 ReferenceFrame (const std::string &nombre="", Preprocessor *m=nullptr)
 
Vector3d GetI (const Pos3d &) const
 Return the ${i}$ unit vector expressed in the global coordinate system for the position passed as parameter. More...
 
Vector3d GetJ (const Pos3d &) const
 Return the ${j}$ unit vector expressed in the global coordinate system for the position being passed as parameter. More...
 
Vector3d GetK (const Pos3d &) const
 Return the ${k}$ unit vector expressed in the global coordinate system for the position being passed as parameter. More...
 
- Public Member Functions inherited from XC::EntMdlrBase
 EntMdlrBase (const std::string &nmb="", Preprocessor *preprocessor=nullptr)
 Constructor.
 
EntMdlrBaseoperator+= (const EntMdlrBase &)
 += operator.
 
EntMdlrBaseoperator-= (const EntMdlrBase &)
 -= operator.
 
EntMdlrBaseoperator*= (const EntMdlrBase &)
 *= operator (intersection).
 
const PreprocessorgetPreprocessor (void) const
 Return a pointer to the object preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return a pointer to the object preprocessor.
 
size_t GetTag (void) const
 Return the object identifier in the model (tag).
 
PntBuscaPnt (const size_t &)
 Return a pointer to the point identified by the tag being passed as parameter. More...
 
const PntBuscaPnt (const size_t &) const
 Return a const pointer to the point identified by the tag being passed as parameter. More...
 
EdgeBuscaEdge (const size_t &)
 Return a pointer to the edge identified by the tag being passed as parameter. More...
 
const EdgeBuscaEdge (const size_t &) const
 Return a pointer to the edge identified by the tag being passed as parameter. More...
 
FaceBuscaFace (const size_t &)
 Return a pointer to the face identified by the tag being passed as parameter. More...
 
const FaceBuscaFace (const size_t &) const
 Returns a pointer to the face identified by the tag being passed as parameter. More...
 
virtual int sendSelf (CommParameters &)
 Send objects through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Receive objects through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- 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.
 

Additional Inherited Members

- Protected Member Functions inherited from XC::EntMdlrBase
bool check_preprocessor (void) const
 Check for preprocessor.
 
int sendIdsEtiquetas (const int &, const int &, CommParameters &)
 Send labels through the channel being passed as parameter.
 
int recvIdsEtiquetas (const int &, const int &, const CommParameters &)
 Receive labels through the channel being passed as parameter.
 
int sendData (CommParameters &)
 Send members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receive members through the channel being passed as parameter.
 
- Protected Attributes inherited from XC::EntMdlrBase
LabelContainer labels
 Label container.
 

Detailed Description

Three-dimensional reference system.

Member Function Documentation

§ getAxisVDir()

Vector3d XC::CartesianReferenceFrame3d::getAxisVDir ( const size_t &  i,
const Pos3d &   
) const
virtual

Return the i-th axis unit vector expressed in the global coordinate system for the position passed as parameter.

Implements XC::ReferenceFrame.


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