mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
35
src/BRep/BRep_TFace.cxx
Executable file
35
src/BRep/BRep_TFace.cxx
Executable file
@@ -0,0 +1,35 @@
|
||||
// File: BRep_TFace.cxx
|
||||
// Created: Tue Aug 25 15:32:17 1992
|
||||
// Author: Remi Lequette
|
||||
// <rle@phylox>
|
||||
|
||||
|
||||
#include <BRep_TFace.ixx>
|
||||
#include <TopAbs.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : BRep_TFace
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
BRep_TFace::BRep_TFace() :
|
||||
TopoDS_TFace(),
|
||||
myTolerance(RealEpsilon()),
|
||||
myNaturalRestriction(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : EmptyCopy
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TopoDS_TShape) BRep_TFace::EmptyCopy() const
|
||||
{
|
||||
Handle(BRep_TFace) TF =
|
||||
new BRep_TFace();
|
||||
TF->Surface(mySurface);
|
||||
TF->Location(myLocation);
|
||||
TF->Tolerance(myTolerance);
|
||||
return TF;
|
||||
}
|
Reference in New Issue
Block a user