File indexing completed on 2025-01-18 10:04:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PrsDim_EqualRadiusRelation_HeaderFile
0018 #define _PrsDim_EqualRadiusRelation_HeaderFile
0019
0020 #include <PrsDim_Relation.hxx>
0021
0022 class Geom_Plane;
0023
0024 DEFINE_STANDARD_HANDLE(PrsDim_EqualRadiusRelation, PrsDim_Relation)
0025
0026 class PrsDim_EqualRadiusRelation : public PrsDim_Relation
0027 {
0028 DEFINE_STANDARD_RTTIEXT(PrsDim_EqualRadiusRelation, PrsDim_Relation)
0029 public:
0030
0031
0032
0033
0034 Standard_EXPORT PrsDim_EqualRadiusRelation(const TopoDS_Edge& aFirstEdge, const TopoDS_Edge& aSecondEdge, const Handle(Geom_Plane)& aPlane);
0035
0036 private:
0037
0038 Standard_EXPORT virtual void Compute (const Handle(PrsMgr_PresentationManager)& thePrsMgr,
0039 const Handle(Prs3d_Presentation)& thePrs,
0040 const Standard_Integer theMode) Standard_OVERRIDE;
0041
0042 Standard_EXPORT virtual void ComputeSelection (const Handle(SelectMgr_Selection)& theSel,
0043 const Standard_Integer theMode) Standard_OVERRIDE;
0044
0045 Standard_EXPORT void ComputeRadiusPosition();
0046
0047 private:
0048
0049 gp_Pnt myFirstCenter;
0050 gp_Pnt mySecondCenter;
0051 gp_Pnt myFirstPoint;
0052 gp_Pnt mySecondPoint;
0053
0054 };
0055
0056 #endif