Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright notes (for 2010)
[modules/geom.git]
/
src
/
GEOMImpl
/
GEOMImpl_DiskDriver.cxx
diff --git
a/src/GEOMImpl/GEOMImpl_DiskDriver.cxx
b/src/GEOMImpl/GEOMImpl_DiskDriver.cxx
index 5804a77acd5c5a83eea499e1cd322b7209a8169b..24551aa80f41ab7f524793fce99ec6df76054072 100755
(executable)
--- a/
src/GEOMImpl/GEOMImpl_DiskDriver.cxx
+++ b/
src/GEOMImpl/GEOMImpl_DiskDriver.cxx
@@
-1,7
+1,4
@@
-// Copyright (C) 2007-2008 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
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-19,6
+16,7
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
#include <Standard_Stream.hxx>
#include <GEOMImpl_DiskDriver.hxx>
#include <Standard_Stream.hxx>
#include <GEOMImpl_DiskDriver.hxx>
@@
-95,11
+93,11
@@
Standard_Integer GEOMImpl_DiskDriver::Execute(TFunction_Logbook& log) const
gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
gp_Ax2 anAxes (aP, -aV);
gp_Circ aCirc (anAxes, aCI.GetRadius());
gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
gp_Ax2 anAxes (aP, -aV);
gp_Circ aCirc (anAxes, aCI.GetRadius());
- TopoDS_Shape aCircle = BRepBuilderAPI_MakeEdge(aCirc).Edge();
- BRepBuilderAPI_MakeWire MW;
- MW.Add(TopoDS::Edge(aCircle));
- BRepBuilderAPI_MakeFace MF (MW, Standard_False);
- aShape = MF.Shape();
+
TopoDS_Shape aCircle = BRepBuilderAPI_MakeEdge(aCirc).Edge();
+
BRepBuilderAPI_MakeWire MW;
+
MW.Add(TopoDS::Edge(aCircle));
+
BRepBuilderAPI_MakeFace MF (MW, Standard_False);
+
aShape = MF.Shape();
}
}
}
}
}
}
@@
-179,10
+177,10
@@
Standard_EXPORT Handle_Standard_Type& GEOMImpl_DiskDriver_Type_()
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_DiskDriver",
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_DiskDriver",
- sizeof(GEOMImpl_DiskDriver),
- 1,
- (Standard_Address)_Ancestors,
- (Standard_Address)NULL);
+
sizeof(GEOMImpl_DiskDriver),
+
1,
+
(Standard_Address)_Ancestors,
+
(Standard_Address)NULL);
return _aType;
}
return _aType;
}