27 #include "../d2/GeomObj2d.h" 39 virtual GeomObj *getCopy(
void)
const= 0;
40 inline virtual unsigned short int Dimension(
void)
const 49 virtual bool In(
const Pos2d &p,
const double &tol= 0.0)
const= 0;
Base class for position lists.
Definition: PolyPos.h:35
boost::python::list sortPointsAlongPy(const boost::python::list &) const
Return the given points sorted by its parameter along the line (assuming they are on the line) in the...
Definition: Linear2d.cc:59
Posición en dos dimensiones.
Definition: Pos2d.h:41
std::vector< std::pair< Pos2d, GEOM_FT > > sortPointsAlong(const GeomObj2d::list_Pos2d &) const
Return the given points sorted by its parameter along the line (assuming they are on the line) in the...
Definition: Linear2d.cc:40
virtual GEOM_FT getArea(void) const
Return the area of the object.
Definition: Linear2d.h:43
Base class for the two-dimensional geometric objects.
Definition: GeomObj2d.h:37
virtual bool In(const Pos2d &p, const double &tol=0.0) const =0
Return true if the point lies inside the object.
virtual GEOM_FT getVolume(void) const
Return the volume of the object.
Definition: Linear2d.h:46
virtual GEOM_FT getLambda(const Pos2d &) const
Return the lambda parameter for the given point: p= getFromPoint()+lambda*VDir()
Definition: Linear2d.cc:29
Clase base para las entidades geométricas.
Definition: GeomObj.h:40
Base class for the objects involving a single dimension in a two-dimensional space.
Definition: Linear2d.h:34
virtual unsigned short int Dimension(void) const
Return the dimension of the object 0, 1, 2 or 3.
Definition: Linear2d.h:40