xc
|
Twp-dimensional rectangular coordinate system defined in a two-dimensional space. More...
#include <Rect2d2dCooSys.h>
Public Types | |
typedef Vector2d | VLocal |
Dimension of the vector in local coordinates. | |
typedef Pos2d | PLocal |
Dimension of the point in local coordinates. | |
![]() | |
typedef Vector2d | VGlobal |
Vector in the 2D space. | |
typedef Dir2d | DGlobal |
Direction in the 2D space. | |
typedef Pos2d | PGlobal |
Point the 2D space. | |
![]() | |
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 CooSys * | Copia (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... | |
![]() | |
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... | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
CommandEntity (CommandEntity *owr=nullptr) | |
Default constructor. | |
CommandEntity * | Owner (void) |
Return a pointer to the object owner. | |
const CommandEntity * | Owner (void) const |
Return un puntero al objeto propietario de ESTE. | |
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
Return the regular output stream wrapper. | |
StandardOutputWrapper & | getStandardOutputWrapper (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. | |
![]() | |
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. | |
![]() | |
EntityWithOwner (EntityWithOwner *owr=nullptr) | |
Default constructor. | |
EntityWithOwner (const EntityWithOwner &) | |
Copy constructor. | |
EntityWithOwner & | operator= (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. | |
EntityWithOwner * | Owner (void) |
const EntityWithOwner * | Owner (void) const |
Additional Inherited Members | |
![]() | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
![]() | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
![]() | |
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... | |
![]() | |
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) | |
CooSys & | operator= (const CooSys &other) |
![]() | |
template<class T > | |
void | string_to (T &, const std::string &) const |
![]() | |
bool | isEqual (const EntityWithProperties &) const |
Return true if both objects are equal. | |
![]() | |
virtual bool | isEqual (const EntityWithOwner &) const |
Return true if both objects are equal. | |
![]() | |
static CommandEntity * | entcmd_cast (boost::any &data) |
![]() | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Twp-dimensional rectangular coordinate system defined in a two-dimensional space.
Rect2d2dCooSys::VGlobal Rect2d2dCooSys::getGlobalCoordinates | ( | const VLocal & | v | ) | const |
Return the global coordinates of the vector.
v | local coordinates of the vector. |
Rect2d2dCooSys::VLocal Rect2d2dCooSys::getLocalCoordinates | ( | const VGlobal & | v | ) | const |
Return the local coordinates of the vector.
v | global coordinates of the vector. |