26 #include "../d2/GeomObj2d.h"    37     typedef GeomObj::list_Pos2d::iterator point_iterator;
    38     typedef GeomObj::list_Pos2d::const_iterator point_const_iterator;
    40     list_Pos2d lista_ptos;
    45     explicit Pos2dList(
const boost::python::list &);
    46     virtual GeomObj *getCopy(
void)
 const    48     inline size_t getNumberOfPoints(
void)
 const    49       { 
return lista_ptos.size(); }
    50     inline point_const_iterator points_begin(
void)
 const    51       { 
return lista_ptos.begin(); }
    52     const point_const_iterator points_end(
void)
 const    53       { 
return lista_ptos.end(); }
    58       { 
return lista_ptos; }
    63     template <
class InputIterator>
    65     inline void assign(InputIterator first, InputIterator last)
    66       { lista_ptos.assign(first,last); }
    67     virtual bool In(
const Pos2d &p, 
const double &tol= 0.0) 
const;
    69     virtual GEOM_FT 
Ix(
void) 
const;
    70     virtual GEOM_FT 
Iy(
void) 
const;
    71     virtual GEOM_FT 
Iz(
void) 
const;
    74     inline virtual GEOM_FT 
Pxy(
void)
 const    82     virtual GEOM_FT 
GetMax(
unsigned short int i) 
const;
    83     virtual GEOM_FT 
GetMin(
unsigned short int i) 
const;
    87     Pos2d getCenterOfMass(
void)
 const    93     std::deque<GEOM_FT> &GetSeparaciones(
void) 
const;
    94     std::deque<GEOM_FT> &getCovers(
const Polygon2d &) 
const;
    95     double GetSeparacionMedia(
void) 
const;
    97     void Print(std::ostream &stream) 
const;
    98     void Plot(Plotter &) 
const;
 Pos2dList offset(const GEOM_FT &d) const
Return the vertex list of a polyline parallel to the polyline builded with the vertex of this line at...
Definition: Pos2dList.cc:70
void assign(InputIterator first, InputIterator last)
Insert the vertices between [first,last). 
Definition: Pos2dList.h:65
virtual GEOM_FT getLength(void) const
Return the length of the object. 
Definition: Pos2dList.h:77
Base class for position lists. 
Definition: PolyPos.h:35
const Pos2d * appendPoint(const Pos2d &p)
Appends the point to the list. 
Definition: Pos2dList.cc:51
pos getCenterOfMass(void) const
Return the center of mass del polígono. 
Definition: PolyPos.h:353
Posición en dos dimensiones. 
Definition: Pos2d.h:41
Base class for two-dimensional transformations. 
Definition: Trf2d.h:40
void Transform(const Trf2d &trf2d)
Applies the transformation to the points. 
Definition: Pos2dList.cc:63
Base class for the two-dimensional geometric objects. 
Definition: GeomObj2d.h:37
Polígono en dos dimensiones. 
Definition: Polygon2d.h:38
const Pos2d & Point(const size_t &i) const
Return el vértice i-ésimo (el primero es el 1). 
Definition: Pos2dList.cc:177
Pos2dList GetMayores(unsigned short int i, const GEOM_FT &d) const
Return a Pos2dList with the points which i coordinate is greater than d. 
Definition: Pos2dList.cc:159
virtual GEOM_FT Iz(void) const
Moment of inertia polar with respect to the center of mass en local axis. 
Definition: Pos2dList.cc:191
virtual GEOM_FT Ix(void) const
Moment of inertia with respect to the center of mass en local axis. 
Definition: Pos2dList.cc:181
Pos2dList GetMenores(unsigned short int i, const GEOM_FT &d) const
Return a Pos2dList with the points which i coordinate is less than d. 
Definition: Pos2dList.cc:168
virtual bool In(const Pos2d &p, const double &tol=0.0) const
Return true if the point belongs to the set. 
Definition: Pos2dList.cc:143
virtual GEOM_FT GetMin(unsigned short int i) const
Return the minimum value of the i coordinate. 
Definition: Pos2dList.cc:154
virtual GEOM_FT Iy(void) const
Moment of inertia with respect to the center of mass en local axis. 
Definition: Pos2dList.cc:186
short unsigned int Dimension(void) const
Return the dimension of the object 0, 1, 2 or 3. 
Definition: Pos2dList.h:54
virtual GEOM_FT GetMax(unsigned short int i) const
Return the maximum value of the i coordinate. 
Definition: Pos2dList.cc:150
Pos2d & operator[](const size_t &i)
Return a reference al objeto cuyo índice se pasa como parámetro. 
Definition: Pos2dList.cc:116
Clase base para las entidades geométricas. 
Definition: GeomObj.h:40
virtual GEOM_FT getArea(void) const
Return the area of the object. 
Definition: Pos2dList.h:80
void appendPointPy(const Pos2d &p)
Appends the point to the list. 
Definition: Pos2dList.cc:59
virtual GEOM_FT Pxy(void) const
Product of inertia. 
Definition: Pos2dList.h:74
List of 2D positions. 
Definition: Pos2dList.h:33