// File: BRepAlgoAPI_Common.cxx // Created: Fri Oct 15 11:36:28 1993 // Author: Remi LEQUETTE // #include #include #include //======================================================================= //function : BRepAlgoAPI_Common //purpose : //======================================================================= BRepAlgoAPI_Common::BRepAlgoAPI_Common(const TopoDS_Shape& S1, const TopoDS_Shape& S2) : BRepAlgoAPI_BooleanOperation(S1, S2, BOP_COMMON) { BRepAlgoAPI_BooleanOperation* pBO= (BRepAlgoAPI_BooleanOperation*) (void*) this; pBO->Build(); } //======================================================================= //function : BRepAlgoAPI_Common //purpose : //======================================================================= BRepAlgoAPI_Common::BRepAlgoAPI_Common(const TopoDS_Shape& S1, const TopoDS_Shape& S2, const BOPTools_DSFiller& aDSF) : BRepAlgoAPI_BooleanOperation(S1, S2, aDSF, BOP_COMMON) { BRepAlgoAPI_BooleanOperation* pBO= (BRepAlgoAPI_BooleanOperation*) (void*) this; pBO->Build(); }