28 #if GEOM_PSEUDO3D==GEOM_TRUE
29 namespace GEOM_FADE25D {
69 std::vector<Triangle2*>& vT_,
70 std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter_,
126 void getBorder(std::vector<Segment2>& vBorderSegments)
const;
133 void init(std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter);
135 void showGeomview(
const char* name,std::vector<Point2>* pvBeforeT, std::vector<Point2>* pvAfterT, std::vector<Point2>* pvWallT)
const;
137 void setVolume(std::vector<Point2>* pvBeforeT, std::vector<Point2>* pvAfterT, std::vector<Point2>* pvWallT);
138 std::vector<Triangle2*>* pVT;
159 case CT_NULL: stream<<
", Type: NULL";
break;
160 case CT_CUT: stream<<
", Type: CUT ";
break;
161 case CT_FILL: stream<<
", Type: FILL";
break;
171 #elif GEOM_PSEUDO3D==GEOM_FALSE
173 #error GEOM_PSEUDO3D is not defined
std::ostream & operator<<(std::ostream &stream, const Bbox2 &pC)
Prints the bounding box to a stream.
Definition: Bbox2.h:605
CAFTYP
Definition: CAF_Component.h:40
@ CT_FILL
the first surface is below the second one
Definition: CAF_Component.h:43
@ CT_NULL
the first surface corresponds to the second one
Definition: CAF_Component.h:41
@ CT_CUT
the first surface is above the second one
Definition: CAF_Component.h:42
CAF_Component represents a connected area of the surface.
Definition: CAF_Component.h:63
void getTriangles(std::vector< Triangle2 * > &vTrianglesOut) const
Get the triangles of the component.
void getBorder(std::vector< Segment2 > &vBorderSegments) const
Get the border segments of the component.
CAF_Component(std::vector< Triangle2 * > &vT_, std::map< Point2 *, std::pair< double, double > > &mVtx2BeforeAfter_, int label_)
Constructor.
int getLabel() const
Get the label of the component.
CAFTYP getCAFType() const
Get Cut&Fill-Type.
~CAF_Component()
Destructor.
double getVolume() const
Get the volume of the component.
Represents a 2.5D point.
Definition: Point2.h:76