25 #if GEOM_PSEUDO3D==GEOM_TRUE
26 namespace GEOM_FADE25D {
73 std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter);
127 bool go(
bool bWithMessages=
true);
141 CutAndFillImpl* pCAFI;
156 #elif GEOM_PSEUDO3D==GEOM_FALSE
158 #error GEOM_PSEUDO3D is not defined
CAF_Component stands for CUT AND FILL COMPONENT. It represents a connected area of the surface.
Definition: CAF_Component.h:59
CutAndFill computes the volume(s) between two overlapping surfaces.
Definition: CutAndFill.h:44
void subscribe(MsgType msgType, MsgBase *pMsg)
Register a progress bar object.
CAF_Component * getComponent(size_t ith) const
Get component ith.
bool getDiffZone(Zone2 *&pDiffZone, std::map< Point2 *, std::pair< double, double > > &mVtx2BeforeAfter)
Get the difference zone.
bool go(bool bWithMessages=true)
Start the computation.
void show(Visualizer2 *pVis) const
Draw a postscript visualization.
void unsubscribe(MsgType msgType, MsgBase *pMsg)
Unregister a progress bar object.
size_t getNumberOfComponents() const
Get the number of components.
CutAndFill(Zone2 *pZoneBefore, Zone2 *pZoneAfter, double ignoreThreshold=1e-6)
Constructor.
MsgBase, a base class for message subscriber classes.
Definition: MsgBase.h:47
Point.
Definition: Point2.h:45
Visualizer2 is a general Postscript writer. It draws the objects Point2, Segment2,...
Definition: Visualizer2.h:56
Zone2 is a certain defined area of a triangulation.
Definition: Zone2.h:95