File indexing completed on 2026-05-19 08:17:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PrsDim_ConcentricRelation_HeaderFile
0018 #define _PrsDim_ConcentricRelation_HeaderFile
0019
0020 #include <PrsDim_Relation.hxx>
0021 #include <gp_Dir.hxx>
0022
0023 class Geom_Plane;
0024
0025 DEFINE_STANDARD_HANDLE(PrsDim_ConcentricRelation, PrsDim_Relation)
0026
0027
0028
0029
0030
0031
0032 class PrsDim_ConcentricRelation : public PrsDim_Relation
0033 {
0034 DEFINE_STANDARD_RTTIEXT(PrsDim_ConcentricRelation, PrsDim_Relation)
0035 public:
0036
0037
0038
0039
0040
0041
0042 Standard_EXPORT PrsDim_ConcentricRelation(const TopoDS_Shape& aFShape,
0043 const TopoDS_Shape& aSShape,
0044 const Handle(Geom_Plane)& aPlane);
0045
0046 private:
0047 Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager)& thePrsMgr,
0048 const Handle(Prs3d_Presentation)& thePrs,
0049 const Standard_Integer theMode) Standard_OVERRIDE;
0050
0051 Standard_EXPORT void ComputeTwoEdgesConcentric(const Handle(Prs3d_Presentation)& thePrsMgr);
0052
0053 Standard_EXPORT void ComputeEdgeVertexConcentric(const Handle(Prs3d_Presentation)& thePrsMgr);
0054
0055 Standard_EXPORT void ComputeTwoVerticesConcentric(const Handle(Prs3d_Presentation)& thePrsMgr);
0056
0057 Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& theSel,
0058 const Standard_Integer theMode) Standard_OVERRIDE;
0059
0060 private:
0061 gp_Pnt myCenter;
0062 Standard_Real myRad;
0063 gp_Dir myDir;
0064 gp_Pnt myPnt;
0065 };
0066
0067 #endif