File indexing completed on 2026-09-17 09:21:59
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StdPrs_HLRToolShape_HeaderFile
0018 #define _StdPrs_HLRToolShape_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <HLRAlgo_EdgeIterator.hxx>
0025 #include <Standard_Integer.hxx>
0026 class HLRBRep_Data;
0027 class TopoDS_Shape;
0028 class HLRAlgo_Projector;
0029 class BRepAdaptor_Curve;
0030
0031 class StdPrs_HLRToolShape
0032 {
0033 public:
0034 DEFINE_STANDARD_ALLOC
0035
0036 Standard_EXPORT StdPrs_HLRToolShape(const TopoDS_Shape& TheShape,
0037 const HLRAlgo_Projector& TheProjector);
0038
0039 Standard_EXPORT int NbEdges() const;
0040
0041 Standard_EXPORT void InitVisible(const int EdgeNumber);
0042
0043 Standard_EXPORT bool MoreVisible() const;
0044
0045 Standard_EXPORT void NextVisible();
0046
0047 Standard_EXPORT void Visible(BRepAdaptor_Curve& TheEdge, double& U1, double& U2);
0048
0049 Standard_EXPORT void InitHidden(const int EdgeNumber);
0050
0051 Standard_EXPORT bool MoreHidden() const;
0052
0053 Standard_EXPORT void NextHidden();
0054
0055 Standard_EXPORT void Hidden(BRepAdaptor_Curve& TheEdge, double& U1, double& U2);
0056
0057 private:
0058 occ::handle<HLRBRep_Data> MyData;
0059 HLRAlgo_EdgeIterator myEdgeIterator;
0060 int MyCurrentEdgeNumber;
0061 };
0062
0063 #endif