27 #include "utility/geom/d1/Line2d.h"    28 #include "utility/geom/d2/Surface2d.h"    48     virtual GeomObj *getCopy(
void) 
const;
    49     inline void swap(
void);
    54     inline GEOM_RT 
a(
void)
 const    58     inline GEOM_RT 
b(
void)
 const    62     inline GEOM_RT 
c(
void)
 const    64     virtual GEOM_FT 
GetMax(
unsigned short int)
 const    66     virtual GEOM_FT 
GetMin(
unsigned short int)
 const    68     inline bool isDegenerated(
void)
 const    70     inline const Line2d &getBoundaryLine(
void)
 const    73     virtual bool In(
const Pos2d &p, 
const double &tol= 0.0) 
const;
    74     virtual bool In(
const Line2d &, 
const double &tol= 0.0) 
const;
    75     virtual bool In(
const Ray2d &, 
const double &tol= 0.0) 
const;
    76     virtual bool In(
const Segment2d &, 
const double &tol= 0.0) 
const;
    77     virtual bool In(
const Polyline2d &, 
const double &tol= 0.0) 
const;
    82         GEOM_FT retval= lim.
dist(p);
    83         if(
In(p)) retval= -retval;
    94     inline bool intersects(
const Line2d &r)
 const    96     bool intersects(
const Ray2d &sr) 
const;
    97     bool intersects(
const Segment2d &sg) 
const;
   106     inline virtual Pos2d getCenterOfMass(
void)
 const   109     inline virtual GEOM_FT 
Ix(
void)
 const   112     inline virtual GEOM_FT 
Iy(
void)
 const   115     inline virtual GEOM_FT 
Pxy(
void)
 const   118     inline virtual GEOM_FT 
Iz(
void)
 const   124     std::deque<Polyline2d> 
clip(
const Polyline2d &, 
const GEOM_FT &tol= 0.0) 
const;
   125     boost::python::list 
clipPy(
const Polyline2d &, 
const GEOM_FT &tol= 0.0) 
const;
   129     inline void Print(std::ostream &os)
 const   134   { 
return r.
Dist(p); }
   136   { 
return dist(p,r); }
   138   { 
return !(r1==r2); }
   141   { 
return sp1.intersects(sp2); }
   143   { 
return sp.intersects(r); }
   145   { 
return sp.intersects(sr); }
   147   { 
return sp.intersects(sg); }
   149   { 
return sp.intersects(r); }
   151   { 
return sp.intersects(sr); }
   153   { 
return sp.intersects(sg); }
 bool intersects(const Line2d &r2) const
Return true if the line intersects the argument one. 
Definition: Line2d.cc:456
virtual GEOM_FT Dist(const Pos2d &p) const
Return the distance from the point to the half-plane. 
Definition: HalfPlane2d.h:87
virtual GEOM_FT dist(const Pos2d &p) const
Return the squared distance from the point to the line. 
Definition: Line2d.cc:637
GEOM_FT DistSigno(const Pos2d &p) const
Return the signed distance from the point to the half-plane. 
Definition: HalfPlane2d.h:80
virtual GEOM_FT GetMin(unsigned short int) const
Return the minimum value of the i-th coordinate. 
Definition: HalfPlane2d.h:66
Posición en dos dimensiones. 
Definition: Pos2d.h:41
virtual GEOM_FT Ix(void) const
Moment of inertia with respect to the center of mass en local axis. 
Definition: HalfPlane2d.h:109
Ray2d clip(const Line2d &) const
Returns the part of the line that is inside the half-space. 
Definition: HalfPlane2d.cc:209
Line in a two-dimensional space. 
Definition: Line2d.h:61
bool isDegenerated(void) const
Return true if the line is degenerated. 
Definition: Line2d.cc:614
virtual GEOM_FT getLength(void) const
Return the length of the object. 
Definition: HalfPlane2d.h:104
Base class for two-dimensional transformations. 
Definition: Trf2d.h:40
virtual bool operator==(const HalfPlane2d &) const
Comparison operator. 
Definition: HalfPlane2d.cc:49
virtual GEOM_FT GetMax(unsigned short int) const
Return the maximum value of the i-th coordinate. 
Definition: HalfPlane2d.h:64
boost::python::list clipPy(const Polyline2d &, const GEOM_FT &tol=0.0) const
Return the polyline chunks that result from clipping the given polyline with this half plane...
Definition: HalfPlane2d.cc:302
Group of 3D entities. 
Definition: GeomGroup2d.h:35
GEOM_RT c(void) const
Returns the c parameter of the line equation in general form: a*x + b*y + c= 0. 
Definition: Line2d.cc:260
Base class for surfaces in a two-dimensional space. 
Definition: Surface2d.h:33
GEOM_RT a(void) const
Return the value of a that corresponds to the equation of the line: a*x + b*y + c= 0...
Definition: HalfPlane2d.h:54
virtual GEOM_FT Pxy(void) const
! 
Definition: HalfPlane2d.h:115
Segment in a two-dimensional space. 
Definition: Segment2d.h:38
GEOM_RT a(void) const
Returns the a parameter of the line equation in general form: a*x + b*y + c= 0. 
Definition: Line2d.cc:250
GEOM_RT b(void) const
Return the value of b that corresponds to the equation of the line: a*x + b*y + c= 0...
Definition: HalfPlane2d.h:58
void Transform(const Trf2d &trf2d)
Aplica al objeto la transformación que se pasa como parámetro. 
Definition: HalfPlane2d.cc:323
GEOM_RT b(void) const
Returns the b parameter of the line equation in general form: a*x + b*y + c= 0. 
Definition: Line2d.cc:255
virtual GEOM_FT Iz(void) const
Moment of inertia polar with respect to the center of mass en local axis. 
Definition: HalfPlane2d.h:118
Half plane in a two-dimensional space. 
Definition: HalfPlane2d.h:38
GEOM_RT c(void) const
Return the value of c that corresponds to the equation of the line: a*x + b*y + c= 0...
Definition: HalfPlane2d.h:62
Polyline in a two-dimensional space. 
Definition: Polyline2d.h:41
virtual Pos2d getCenterOfMass(void) const
Return the center of mass of the line. 
Definition: Line2d.cc:191
Clase base para las entidades geométricas. 
Definition: GeomObj.h:40
virtual GEOM_FT Iy(void) const
Moment of inertia with respect to the center of mass en local axis. 
Definition: HalfPlane2d.h:112
virtual bool In(const Pos2d &p, const double &tol=0.0) const
Return true if the point is inside the half-space. 
Definition: HalfPlane2d.cc:112
Ray in a two-dimensional space. 
Definition: Ray2d.h:35