mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
29 lines
596 B
C++
29 lines
596 B
C++
#ifndef FILE_OCC_VERTEX_INCLUDED
|
|
#define FILE_OCC_VERTEX_INCLUDED
|
|
|
|
#include <TopoDS.hxx>
|
|
#include <BRep_TVertex.hxx>
|
|
|
|
#include "meshing.hpp"
|
|
#include "occ_utils.hpp"
|
|
|
|
namespace netgen
|
|
{
|
|
class OCCVertex : public GeometryVertex
|
|
{
|
|
TopoDS_Vertex vertex;
|
|
T_Shape tvertex;
|
|
Point<3> p;
|
|
|
|
public:
|
|
OCCVertex( ) = default;
|
|
OCCVertex( TopoDS_Shape s );
|
|
~OCCVertex() {}
|
|
Point<3> GetPoint() const override;
|
|
size_t GetHash() const override;
|
|
T_Shape TShape() { return tvertex; }
|
|
};
|
|
}
|
|
|
|
#endif // FILE_OCC_VERTEX_INCLUDED
|