-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//function : GEOMUtils_Hatcher
//purpose :
//=======================================================================
-GEOMUtils_Hatcher::GEOMUtils_Hatcher(const TopoDS_Face &theFace)
+GEOMUtils::Hatcher::Hatcher(const TopoDS_Face &theFace)
: myHatcher(Geom2dHatch_Intersector (IntersectorConfusion, IntersectorTangency),
HatcherConfusion2d, HatcherConfusion3d,
Standard_True, Standard_False),
//function : Init
//purpose :
//=======================================================================
-void GEOMUtils_Hatcher::Init(const Standard_Integer theNbIsos)
+void GEOMUtils::Hatcher::Init(const Standard_Integer theNbIsos)
{
Init(theNbIsos, theNbIsos);
}
//function : Init
//purpose :
//=======================================================================
-void GEOMUtils_Hatcher::Init(const Standard_Integer theNbIsoU,
- const Standard_Integer theNbIsoV)
+void GEOMUtils::Hatcher::Init(const Standard_Integer theNbIsoU,
+ const Standard_Integer theNbIsoV)
{
// Initialize data.
Clear();
//function : Init
//purpose :
//=======================================================================
-void GEOMUtils_Hatcher::Init(const GeomAbs_IsoType theIsoType,
- const Standard_Real theParameter)
+void GEOMUtils::Hatcher::Init(const GeomAbs_IsoType theIsoType,
+ const Standard_Real theParameter)
{
// Initialize data.
Clear();
//function : Perform
//purpose :
//=======================================================================
-void GEOMUtils_Hatcher::Perform()
+void GEOMUtils::Hatcher::Perform()
{
myHatcher.Trim();
//function : GetNbDomains
//purpose :
//=======================================================================
-Standard_Integer GEOMUtils_Hatcher::GetNbDomains
+Standard_Integer GEOMUtils::Hatcher::GetNbDomains
(const Standard_Integer theHatchingIndex) const
{
Standard_Integer aResult = -1;
//function : GetDomain
//purpose :
//=======================================================================
-Standard_Boolean GEOMUtils_Hatcher::GetDomain
+Standard_Boolean GEOMUtils::Hatcher::GetDomain
(const Standard_Integer theHatchingIndex,
const Standard_Integer theDomainIndex,
Standard_Real &theParam1,
//function : IsDomainInfinite
//purpose :
//=======================================================================
-Standard_Boolean GEOMUtils_Hatcher::IsDomainInfinite
+Standard_Boolean GEOMUtils::Hatcher::IsDomainInfinite
(const Standard_Integer theHatchingIndex,
const Standard_Integer theDomainIndex) const
{
//function : GetHatching
//purpose :
//=======================================================================
-const Handle(Geom2d_Curve) &GEOMUtils_Hatcher::GetHatching
+const Handle(Geom2d_Curve) &GEOMUtils::Hatcher::GetHatching
(const Standard_Integer theHatchingIndex) const
{
const Geom2dAdaptor_Curve &aGACurve =
//function : Clear
//purpose :
//=======================================================================
-void GEOMUtils_Hatcher::Clear()
+void GEOMUtils::Hatcher::Clear()
{
myIsDone = Standard_False;
myUPrm.Nullify();