netgen/libsrc/occ/occ_vertex.cpp

20 lines
291 B
C++
Raw Normal View History

2021-11-28 20:14:41 +05:00
#include <BRepGProp.hxx>
#include <BRep_Tool.hxx>
#include "occ_vertex.hpp"
namespace netgen
{
OCCVertex::OCCVertex( TopoDS_Shape s )
2022-08-19 15:51:39 +05:00
: vertex(TopoDS::Vertex(s))
2021-11-28 20:14:41 +05:00
{
p = occ2ng(vertex);
}
Point<3> OCCVertex::GetPoint() const
{
return p;
}
}