Warning, file /include/opencascade/BRepMesh_EdgeTessellationExtractor.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 #ifndef _BRepMesh_EdgeTessellationExtractor_HeaderFile
0017 #define _BRepMesh_EdgeTessellationExtractor_HeaderFile
0018
0019 #include <IMeshTools_CurveTessellator.hxx>
0020 #include <BRepMesh_EdgeParameterProvider.hxx>
0021 #include <Standard_Integer.hxx>
0022 #include <NCollection_Array1.hxx>
0023 #include <TopLoc_Location.hxx>
0024
0025
0026
0027 class BRepMesh_EdgeTessellationExtractor : public IMeshTools_CurveTessellator
0028 {
0029 public:
0030
0031 Standard_EXPORT BRepMesh_EdgeTessellationExtractor(const IMeshData::IEdgeHandle& theEdge,
0032 const IMeshData::IFaceHandle& theFace);
0033
0034
0035 Standard_EXPORT ~BRepMesh_EdgeTessellationExtractor() override;
0036
0037
0038 Standard_EXPORT int PointsNb() const override;
0039
0040
0041
0042
0043
0044
0045 Standard_EXPORT bool Value(const int theIndex,
0046 gp_Pnt& thePoint,
0047 double& theParameter) const override;
0048
0049 DEFINE_STANDARD_RTTIEXT(BRepMesh_EdgeTessellationExtractor, IMeshTools_CurveTessellator)
0050
0051 private:
0052 BRepMesh_EdgeParameterProvider<occ::handle<NCollection_HArray1<double>>> myProvider;
0053 const Poly_Triangulation* myTriangulation;
0054 const NCollection_Array1<int>* myIndices;
0055 TopLoc_Location myLoc;
0056 };
0057
0058 #endif