mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
20 lines
291 B
C++
20 lines
291 B
C++
#include <BRepGProp.hxx>
|
|
#include <BRep_Tool.hxx>
|
|
|
|
#include "occ_vertex.hpp"
|
|
|
|
namespace netgen
|
|
{
|
|
|
|
OCCVertex::OCCVertex( TopoDS_Shape s )
|
|
: vertex(TopoDS::Vertex(s))
|
|
{
|
|
p = occ2ng(vertex);
|
|
}
|
|
|
|
Point<3> OCCVertex::GetPoint() const
|
|
{
|
|
return p;
|
|
}
|
|
}
|