Warning, file /include/opencascade/HLRBRep_EdgeInterferenceTool.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HLRBRep_EdgeInterferenceTool_HeaderFile
0018 #define _HLRBRep_EdgeInterferenceTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <HLRAlgo_Intersection.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TopAbs_Orientation.hxx>
0027 class HLRBRep_Data;
0028 class gp_Dir;
0029 class HLRAlgo_Interference;
0030
0031
0032
0033 class HLRBRep_EdgeInterferenceTool
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT HLRBRep_EdgeInterferenceTool(const Handle(HLRBRep_Data)& DS);
0039
0040 Standard_EXPORT void LoadEdge();
0041
0042 void InitVertices();
0043
0044 Standard_Boolean MoreVertices() const;
0045
0046 void NextVertex();
0047
0048 const HLRAlgo_Intersection& CurrentVertex() const;
0049
0050 TopAbs_Orientation CurrentOrientation() const;
0051
0052 Standard_Real CurrentParameter() const;
0053
0054 Standard_Boolean IsPeriodic() const;
0055
0056
0057
0058
0059 Standard_EXPORT void EdgeGeometry(const Standard_Real Param,
0060 gp_Dir& Tgt,
0061 gp_Dir& Nrm,
0062 Standard_Real& Curv) const;
0063
0064 Standard_Real ParameterOfInterference(const HLRAlgo_Interference& I) const;
0065
0066
0067
0068 Standard_EXPORT Standard_Boolean SameInterferences(const HLRAlgo_Interference& I1,
0069 const HLRAlgo_Interference& I2) const;
0070
0071
0072
0073 Standard_EXPORT Standard_Boolean SameVertexAndInterference(const HLRAlgo_Interference& I) const;
0074
0075
0076
0077
0078
0079 Standard_EXPORT void InterferenceBoundaryGeometry(const HLRAlgo_Interference& I,
0080 gp_Dir& Tang,
0081 gp_Dir& Norm,
0082 Standard_Real& Curv) const;
0083
0084 protected:
0085 private:
0086 Handle(HLRBRep_Data) myDS;
0087 HLRAlgo_Intersection inter[2];
0088 Standard_Integer cur;
0089 };
0090
0091 #include <HLRBRep_EdgeInterferenceTool.lxx>
0092
0093 #endif