26 #include "utility/geom/GeomObj.h" 27 #include "utility/geom/coo_sys/ref_sys/PrincipalAxesOfInertia2D.h" 45 virtual GEOM_FT
GetMax(
unsigned short int i)
const= 0;
47 virtual GEOM_FT
GetMin(
unsigned short int i)
const= 0;
48 GEOM_FT GetXMax(
void)
const {
return GetMax(1); }
49 GEOM_FT GetYMax(
void)
const {
return GetMax(2); }
50 GEOM_FT GetXMin(
void)
const {
return GetMin(1); }
51 GEOM_FT GetYMin(
void)
const {
return GetMin(2); }
52 Pos2d getPMax(
void)
const;
53 Pos2d getPMin(
void)
const;
57 virtual bool In(
const Pos2d &p,
const double &tol= 0.0)
const;
58 virtual bool Out(
const Pos2d &p,
const double &tol= 0.0)
const;
63 virtual Pos2d getCenterOfMass(
void)
const= 0;
65 virtual GEOM_FT
getArea(
void)
const= 0;
70 virtual GEOM_FT
Ix(
void)
const= 0;
72 virtual GEOM_FT
Iy(
void)
const= 0;
74 virtual GEOM_FT
Pxy(
void)
const= 0;
76 inline virtual GEOM_FT
Iz(
void)
const 84 GEOM_FT
I1(
void)
const;
85 GEOM_FT
I2(
void)
const;
88 GEOM_FT
I(
const unsigned short int &i,
89 const unsigned short int &j)
const;
90 virtual inline GEOM_FT IArea(
void)
const 93 GEOM_FT
I(
const Line2d &r)
const;
94 GEOM_FT
I(
const unsigned short int i,
95 const unsigned short int j,
96 const Pos2d &o)
const;
97 GEOM_FT
IO(
const Pos2d &o)
const;
102 virtual void Transform(
const Trf2d &trf2d)= 0;
107 T getTransformed(
const T &obj,
const Trf2d &trf2d)
110 retval.Transform(trf2d);
virtual void Move(const Vector2d &)
Desplaza el objeto.
Definition: GeomObj2d.cc:196
virtual GEOM_FT GetMax(unsigned short int i) const =0
Return the maximum value of the i-th coordinate.
"boundary" en dos dimensiones.
Definition: BND2d.h:38
FT_matrix I(void) const
Return the inertia tensor with respect to the center of mass of the object.
Definition: GeomObj2d.cc:161
Dirección en dos dimensiones.
Definition: Dir2d.h:36
virtual GEOM_FT Ix(void) const =0
Moment of inertia with respect to the center of mass en local axis.
Base class for position lists.
Definition: PolyPos.h:35
virtual GEOM_FT Iy(void) const =0
Moment of inertia with respect to the center of mass en local axis.
Posición en dos dimensiones.
Definition: Pos2d.h:41
Line in a two-dimensional space.
Definition: Line2d.h:61
GEOM_FT I1(void) const
Return the moment of inertia principal mayor.
Definition: GeomObj2d.cc:112
Ref2d2d PrincipalAxesOfInertia(void) const
Return los principal axis of inertia.
Definition: GeomObj2d.cc:108
virtual GEOM_FT getLength(void) const =0
Return the length of the object.
Base class for two-dimensional transformations.
Definition: Trf2d.h:40
Line2d IAxis_a(void) const
Return un principal axis of inertia (no sabemos si el mayor o el menor.
Definition: GeomObj2d.cc:99
virtual GEOM_FT getArea(void) const =0
Return the area of the object.
Vector en dos dimensiones.
Definition: Vector2d.h:40
Two-dimensional reference system defined in a two-dimensional space.
Definition: Ref2d2d.h:39
Base class for the two-dimensional geometric objects.
Definition: GeomObj2d.h:37
Dir2d IAxisDir_a(void) const
Return the dirección de un principal axis of inertia (we don't know if it's the major or the minor ye...
Definition: GeomObj2d.cc:89
virtual GEOM_FT getCenterOfMassFactor(void) const
Return the factor used for the computation of the center of mass (1.0 by default).
Definition: GeomObj2d.h:61
GEOM_FT IO(const Pos2d &o) const
Return the polar moment of inertia with respect to the point o.
Definition: GeomObj2d.cc:192
virtual GEOM_FT Iz(void) const
Moment of inertia polar with respect to the center of mass en local axis.
Definition: GeomObj2d.h:76
Line2d IAxis_b(void) const
Return un principal axis of inertia (no sabemos si el mayor o el menor.
Definition: GeomObj2d.cc:104
virtual bool Out(const Pos2d &p, const double &tol=0.0) const
Return true if the point lies outside the object.
Definition: GeomObj2d.cc:79
Principals axes of inertia in planar geometry.
Definition: PrincipalAxesOfInertia2D.h:34
virtual GEOM_FT Pxy(void) const =0
!
virtual Pos2d Projection(const Pos2d &) const
Return the orthogonal projection onto the line.
Definition: GeomObj2d.cc:48
virtual GEOM_FT GetMin(unsigned short int i) const =0
Return the minimum value of the i-th coordinate.
BND2d Bnd(void) const
Return the bounding rectangle.
Definition: GeomObj2d.cc:67
GEOM_FT I2(void) const
Return the moment of inertia principal menor.
Definition: GeomObj2d.cc:116
double Theta_p(void) const
Return the angle of one of the principal axis of inertia.
Definition: GeomObj2d.cc:84
virtual GEOM_FT getVolume(void) const
Return the object volume.
Definition: GeomObj2d.h:67
Clase base para las entidades geométricas.
Definition: GeomObj.h:40
Matrix which components are GEOM_FT numbers.
Definition: FT_matrix.h:40
virtual bool In(const Pos2d &p, const double &tol=0.0) const
Return true if the point lies inside the object.
Definition: GeomObj2d.cc:71
Dir2d IAxisDir_b(void) const
Return the direction of the other principal axis of inertia (we don't know if it's the major or the m...
Definition: GeomObj2d.cc:94