23 #ifndef BLOCKPYRAMID_H 24 #define BLOCKPYRAMID_H 27 #include "../GeomObj3d.h" 28 #include "utility/geom/pos_vec/Pos3d.h" 29 #include "utility/geom/d3/HalfSpace3d.h" 30 #include "utility/matrices/m_double.h" 48 virtual GeomObj *getCopy(
void)
const 55 GEOM_FT
Ix(
void)
const;
56 GEOM_FT
Iy(
void)
const;
57 GEOM_FT
Iz(
void)
const;
59 GEOM_FT
GetMax(
unsigned short int i)
const;
60 GEOM_FT
GetMin(
unsigned short int i)
const;
61 m_double getVectoresBorde(
void)
const;
65 bool Vacio(
void)
const;
66 void Print(std::ostream &os)
const;
bool Vacio(void) const
Return true if has no borders.
Definition: BlockPyramid.cc:248
Pos3d getCenterOfMass(void) const
Return the position of the center of mass.
Definition: BlockPyramid.cc:142
std::deque< Vector3d > haz_vectores_interiores(void) const
From the haz de vectors that results from intersecting the half spaces 2 by 2, return those thar are ...
Definition: BlockPyramid.cc:75
GEOM_FT GetMax(unsigned short int i) const
Return the maximum value of the i-th coordinate.
Definition: BlockPyramid.cc:149
std::deque< Vector2d > getVectoresExternos(const Ref2d3d &) const
Return the pairs of external vectors of the projected pyramid.
Definition: BlockPyramid.cc:234
GEOM_FT Iy(void) const
Return the moment of inertia with respect to the y axis.
Definition: BlockPyramid.cc:126
Polyhedral angle.
Definition: BlockPyramid.h:36
unsigned short int Dimension(void) const
Return the dimension of the object 0, 1, 2 or 3.
Definition: BlockPyramid.h:50
std::deque< Vector3d > haz_vectores(void) const
Return el haz de vectors that results from intersecting the half spaces 2 by 2.
Definition: BlockPyramid.cc:33
Vector en dos dimensiones.
Definition: Vector2d.h:40
static bool es_interior(const HalfSpace3d &, const Vector3d &)
Return true if the vector is oriented inwards the half space.
Definition: BlockPyramid.cc:49
void Print(std::ostream &os) const
Print stuff.
Definition: BlockPyramid.cc:255
std::deque< HalfSpace3d > half_spaces
Half spaces that define the object.
Definition: BlockPyramid.h:39
GEOM_FT getArea(void) const
Return the area of the object surface.
Definition: BlockPyramid.cc:102
Posición en tres dimensiones.
Definition: Pos3d.h:44
GEOM_FT Ix(void) const
Return the moment of inertia with respect to the x axis.
Definition: BlockPyramid.cc:118
GEOM_FT getVolume(void) const
Return the volume of the object.
Definition: BlockPyramid.cc:110
GEOM_FT GetMin(unsigned short int i) const
Return the minimum value of the i-th coordinate.
Definition: BlockPyramid.cc:155
BlockPyramid(void)
Default constructor.
Definition: BlockPyramid.cc:86
GEOM_FT Iz(void) const
Return the moment of inertia with respect to the z axis.
Definition: BlockPyramid.cc:134
The points of the half space are those that line at the back of the plane, this being understood as t...
Definition: HalfSpace3d.h:42
Clase base para las entidades geométricas.
Definition: GeomObj.h:40
Vector en tres dimensiones.
Definition: Vector3d.h:39
Two-dimensional reference system defined in a three-dimensional space.
Definition: Ref2d3d.h:41
GEOM_FT getLength(void) const
Return the object length.
Definition: BlockPyramid.cc:94
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43