// File: BOP_EdgeInfo.cxx // Created: Mon Apr 9 10:29:58 2001 // Author: Peter KURNEV // #include //======================================================================= // function: BOP_FaceInfo::BOP_FaceInfo // purpose: //======================================================================= BOP_FaceInfo::BOP_FaceInfo() : myPassed(Standard_False), myAngle(0.) {} //======================================================================= // function: SetFace // purpose: //======================================================================= void BOP_FaceInfo::SetFace(const TopoDS_Face& aF) { myFace=aF; } //======================================================================= // function: Face // purpose: //======================================================================= const TopoDS_Face& BOP_FaceInfo::Face()const { return myFace; } //======================================================================= // function: SetPassed // purpose: //======================================================================= void BOP_FaceInfo::SetPassed(const Standard_Boolean aFlag) { myPassed=aFlag; } //======================================================================= // function: SetPOnEdge // purpose: //======================================================================= void BOP_FaceInfo::SetPOnEdge(const gp_Pnt& aP) { myPOnEdge=aP; } //======================================================================= // function: SetAngle // purpose: //======================================================================= void BOP_FaceInfo::SetAngle(const Standard_Real A) { myAngle=A; } //======================================================================= // function: Angle // purpose: //======================================================================= Standard_Real BOP_FaceInfo::Angle()const { return myAngle; } //======================================================================= // function: POnEdge // purpose: //======================================================================= const gp_Pnt& BOP_FaceInfo::POnEdge()const { return myPOnEdge; } //======================================================================= // function: SetPInFace // purpose: //======================================================================= void BOP_FaceInfo::SetPInFace(const gp_Pnt& aP) { myPInFace=aP; } //======================================================================= // function: PInFace // purpose: //======================================================================= const gp_Pnt& BOP_FaceInfo::PInFace()const { return myPInFace; } //======================================================================= // function: SetPInFace2D // purpose: //======================================================================= void BOP_FaceInfo::SetPInFace2D(const gp_Pnt2d& aP) { myPInFace2D=aP; } //======================================================================= // function: PInFace2D // purpose: //======================================================================= const gp_Pnt2d& BOP_FaceInfo::PInFace2D()const { return myPInFace2D; } //======================================================================= // function: SetNormal // purpose: //======================================================================= void BOP_FaceInfo::SetNormal(const gp_Dir& aD) { myNormal=aD; } //======================================================================= // function: Normal // purpose: //======================================================================= const gp_Dir& BOP_FaceInfo::Normal()const { return myNormal; } //======================================================================= // function: IsPassed // purpose: //======================================================================= Standard_Boolean BOP_FaceInfo::IsPassed()const { return myPassed; }