xc
|
Sliding vectors system en un espacio tridimensional. More...
#include <SlidingVectorsSystem3d.h>
Public Member Functions | |
SlidingVectorsSystem3d (const Pos3d &O=Pos3d(), const Vector3d &R=Vector3d(), const Vector3d &Mo=Vector3d()) | |
SlidingVectorsSystem3d (const SlidingVector3d &v) | |
bool | operator== (const SlidingVectorsSystem3d &) const |
Comparison operator. | |
Vector3d | getResultant (void) const |
Vector3d | getResultant (const Ref3d3d &ref) const |
Return the resultant vector expressed in the reference frame argument. More... | |
const Vector3d & | getMoment (void) const |
SlidingVector3d | getMoment (const Pos3d &P) const |
Moment field of the SlidingVectorsSystem3d. More... | |
GEOM_FT | getMoment (const Line3d &e) const |
Moment with respect to an axis. More... | |
Vector3d | getMoment (const Ref3d3d &ref) const |
Return el moment vector expressed in the reference frame being passed as parameter. More... | |
bool | Nulo (void) const |
void | Neg (void) |
Line3d | centralAxis (void) const |
Return the central axis of the system (moment paraller to resultant). | |
bool | existsZeroMomentLine (const double &tol=sqrt_mchne_eps_dbl) const |
Return true if the line of the points with zero moment exists. | |
Line3d | getZeroMomentLine (const double &tol=sqrt_mchne_eps_dbl) const |
Return the line of the points with zero moment. | |
Pos3d | PointOfApplication (const Plane &p) const |
Return the intersection of the zero moment line (if exists) with the plane. More... | |
SlidingVectorsSystem3d | reduceTo (const Pos3d &Q) const |
std::vector< SlidingVector3d > | distribute (const std::vector< Pos3d > &) const |
Assigns a vector to each point to obtain an equivalent sliding vector system. More... | |
boost::python::list | distributePyNoWeights (const boost::python::list &) const |
Assigns a vector to each point to obtain an equivalent sliding vector system. More... | |
std::vector< SlidingVector3d > | distribute (const std::vector< Pos3d > &, const std::vector< double > &) const |
Assigns a vector to each point to obtain an equivalent sliding vector system. More... | |
boost::python::list | distributePy (const boost::python::list &, const boost::python::list &) const |
Assigns a vector to each point to obtain an equivalent sliding vector system. More... | |
SlidingVectorsSystem3d & | operator+= (const SlidingVector3d &v) |
SlidingVectorsSystem3d & | operator-= (const SlidingVector3d &v) |
SlidingVectorsSystem3d & | operator+= (const SlidingVectorsSystem3d &s) |
SlidingVectorsSystem3d & | operator-= (const SlidingVectorsSystem3d &s) |
SlidingVectorsSystem3d & | operator*= (const GEOM_FT &d) |
void | Print (std::ostream &os) const |
Imprime el sliding vectors system. | |
void | PrintLtx (std::ostream &os, const std::string &ud_long=" m", const GEOM_FT &f_long=1.0, const std::string &ud_f=" N", const GEOM_FT &f_f=1.0) const |
![]() | |
SlidingVector3d (const Pos3d &o=Pos3d(), const Vector3d &v=Vector3d()) | |
Constructor. | |
SlidingVector3d (const Pos3d &o, const Pos3d &p) | |
Constructor. | |
bool | operator== (const SlidingVector3d &) const |
Comparison operator. | |
const Pos3d & | getOrg (void) const |
const Pos3d | getDest (void) const |
const Vector3d & | getVector (void) const |
Return the vector part of the object. | |
Vector3d | getVector3d (void) const |
Return the vector part of the object. More... | |
SlidingVector3d & | operator*= (const GEOM_FT &) |
![]() | |
Vector3d (const CGVector_3 &v) | |
Vector3d (const GEOM_FT &x, const GEOM_FT &y, const GEOM_FT &z) | |
Vector3d (const FT_matrix &m) | |
Vector3d (const boost::python::list &) | |
Constructor. | |
Vector3d (const Pos3d &p1, const Pos3d &p2) | |
virtual bool | operator== (const Vector3d &) const |
Comparison operator. | |
bool | operator!= (const Vector3d &) const |
Comparison operator. | |
const CGVector_3 & | ToCGAL (void) const |
int | dimension (void) const |
void | Neg (void) |
bool | Nulo (void) const |
void | SetX (const GEOM_FT &vx) |
void | SetY (const GEOM_FT &vy) |
void | SetZ (const GEOM_FT &vz) |
void | Set (unsigned short int i, const GEOM_FT &v) |
GEOM_FT | at (const size_t &i) const |
GEOM_FT | operator() (const size_t &i) const |
GEOM_FT | operator[] (const size_t &i) const |
GEOM_FT | x (void) const |
GEOM_FT | y (void) const |
GEOM_FT | z (void) const |
FT_matrix | getMatrix (void) const |
Return a column vector. | |
boost::python::list | getPyList (void) const |
Return the point coordinates in a Python list. | |
Dir3d | getDirection (void) const |
Vector3d & | operator+= (const Vector3d &) |
Vector3d & | operator-= (const Vector3d &) |
Vector3d | operator+ (const Vector3d &) const |
Return la suma de los vectores. | |
Vector3d | operator- (const Vector3d &) const |
Return la resta de los vectores. | |
Vector3d | operator* (const GEOM_FT &) const |
Return el producto del vector por el escalar. | |
Vector3d | operator/ (const GEOM_FT &) const |
Return el producto del vector por el inverso del escalar. | |
virtual GEOM_FT | GetModulus2 (void) const |
Return the squared modulus. | |
virtual GEOM_FT | GetModulus (void) const |
Return el módulo del vector. | |
bool | EsUnitario (const double &tol=mchne_eps_dbl) const |
Vector3d | getNormalized (void) const |
Return the normalized vector. | |
void | Normalize (void) |
Normalize vector. | |
Vector3d | Perpendicular (const Vector3d &v) const |
Return the vector obtained from projecting v onto the perpendicular direction to this vector. More... | |
virtual GEOM_FT | GetDot (const Vector3d &v) const |
Return el producto escalar. | |
virtual GEOM_FT | GetDot (const FT_matrix &m) const |
Return the product of the vector times the matrix. | |
Vector3d | getCross (const Vector3d &v) const |
Return the cross product. | |
GEOM_FT | getSignedAngle (const Vector3d &v) const |
Return the angle between this vector and the argument. | |
GEOM_FT | getAngle (const Vector3d &v) const |
Return the angle between this vector and the argument. | |
GEOM_FT | getPolarAngle (void) const |
Get the polar angle (spherical coordinates) | |
GEOM_FT | getAzimuthalAngle (void) const |
Get the azimuthal angle (spherical 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. | |
![]() | |
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 |
Friends | |
SlidingVectorsSystem3d | operator+ (const SlidingVectorsSystem3d &s1, const SlidingVectorsSystem3d &s2) |
Return the sum of the sliding vectors systems. | |
SlidingVectorsSystem3d | operator- (const SlidingVectorsSystem3d &s1, const SlidingVectorsSystem3d &s2) |
Return the difference of sliding vectors systems. | |
SlidingVectorsSystem3d | operator* (const GEOM_FT &d, const SlidingVectorsSystem3d &s) |
Return the product of the sliding vectors system by a scalar. | |
SlidingVectorsSystem3d | operator* (const SlidingVectorsSystem3d &s, const GEOM_FT &d) |
Return the product of the sliding vectors system by a scalar. | |
std::ostream & | operator<< (std::ostream &os, const SlidingVectorsSystem3d &svd3d) |
Prints. | |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, boost::python::object > | PythonDict |
![]() | |
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. | |
![]() | |
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) |
![]() | |
Pos3d | org |
Point that fix the line of action. | |
![]() | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Sliding vectors system en un espacio tridimensional.
std::vector< SlidingVector3d > SlidingVectorsSystem3d::distribute | ( | const std::vector< Pos3d > & | point_list | ) | const |
Assigns a vector to each point to obtain an equivalent sliding vector system.
point_list | list of positions. |
std::vector< SlidingVector3d > SlidingVectorsSystem3d::distribute | ( | const std::vector< Pos3d > & | point_list, |
const std::vector< double > & | weights | ||
) | const |
Assigns a vector to each point to obtain an equivalent sliding vector system.
point_list | list of positions. |
weights | list of weights (one for each position). |
boost::python::list SlidingVectorsSystem3d::distributePy | ( | const boost::python::list & | pt_list, |
const boost::python::list & | w | ||
) | const |
Assigns a vector to each point to obtain an equivalent sliding vector system.
point_list | list of positions. |
weights | list of weights (one for each position). |
boost::python::list SlidingVectorsSystem3d::distributePyNoWeights | ( | const boost::python::list & | pt_list | ) | const |
Assigns a vector to each point to obtain an equivalent sliding vector system.
point_list | list of positions. |
weights | list of weights (one for each position). |
|
virtual |
Moment field of the SlidingVectorsSystem3d.
Return themoment of the SlidingVectorsSystem3d with respect to the point P.
Reimplemented from SlidingVector3d.
|
virtual |
Moment with respect to an axis.
Is the moment with respect a point on the axis projected onto the axis.
Reimplemented from SlidingVector3d.
Return el moment vector expressed in the reference frame being passed as parameter.
Return the resultant vector expressed in the reference frame argument.
Return the intersection of the zero moment line (if exists) with the plane.
It's used, for example, to compunte the point of application of the compression block in a reinforced concrete section.