netgen/libsrc/occ/occ_vertex.hpp

32 lines
648 B
C++
Raw Normal View History

2021-11-28 20:14:41 +05:00
#ifndef FILE_OCC_VERTEX_INCLUDED
#define FILE_OCC_VERTEX_INCLUDED
2023-07-31 03:13:56 +05:00
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
2021-11-28 20:14:41 +05:00
#include <TopoDS.hxx>
#include <BRep_TVertex.hxx>
2023-07-31 03:13:56 +05:00
#pragma clang diagnostic pop
2021-11-28 20:14:41 +05:00
#include "meshing.hpp"
#include "occ_utils.hpp"
namespace netgen
{
class OCCVertex : public GeometryVertex
{
TopoDS_Vertex vertex;
Point<3> p;
public:
OCCVertex( ) = default;
OCCVertex( TopoDS_Shape s );
~OCCVertex() {}
Point<3> GetPoint() const override;
size_t GetHash() const override;
};
}
#endif // FILE_OCC_VERTEX_INCLUDED