28 #if GEOM_PSEUDO3D==GEOM_TRUE
29 namespace GEOM_FADE25D {
62 std::vector<Triangle2*>& vT_,
63 std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter_,
117 void getBorder(std::vector<Segment2>& vBorderSegments)
const;
123 void init(std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter);
124 void showGeomview(
const char* name,std::vector<Point2>* pvBeforeT, std::vector<Point2>* pvAfterT, std::vector<Point2>* pvWallT)
const;
126 std::vector<Triangle2*>* pVT;
127 void setVolume(std::vector<Point2>* pvBeforeT, std::vector<Point2>* pvAfterT, std::vector<Point2>* pvWallT);
139 inline std::ostream &operator<<(std::ostream &stream,
const CAF_Component& c)
144 case CT_NULL: stream<<
", Type: NULL";
break;
145 case CT_CUT: stream<<
", Type: CUT ";
break;
146 case CT_FILL: stream<<
", Type: FILL";
break;
156 #elif GEOM_PSEUDO3D==GEOM_FALSE
158 #error GEOM_PSEUDO3D is not defined
CAFTYP
Definition: CAF_Component.h:37
@ CT_FILL
the first surface is below the second one
Definition: CAF_Component.h:40
@ CT_NULL
the first surface corresponds to the second one
Definition: CAF_Component.h:38
@ CT_CUT
the first surface is above the second one
Definition: CAF_Component.h:39
CAF_Component stands for CUT AND FILL COMPONENT. It represents a connected area of the surface.
Definition: CAF_Component.h:59
void getTriangles(std::vector< Triangle2 * > &vTrianglesOut) const
Get Triangles.
void getBorder(std::vector< Segment2 > &vBorderSegments) const
Get border.
int getLabel() const
Get label.
CAFTYP getCAFType() const
Get Cut&Fill-Type.
double getVolume() const
Get the volume.
Point.
Definition: Point2.h:53