xc
Public Types | Public Member Functions | List of all members
Rect2d2dCooSys Class Reference

Twp-dimensional rectangular coordinate system defined in a two-dimensional space. More...

#include <Rect2d2dCooSys.h>

Inheritance diagram for Rect2d2dCooSys:
Inheritance graph
[legend]
Collaboration diagram for Rect2d2dCooSys:
Collaboration graph
[legend]

Public Types

typedef Vector2d VLocal
 Dimension of the vector in local coordinates.
 
typedef Pos2d PLocal
 Dimension of the point in local coordinates.
 
- Public Types inherited from Xd2dCooSys
typedef Vector2d VGlobal
 Vector in the 2D space.
 
typedef Dir2d DGlobal
 Direction in the 2D space.
 
typedef Pos2d PGlobal
 Point the 2D space.
 
- Public Types inherited from EntityWithProperties
typedef std::map< std::string, boost::python::object > PythonDict
 

Public Member Functions

 Rect2d2dCooSys (void)
 Default constructor.
 
 Rect2d2dCooSys (const Pos2d &p1, const Pos2d &p2)
 Constructor.
 
 Rect2d2dCooSys (const VGlobal &vX)
 Constructor.
 
virtual CooSysCopia (void) const
 Constructor virtual.
 
VGlobal getIVector (void) const
 Return the unary vector I in global coordinates.
 
VGlobal getJVector (void) const
 Return the unary vector J in global coordinates.
 
void PutI (const VGlobal &)
 Set the unary vector I.
 
void PutJ (const VGlobal &)
 Asigna el vector unitario I.
 
VGlobal getGlobalCoordinates (const VLocal &v) const
 Return the global coordinates of the vector. More...
 
VLocal getLocalCoordinates (const VGlobal &v) const
 Return the local coordinates of the vector. More...
 
- Public Member Functions inherited from Xd2dCooSys
virtual VGlobal getAxisVDir (const size_t &axis) const
 Return the direction vector of the axis being passed as parameter.
 
virtual DGlobal getAxisDir (const size_t &axis) const
 
VGlobal getGlobalCoordinates (const FT_matrix &v) const
 Return the global coordinates of the vector. More...
 
FT_matrix getLocalCoordinates (const VGlobal &v) const
 Return the local coordinates of the vector. More...
 
- Public Member Functions inherited from CooSys
virtual bool operator== (const CooSys &other) const
 
bool operator!= (const CooSys &other)
 
virtual size_t numberOfAxis (void) const
 
bool EsNormal (void) const
 Return true if the vectors are normalized.
 
bool EsOrtogonal (void) const
 Return verdadero si los vectores son ortogonales.
 
bool EsOrtonormal (void) const
 Return verdadero si los vectores son unitarios y ortogonales.
 
bool EsDextrogiro (void) const
 Return true if it's a dextrorotatory coordinate system.
 
FT_matrix getRow (const size_t &i) const
 Return the matrix i row.
 
void putRow (const size_t &axis, const FT_matrix &v)
 Set the i row of the matrix.
 
virtual FT_matrix TransAGlobal (void) const
 Return the matrix que transforma un vector expresado en locales al mismo vector expresado en globales. More...
 
virtual FT_matrix TransDeGlobal (void) const
 Return the matrix que transforma un vector expresado en globales al mismo vector expresado en locales. More...
 
FT_matrix GetTransA (const CooSys &dest) const
 Return the transformation matrix from this system to the argument one. More...
 
FT_matrix getGlobalCoordinates (const FT_matrix &v) const
 Return the global coordinates of the vector. More...
 
FT_matrix getLocalCoordinates (const FT_matrix &v) const
 Return the local coordinates of the vector. More...
 
FT_matrix getLocalMatrix (const FT_matrix &) const
 Return the given matrix expressed in local coordinates.
 
FT_matrix getGlobalMatrix (const FT_matrix &) const
 Return the given matrix expressed in global coordinates.
 
boost::python::list getLocalMatrixPy (const boost::python::list &) const
 Return the given matrix expressed in local coordinates.
 
boost::python::list getGlobalMatrixPy (const boost::python::list &) const
 Return the given matrix expressed in global coordinates.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
virtual void Print (std::ostream &os) const
 Prints the matrix.
 
- Public Member Functions inherited from ProtoGeom
 ProtoGeom (void)
 False when solution is not possible: intersection of parallel planes. More...
 
void setExists (bool e)
 
bool exists (void) const
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from CommandEntity
 CommandEntity (CommandEntity *owr=nullptr)
 Default constructor.
 
CommandEntityOwner (void)
 Return a pointer to the object owner.
 
const CommandEntityOwner (void) const
 Return un puntero al objeto propietario de ESTE.
 
const StandardOutputWrappergetStandardOutputWrapper (void) const
 Return the regular output stream wrapper.
 
StandardOutputWrappergetStandardOutputWrapper (void)
 Return the regular output stream wrapper.
 
const std::string & getLogFileName (void) const
 Returns log file name.
 
void setLogFileName (const std::string &)
 Sets log file name.
 
const std::string & getErrFileName (void) const
 Returns err file name.
 
void setErrFileName (const std::string &)
 Sets error file name.
 
const std::string & getOutputFileName (void) const
 Returns regular output file name.
 
void setOutputFileName (const std::string &)
 Sets regular output file name.
 
boost::python::object evalPy (boost::python::object dict, const std::string &)
 Return the Python object that results from evaluating the argument.
 
boost::python::object execPy (boost::python::object dict, const std::string &)
 Return the Python objects that results from executing the code in the string argument.
 
boost::python::object execFilePy (boost::python::object dict, const std::string &)
 Return the Python object that results from executing the code in the file.
 
- Public Member Functions inherited from EntityWithProperties
 EntityWithProperties (EntityWithProperties *owr=nullptr)
 Default constructor.
 
void clearPyProps (void)
 Clear python properties map.
 
bool hasPyProp (const std::string &)
 Returns true if property exists.
 
boost::python::object getPyProp (const std::string &str)
 Return the Python object with the name being passed as parameter.
 
void setPyProp (std::string str, boost::python::object val)
 Sets/appends a value tho the Python object's dictionary.
 
void copyPropsFrom (const EntityWithProperties &)
 Copy the properties from the argument.
 
boost::python::list getPropNames (void) const
 Return the names of the object properties weightings.
 
const PythonDict & getPropertiesDict (void) const
 Return a std::map container with the properties of the object.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary containing the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from EntityWithOwner
 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwneroperator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (void) const
 

Additional Inherited Members

- Static Public Member Functions inherited from CommandEntity
static void resetStandardOutput (void)
 Reset the standard output streams to its defaults buffers.
 
- Static Public Member Functions inherited from EntityWithOwner
static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 
- Protected Member Functions inherited from Xd2dCooSys
 Xd2dCooSys (const size_t &)
 Define a coordinate system of dimension ne in a two-dimensional space. More...
 
 Xd2dCooSys (const size_t &, const VGlobal &)
 Define a coordinate system of dimension ne in a two-dimensional space. More...
 
 Xd2dCooSys (const size_t &, const PGlobal &, const PGlobal &)
 Define a coordinate system of dimension ne in a two-dimensional space. More...
 
void putRow (const size_t &axis, const VGlobal &v)
 
void XAxisVector (const VGlobal &vX)
 Hace que el vector básico 1 tenga la dirección y sentido del being passed as parameter. More...
 
- Protected Member Functions inherited from CooSys
void identity (void)
 Aligns the coordinate system with the global one. More...
 
void put (const size_t &i, const size_t &j, const GEOM_FT &)
 Assigns the (i,j) component of the matrix.
 
void normalize (void)
 Row-normalize matrix.
 
void ortogonaliza (void)
 Make the base orthogonal.
 
void orthonormalize (void)
 Makes the base orthonormal.
 
 CooSys (const size_t &, const size_t &)
 Constructor.
 
 CooSys (const CooSys &other)
 
CooSysoperator= (const CooSys &other)
 
- Protected Member Functions inherited from CommandEntity
template<class T >
void string_to (T &, const std::string &) const
 
- Protected Member Functions inherited from EntityWithProperties
bool isEqual (const EntityWithProperties &) const
 Return true if both objects are equal.
 
- Protected Member Functions inherited from EntityWithOwner
virtual bool isEqual (const EntityWithOwner &) const
 Return true if both objects are equal.
 
- Static Protected Member Functions inherited from CommandEntity
static CommandEntityentcmd_cast (boost::any &data)
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Twp-dimensional rectangular coordinate system defined in a two-dimensional space.

Member Function Documentation

◆ getGlobalCoordinates()

Rect2d2dCooSys::VGlobal Rect2d2dCooSys::getGlobalCoordinates ( const VLocal v) const

Return the global coordinates of the vector.

Parameters
vlocal coordinates of the vector.

◆ getLocalCoordinates()

Rect2d2dCooSys::VLocal Rect2d2dCooSys::getLocalCoordinates ( const VGlobal v) const

Return the local coordinates of the vector.

Parameters
vglobal coordinates of the vector.

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