0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / BRep / BRep_TVertex.cxx
CommitLineData
7fd59977 1// File: BRep_TVertex.cxx
2// Created: Tue Aug 25 15:47:49 1992
3// Author: Modelistation
4// <model@phylox>
5
6
7#include <BRep_TVertex.ixx>
8#include <TopAbs.hxx>
9
10//=======================================================================
11//function : BRep_TVertex
12//purpose :
13//=======================================================================
14
15BRep_TVertex::BRep_TVertex() :
16 TopoDS_TVertex(),
17 myTolerance(RealEpsilon())
18{
19}
20
21//=======================================================================
22//function : EmptyCopy
23//purpose :
24//=======================================================================
25
26Handle(TopoDS_TShape) BRep_TVertex::EmptyCopy() const
27{
28 Handle(BRep_TVertex) TV =
29 new BRep_TVertex();
30 TV->Pnt(myPnt);
31 TV->Tolerance(myTolerance);
32 return TV;
33}
34