]> OCCT Git - occt-copy.git/commitdiff
0022623: Use of uninitialized variables in HLRBRep_Curve::UpdateMinMax in debug mode
authorSZV <>
Wed, 12 Oct 2011 06:22:36 +0000 (06:22 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:30:43 +0000 (19:30 +0400)
163 files changed:
src/Contap/Contap.cdl
src/Contap/Contap_ArcFunction.cdl
src/Contap/Contap_ArcFunction.gxx
src/Contap/Contap_ArcFunction.lxx
src/Contap/Contap_ArcTool.cdl
src/Contap/Contap_ContAna.cdl
src/Contap/Contap_ContAna.cxx
src/Contap/Contap_ContAna.lxx
src/Contap/Contap_ContourGen.cdl
src/Contap/Contap_ContourGen.gxx
src/Contap/Contap_ContourGen.lxx
src/Contap/Contap_ContourGen_1.gxx
src/Contap/Contap_ContourGen_2.gxx
src/Contap/Contap_ContourGen_3.gxx
src/Contap/Contap_HContToolGen.gxx
src/Contap/Contap_HCurve2dToolGen.cdl
src/Contap/Contap_HCurve2dToolGen.gxx
src/Contap/Contap_HCurve2dToolGen.lxx
src/Contap/Contap_Line.cdl
src/Contap/Contap_Line.gxx
src/Contap/Contap_Line.lxx
src/Contap/Contap_Point.cdl
src/Contap/Contap_Point.gxx
src/Contap/Contap_Point.lxx
src/Contap/Contap_SurfFunction.cdl
src/Contap/Contap_SurfFunction.gxx
src/Contap/Contap_SurfFunction.lxx
src/Contap/Contap_SurfProps.cdl
src/Contap/Contap_SurfProps.gxx
src/Contap/Contap_SurfaceTool.cdl
src/Contap/Contap_TopolTool.cdl
src/HLRAlgo/HLRAlgo.cdl
src/HLRAlgo/HLRAlgo.cxx
src/HLRAlgo/HLRAlgo_BiPoint.cdl
src/HLRAlgo/HLRAlgo_BiPoint.cxx
src/HLRAlgo/HLRAlgo_BiPoint.lxx
src/HLRAlgo/HLRAlgo_Coincidence.cdl
src/HLRAlgo/HLRAlgo_Coincidence.cxx
src/HLRAlgo/HLRAlgo_Coincidence.lxx
src/HLRAlgo/HLRAlgo_EdgeIterator.cdl
src/HLRAlgo/HLRAlgo_EdgeIterator.cxx
src/HLRAlgo/HLRAlgo_EdgeIterator.lxx
src/HLRAlgo/HLRAlgo_EdgeStatus.cdl
src/HLRAlgo/HLRAlgo_EdgeStatus.cxx
src/HLRAlgo/HLRAlgo_EdgeStatus.lxx
src/HLRAlgo/HLRAlgo_EdgesBlock.cdl
src/HLRAlgo/HLRAlgo_EdgesBlock.cxx
src/HLRAlgo/HLRAlgo_EdgesBlock.lxx
src/HLRAlgo/HLRAlgo_Intersection.cdl
src/HLRAlgo/HLRAlgo_Intersection.cxx
src/HLRAlgo/HLRAlgo_Intersection.lxx
src/HLRAlgo/HLRAlgo_PolyAlgo.cdl
src/HLRAlgo/HLRAlgo_PolyAlgo.cxx
src/HLRAlgo/HLRAlgo_PolyAlgo.lxx
src/HLRAlgo/HLRAlgo_PolyData.cdl
src/HLRAlgo/HLRAlgo_PolyData.cxx
src/HLRAlgo/HLRAlgo_PolyData.lxx
src/HLRAlgo/HLRAlgo_PolyHidingData.cdl
src/HLRAlgo/HLRAlgo_PolyHidingData.cxx
src/HLRAlgo/HLRAlgo_PolyHidingData.lxx
src/HLRAlgo/HLRAlgo_PolyInternalData.cdl
src/HLRAlgo/HLRAlgo_PolyInternalData.cxx
src/HLRAlgo/HLRAlgo_PolyInternalData.lxx
src/HLRAlgo/HLRAlgo_PolyInternalNode.cdl
src/HLRAlgo/HLRAlgo_PolyInternalNode.cxx
src/HLRAlgo/HLRAlgo_PolyInternalNode.lxx
src/HLRAlgo/HLRAlgo_PolyInternalSegment.cdl
src/HLRAlgo/HLRAlgo_PolyInternalSegment.cxx
src/HLRAlgo/HLRAlgo_PolyInternalSegment.lxx
src/HLRAlgo/HLRAlgo_PolyShellData.cdl
src/HLRAlgo/HLRAlgo_PolyShellData.cxx
src/HLRAlgo/HLRAlgo_PolyShellData.lxx
src/HLRAlgo/HLRAlgo_Projector.cdl
src/HLRAlgo/HLRAlgo_Projector.cxx
src/HLRAlgo/HLRAlgo_Projector.lxx
src/HLRAlgo/HLRAlgo_TriangleData.cdl
src/HLRAlgo/HLRAlgo_TriangleData.cxx
src/HLRAlgo/HLRAlgo_TriangleData.lxx
src/HLRAlgo/HLRAlgo_WiresBlock.cdl
src/HLRAlgo/HLRAlgo_WiresBlock.cxx
src/HLRAlgo/HLRAlgo_WiresBlock.lxx
src/HLRBRep/HLRBRep.cdl
src/HLRBRep/HLRBRep.cxx
src/HLRBRep/HLRBRep_Algo.cdl
src/HLRBRep/HLRBRep_Algo.cxx
src/HLRBRep/HLRBRep_AreaLimit.cdl
src/HLRBRep/HLRBRep_AreaLimit.cxx
src/HLRBRep/HLRBRep_BCurveTool.cdl
src/HLRBRep/HLRBRep_BCurveTool.cxx
src/HLRBRep/HLRBRep_BCurveTool.lxx
src/HLRBRep/HLRBRep_BSurfaceTool.cdl
src/HLRBRep/HLRBRep_BSurfaceTool.cxx
src/HLRBRep/HLRBRep_BSurfaceTool.lxx
src/HLRBRep/HLRBRep_BiPnt2D.cdl
src/HLRBRep/HLRBRep_BiPnt2D.cxx
src/HLRBRep/HLRBRep_BiPnt2D.lxx
src/HLRBRep/HLRBRep_BiPoint.cdl
src/HLRBRep/HLRBRep_BiPoint.cxx
src/HLRBRep/HLRBRep_BiPoint.lxx
src/HLRBRep/HLRBRep_CLPropsATool.cdl
src/HLRBRep/HLRBRep_CLPropsATool.cxx
src/HLRBRep/HLRBRep_CLPropsATool.lxx
src/HLRBRep/HLRBRep_Curve.cdl
src/HLRBRep/HLRBRep_Curve.cxx
src/HLRBRep/HLRBRep_Curve.lxx
src/HLRBRep/HLRBRep_CurveTool.cdl
src/HLRBRep/HLRBRep_CurveTool.cxx
src/HLRBRep/HLRBRep_CurveTool.lxx
src/HLRBRep/HLRBRep_Data.cdl
src/HLRBRep/HLRBRep_Data.cxx
src/HLRBRep/HLRBRep_Data.lxx
src/HLRBRep/HLRBRep_EdgeBuilder.cdl
src/HLRBRep/HLRBRep_EdgeBuilder.cxx
src/HLRBRep/HLRBRep_EdgeData.cdl
src/HLRBRep/HLRBRep_EdgeData.cxx
src/HLRBRep/HLRBRep_EdgeData.lxx
src/HLRBRep/HLRBRep_EdgeFaceTool.cdl
src/HLRBRep/HLRBRep_EdgeFaceTool.cxx
src/HLRBRep/HLRBRep_EdgeIList.cdl
src/HLRBRep/HLRBRep_EdgeIList.cxx
src/HLRBRep/HLRBRep_EdgeInterferenceTool.cdl
src/HLRBRep/HLRBRep_EdgeInterferenceTool.cxx
src/HLRBRep/HLRBRep_EdgeInterferenceTool.lxx
src/HLRBRep/HLRBRep_FaceData.cdl
src/HLRBRep/HLRBRep_FaceData.cxx
src/HLRBRep/HLRBRep_FaceData.lxx
src/HLRBRep/HLRBRep_FaceIterator.cdl
src/HLRBRep/HLRBRep_FaceIterator.cxx
src/HLRBRep/HLRBRep_FaceIterator.lxx
src/HLRBRep/HLRBRep_HLRToShape.cdl
src/HLRBRep/HLRBRep_HLRToShape.cxx
src/HLRBRep/HLRBRep_HLRToShape.lxx
src/HLRBRep/HLRBRep_Hider.cdl
src/HLRBRep/HLRBRep_Hider.cxx
src/HLRBRep/HLRBRep_InternalAlgo.cdl
src/HLRBRep/HLRBRep_InternalAlgo.cxx
src/HLRBRep/HLRBRep_Intersector.cdl
src/HLRBRep/HLRBRep_Intersector.cxx
src/HLRBRep/HLRBRep_LineTool.cdl
src/HLRBRep/HLRBRep_LineTool.cxx
src/HLRBRep/HLRBRep_LineTool.lxx
src/HLRBRep/HLRBRep_PolyAlgo.cdl
src/HLRBRep/HLRBRep_PolyAlgo.cxx
src/HLRBRep/HLRBRep_PolyAlgo.lxx
src/HLRBRep/HLRBRep_PolyHLRToShape.cdl
src/HLRBRep/HLRBRep_PolyHLRToShape.cxx
src/HLRBRep/HLRBRep_PolyHLRToShape.lxx
src/HLRBRep/HLRBRep_SLPropsATool.cdl
src/HLRBRep/HLRBRep_SLPropsATool.cxx
src/HLRBRep/HLRBRep_SLPropsATool.lxx
src/HLRBRep/HLRBRep_ShapeBounds.cdl
src/HLRBRep/HLRBRep_ShapeBounds.cxx
src/HLRBRep/HLRBRep_ShapeBounds.lxx
src/HLRBRep/HLRBRep_ShapeToHLR.cdl
src/HLRBRep/HLRBRep_ShapeToHLR.cxx
src/HLRBRep/HLRBRep_Surface.cdl
src/HLRBRep/HLRBRep_Surface.cxx
src/HLRBRep/HLRBRep_Surface.lxx
src/HLRBRep/HLRBRep_SurfaceTool.cdl
src/HLRBRep/HLRBRep_SurfaceTool.cxx
src/HLRBRep/HLRBRep_SurfaceTool.lxx
src/HLRBRep/HLRBRep_VertexList.cdl
src/HLRBRep/HLRBRep_VertexList.cxx

index 73d48cf333e68e5056e2aaad8b6b54f9690d7111..8b10f9a6522ed362b10a38a2964f4c4825724f89 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Contap.cdl
--- Created:    Fri Feb  5 11:50:39 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
+-- File:      Contap.cdl
+-- Created:   Fri Feb  5 11:50:39 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 package Contap
@@ -82,4 +81,3 @@ is
 
 
 end Contap;
-
index 51d56535bf121b948b594e9d7d1bbdffe4a1a107..9b8b7ee17d897e83ce608c79ecefaa9815795279 100755 (executable)
@@ -1,10 +1,7 @@
--- File:       Contap_ArcFunction.cdl
--- Created:    Thu Jun  3 12:32:05 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
-
+-- File:      Contap_ArcFunction.cdl
+-- Created:   Thu Jun  3 12:32:05 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 generic class ArcFunction from Contap 
     (TheArc          as any;
index c3e275045a00d389b02d76dd0326ae666b21d4f9..8fcff849f8604ba0628d8087487911948be1c10a 100755 (executable)
@@ -1,8 +1,11 @@
+// File:      Contap_ArcFunction.gxx
+// Created:   Thu Jun  3 12:32:05 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <gp_Pnt2d.hxx>
 #include <gp_Vec2d.hxx>
 
-
-
 Contap_ArcFunction::Contap_ArcFunction ():
        myMean(1.),
        myType(Contap_ContourStd),
@@ -72,11 +75,7 @@ Standard_Boolean Contap_ArcFunction::Derivative (const Standard_Real U,
 {
   gp_Pnt2d pt2d;
   gp_Vec2d d2d;
-#ifndef DEB
   Standard_Real dfu =0.,dfv =0.;
-#else
-  Standard_Real dfu,dfv;
-#endif
 //  gp_Vec d1u,d1v,d2u,d2v,d2uv;
   TheArcTool::D1(myArc,U,pt2d,d2d);
 //  TheSurfaceTool::D2(mySurf,pt2d.X(),pt2d.Y(),solpt,d1u,d1v,d2u,d2v,d2uv);
@@ -130,11 +129,7 @@ Standard_Boolean Contap_ArcFunction::Values (const Standard_Real U,
 {
   gp_Pnt2d pt2d;
   gp_Vec2d d2d;
-#ifndef DEB
   Standard_Real dfu =0.,dfv =0.;
-#else
-  Standard_Real dfu,dfv;
-#endif
 // gp_Vec d1u,d1v,d2u,d2v,d2uv;
   TheArcTool::D1(myArc,U,pt2d,d2d);
 //  TheSurfaceTool::D2(mySurf,pt2d.X(),pt2d.Y(),solpt,d1u,d1v,d2u,d2v,d2uv);
index 6ff876936a77d77e75f34afa5a115997ec9acd7d..ab3e86ae6b26472df34b0503540f93d6c51431ea 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_ArcFunction.lxx
+// Created:   Thu Jun  3 12:32:05 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 inline void Contap_ArcFunction::Set(const gp_Dir& Direction,
                                    const Standard_Real Angle)
 {
@@ -37,4 +42,3 @@ inline const gp_Pnt& Contap_ArcFunction::Valpoint
 {
   return seqpt(Index);
 }
-
index c60694e60a5248ec78459cf8a6d92bdb56cf5625..4d7744f39c6676b57981c9c1b89a34894069ec8b 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_ArcTool.cdl
--- Created:    Wed May 12 09:09:34 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_ArcTool.cdl
+-- Created:   Wed May 12 09:09:34 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 deferred generic class ArcTool from Contap
@@ -48,5 +46,3 @@ is
 
 
 end ArcTool;
-
-
index 957f6d35085828c5604bd2dd846131763a7a9718..626597e04fcd5d88365b6faf276c5b0d4a78d808 100755 (executable)
@@ -1,10 +1,7 @@
--- File:       Contap_ContAna.cdl
--- Created:    Thu Mar  4 10:51:23 1993
--- Author:     Jacques GOUSSARD
---             <jag@form4>
----Copyright:   Matra Datavision 1993
-
-
+-- File:      Contap_ContAna.cdl
+-- Created:   Thu Mar  4 10:51:23 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 class ContAna from Contap
index 115af176bb27b79fa565e7df4ceeb84fbe600fae..2aa7aca327bb84b1538454b2a5cf6ec56178e927 100755 (executable)
@@ -1,17 +1,19 @@
+// File:      Contap_ContAna.cxx
+// Created:   Thu Mar  4 10:51:23 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <Contap_ContAna.ixx>
 
 #include <gp_XYZ.hxx>
 #include <gp.hxx>
 
-
-
 #define Tolpetit 1.e-8
 
-
 Contap_ContAna::Contap_ContAna (): done(Standard_False) {}
 
 void Contap_ContAna::Perform (const gp_Sphere& S,
-                             const gp_Dir& D)
+                              const gp_Dir& D)
 {
   done  = Standard_False;
   typL  = GeomAbs_Circle;
@@ -29,8 +31,8 @@ void Contap_ContAna::Perform (const gp_Sphere& S,
 }
 
 void Contap_ContAna::Perform (const gp_Sphere& S,
-                             const gp_Dir& D,
-                             const Standard_Real Angle)
+                              const gp_Dir& D,
+                              const Standard_Real Angle)
 {
   done  = Standard_False;
   typL  = GeomAbs_Circle;
@@ -50,7 +52,7 @@ void Contap_ContAna::Perform (const gp_Sphere& S,
 }
 
 void Contap_ContAna::Perform (const gp_Sphere& S,
-                             const gp_Pnt& Eye)
+                              const gp_Pnt& Eye)
 {
   done = Standard_False;
 
@@ -81,10 +83,8 @@ void Contap_ContAna::Perform (const gp_Sphere& S,
   done = Standard_True;
 }
 
-
 void Contap_ContAna::Perform (const gp_Cylinder& C,
-                             const gp_Dir& D)
-
+                              const gp_Dir& D)
 {
   done = Standard_False;
 
@@ -107,9 +107,8 @@ void Contap_ContAna::Perform (const gp_Cylinder& C,
 }
 
 void Contap_ContAna::Perform (const gp_Cylinder& C,
-                             const gp_Dir& D,
-                             const Standard_Real Angle)
-
+                              const gp_Dir& D,
+                              const Standard_Real Angle)
 {
   done = Standard_False;
 
@@ -167,8 +166,7 @@ void Contap_ContAna::Perform (const gp_Cylinder& C,
 }
 
 void Contap_ContAna::Perform (const gp_Cylinder& C,
-                             const gp_Pnt& Eye)
-
+                              const gp_Pnt& Eye)
 {
   done = Standard_False;
 
@@ -195,10 +193,8 @@ void Contap_ContAna::Perform (const gp_Cylinder& C,
   done = Standard_True;
 }
 
-
 void Contap_ContAna::Perform (const gp_Cone& C,
-                             const gp_Dir& D)
-
+                              const gp_Dir& D)
 {
   done = Standard_False;
 
@@ -257,11 +253,9 @@ void Contap_ContAna::Perform (const gp_Cone& C,
   done = Standard_True;
 }
 
-
 void Contap_ContAna::Perform (const gp_Cone& C,
-                             const gp_Dir& D,
-                             const Standard_Real Angle)
-
+                              const gp_Dir& D,
+                              const Standard_Real Angle)
 {
   done = Standard_False;
   nbSol = 0;
@@ -358,13 +352,10 @@ void Contap_ContAna::Perform (const gp_Cone& C,
   }
 
   done = Standard_True;
-
-
 }
 
 void Contap_ContAna::Perform (const gp_Cone& C,
-                             const gp_Pnt& Eye)
-
+                              const gp_Pnt& Eye)
 {
   done = Standard_False;
 
@@ -424,10 +415,8 @@ void Contap_ContAna::Perform (const gp_Cone& C,
     nbSol = 0;
   }
   done = Standard_True;
-
 }
 
-
 gp_Lin Contap_ContAna::Line (const Standard_Integer Index) const
 {
   if (!done) {StdFail_NotDone::Raise();}
@@ -443,7 +432,6 @@ gp_Lin Contap_ContAna::Line (const Standard_Integer Index) const
   case 4:
     return gp_Lin(pt4,dir4);
   }
-  Standard_OutOfRange::Raise("Erreur de programmation dans Contap_ContAna");
+  Standard_OutOfRange::Raise("Program error in Contap_ContAna");
   return gp_Lin();
 }
-
index 0c1e8160b72fb3ee6d5192884a064aa7e3d08de7..775ed5f3d9e4f49f1801acf6a9c5aa471aa403e8 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_ContAna.lxx
+// Created:   Thu Mar  4 10:51:23 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <StdFail_NotDone.hxx>
 #include <Standard_DomainError.hxx>
 #include <Standard_OutOfRange.hxx>
@@ -29,4 +34,3 @@ inline gp_Circ Contap_ContAna::Circle () const
   if (typL != GeomAbs_Circle || nbSol == 0) {Standard_DomainError::Raise();}
   return gp_Circ(gp_Ax2(pt1,dir1,dir2),prm);
 }
-
index 3035174667c2c70b4dfa325f7cbd571841b8401e..120566cb3dd1a3b53ab7616ecab73349f031d76c 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_ContourGen.cdl
--- Created:    Fri Feb  5 09:39:18 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_ContourGen.cdl
+-- Created:   Fri Feb  5 09:39:18 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 generic class ContourGen from Contap
     (TheVertex      as any;
index 3eca407566e49c366089e0e3e403e36d0042b716..f7e1c93f6e19c9f91588fa8d710bfcfca68b3537 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_ContourGen.gxx
+// Created:   Fri Feb  5 09:39:18 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <ElCLib.hxx>
 
 #include <gp_Pln.hxx>
index de20378ba5db1be79fdf0c93a0ba18dd95017816..2ffa0bb91d8bf96f35ec6047d2cd8e40d0fcbb8a 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_ContourGen.lxx
+// Created:   Fri Feb  5 09:39:18 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <StdFail_NotDone.hxx>
 
 inline Standard_Boolean Contap_ContourGen::IsDone () const
index 291c8c9064b2fa7767e8f3e5a3e139fda9b3f4f1..4515e30d21e3facf0dfd6c4ac58425546467440c 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_ContourGen_1.gxx
+// Created:   Fri Feb  5 09:39:18 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <Standard_ConstructionError.hxx>
 
 
index 5493330d56accba5a5655789b1b9ee4dca054198..97330488c7af0622d1db077dce1f3c5cb006efd7 100755 (executable)
@@ -1,7 +1,7 @@
-//----------------------------------------------
-//-- C o n t a p _ C o n t o u r _ 2 . g x x  --
-//----------------------------------------------
-
+// File:      Contap_ContourGen_2.gxx
+// Created:   Fri Feb  5 09:39:18 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
 
 #include <math_Vector.hxx>
 #include <math_Matrix.hxx>
@@ -128,13 +128,8 @@ static void LineConstructor(Contap_TheSequenceOfLine& slin,
     Standard_Integer nbvtx = L.NbVertex();
     //-- cout<<" WLine -> "<<nbvtx<<" vtx"<<endl;
     for(Standard_Integer i=1;i<nbvtx;i++) { 
-//#ifndef DEB
       Standard_Integer firstp = (Standard_Integer) L.Vertex(i).ParameterOnLine();
       Standard_Integer lastp =  (Standard_Integer) L.Vertex(i+1).ParameterOnLine();
-//#else
-//      Standard_Integer firstp = L.Vertex(i).ParameterOnLine();
-//      Standard_Integer lastp =  L.Vertex(i+1).ParameterOnLine();
-//#endif
       if(firstp!=lastp) {  
        Standard_Integer pmid = (firstp+lastp)/2; //-- entiers
        const IntSurf_PntOn2S& Pmid = L.Point(pmid);
@@ -705,11 +700,7 @@ void ProcessSegments (const Contap_TheSearch& solrst,
   Contap_ThePathPointOfTheSearch PStartf,PStartl;
 
   Standard_Boolean dofirst,dolast,procf,procl;
-#ifndef DEB
   Standard_Real paramf =0.,paraml =0.,U;
-#else
-  Standard_Real paramf,paraml,U;
-#endif
   Contap_TheLine theline;
 
   gp_Vec tgline;//,norm1,norm2;
@@ -853,11 +844,7 @@ void ComputeInternalPointsOnRstr
   gp_Pnt pcour;
   gp_Pnt2d p2d;
   gp_Vec2d d2d;
-  Standard_Boolean found,ok
-#ifndef DEB
-    = Standard_False
-#endif
-  ,toutvu,solution;
+  Standard_Boolean found,ok = Standard_False,toutvu,solution;
   Standard_Real paramp,paraminf,paramsup,toler;
 
   if (Line.TypeContour() != Contap_Restriction) {
@@ -1003,17 +990,8 @@ void ComputeInternalPoints
   Standard_Integer indexinf,indexsup,index;
   gp_Vec tgt, vecref, vectest, vtestb, vecregard;
   //gp_Pnt pprec,pcour;
-  Standard_Boolean found,ok
-#ifndef DEB
-    = Standard_False
-#endif
-      ,toutvu,solution;
-
-  Standard_Real paramp
-#ifndef DEB
-    = Standard_False
-#endif
-      ,U,V;
+  Standard_Boolean found,ok = Standard_False,toutvu,solution;
+  Standard_Real paramp = 0.,U,V;
 
   math_Vector XInf(1,2),XSup(1,2),X(1,2),F(1,1);
   math_Matrix DF(1,1,1,2);
index 5d147ad11330e28e84be81e47280a6698162ba28..97c14d2c172dc14591246abaefdd446a25689a92 100755 (executable)
@@ -1,4 +1,7 @@
-//-- Contap_ContourGen_3.gxx
+// File:      Contap_ContourGen_3.gxx
+// Created:   Fri Feb  5 09:39:18 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
 
 #define Tolpetit 1.e-10  // pour dist au carre
 #include <ElSLib.hxx>
@@ -151,10 +154,8 @@ IntSurf_TypeTrans ComputeTransitionOngpLine
     ElSLib::Parameters(TheSurfaceTool::Sphere(Surf),P,u,v);
       break;
     }
-#ifndef DEB
   default:
     break;
-#endif
   }
   return(ComputeTransitionOnLine(SFunc,u,v,T));
 }
@@ -183,13 +184,10 @@ IntSurf_TypeTrans ComputeTransitionOngpCircle
     ElSLib::Parameters(TheSurfaceTool::Sphere(Surf),P,u,v);
       break;
     }
-#ifndef DEB
   default:
     break;
-#endif
   }
   return(ComputeTransitionOnLine(SFunc,u,v,T));
-  
 }
 
 
@@ -334,10 +332,8 @@ void Contap_ContourGen::PerformAna(const Handle(TheTopolTool)& Domain)
        {
        }
       }
-#ifndef DEB
     default:
       break;
-#endif
     }
     break;
   }
index 2ee967d7f16ae34a106abcbfe35c50fed8ceb1bf..fffab5efc414cb3b6c67e77fbfc2b6cc8e754a67 100755 (executable)
@@ -1,10 +1,7 @@
-//-- File:     Contap_HContToolGen.cdl
-//-- Created:  Fri Jul  2 13:19:22 1995
-//-- Author:   Laurent BUCHARD
-//--           <lbr@mastox>
-//---Copyright:         Matra Datavision 1995
-
-
+// File:      Contap_HContToolGen.gxx
+// Created:   Fri Jul  2 13:19:22 1995
+// Author:    Laurent BUCHARD
+// Copyright: OPEN CASCADE 2000
 
 #include <Extrema_EPCOfExtPC2d.hxx>
 #include <Extrema_POnCurv2d.hxx>
@@ -248,11 +245,7 @@ Standard_Integer Contap_HContToolGen::NbSamplesOnArc
   default:
     nbsOnC = 10;
   } 
-//#ifndef DEB
   return (Standard_Integer)(nbsOnC);
-//#else
-//  return(nbsOnC);
-//#endif
 }
 
 
index 439d2dbeec254ffa33a01b166cafe59faefdc6bd..df7721833e3797c77f33c5ae16b9b82d0fe1be42 100755 (executable)
@@ -1,8 +1,7 @@
--- File:        Contap_HCurve2dToolGen.cdl
--- Created:    Mon Jul 17 16:25:23 1995
--- Author:     Laurent BUCHARD
---             <lbr@mastox>
----Copyright:   Matra Datavision 1995
+-- File:      Contap_HCurve2dToolGen.cdl
+-- Created:   Mon Jul 17 16:25:23 1995
+-- Author:    Laurent BUCHARD
+---Copyright: Matra Datavision 1995
 
 
 generic class HCurve2dToolGen from Contap (
@@ -223,5 +222,3 @@ is
     returns Integer from Standard;
 
 end HCurve2dToolGen;
-
-
index cc490c3c9b64b9e4e54243574c2a9e2c414a7e8b..5953a507a345246ca0bb03ed27b0445e8b28303b 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       Contap_HCurve2dToolGen.gxx
-// Created:    Mon Jul 17 17:39:39 1995
-// Author:     Modelistation
-//             <model@mastox>
+// File:      Contap_HCurve2dToolGen.gxx
+// Created:   Mon Jul 17 17:39:39 1995
+// Author:    Modelistation
+// Copyright: OPEN CASCADE 2000
 
 #include CurveGen_hxx
 #include <GeomAbs_CurveType.hxx>
 
 #include <TColStd_Array1OfReal.hxx>
 
-
 //============================================================
 Standard_Integer Contap_HCurve2dToolGen::NbSamples (const CurveGen& C,
-                                                      const Standard_Real U0,
-                                                      const Standard_Real U1) {
-  GeomAbs_CurveType typC = C->GetType();
-  static Standard_Real nbsOther = 10.0;
-  Standard_Real nbs = nbsOther;
-  
-  if(typC == GeomAbs_Line) 
-    nbs = 2;
-  else if(typC == GeomAbs_BezierCurve) 
-    nbs = 3 + C->NbPoles();
-  else if(typC == GeomAbs_BSplineCurve) { 
-    nbs = C->NbKnots();
-    nbs*= C->Degree();
-    nbs*= C->LastParameter()- C->FirstParameter();
-    nbs/= U1-U0;
-    if(nbs < 2.0) nbs=2;
+                                                    const Standard_Real U0,
+                                                    const Standard_Real U1)
+{
+  Standard_Real nbs = 10.0;
+  switch (C->GetType())
+  {
+    case GeomAbs_Line:
+      nbs = 2.;
+      break;
+    case GeomAbs_BezierCurve:
+      nbs = 3. + C->NbPoles();
+      break;
+    case GeomAbs_BSplineCurve:
+      nbs = C->NbKnots();
+      nbs*= C->Degree();
+      nbs*= C->LastParameter()- C->FirstParameter();
+      nbs/= U1-U0;
+      if(nbs < 2.0) nbs = 2.;
+      break;
   }
-  if(nbs>50)
-    nbs = 50;
+  if (nbs>50.)
+    nbs = 50.;
   return((Standard_Integer)nbs);
 }
index 547c451fbb1561ba86a8f810dddbaee594e1fc86..c34d512b6d051b3247856b0380e281a66e9ae254 100755 (executable)
@@ -1,8 +1,7 @@
-// File:       Contap_HCurve2dToolGen.lxx
-// Created:    Thu Oct 22 12:14:59 1992
-// Author:     Laurent BUCHARD
-//             <lbr@sdsun2>
-
+// File:      Contap_HCurve2dToolGen.lxx
+// Created:   Thu Oct 22 12:14:59 1992
+// Author:    Laurent BUCHARD
+// Copyright: OPEN CASCADE 2000
 
 #include CurveGen_hxx
 
@@ -138,17 +137,3 @@ inline Handle(Geom2d_BSplineCurve) Contap_HCurve2dToolGen::BSpline (const CurveG
   return(C->BSpline());
 }
 //============================================================
-
-
-
-
-
-
-
-
-
-
-
-
-
-
index f5539e9fa55f1f3603d3e330661cf6898018df30..3812a7c9fee6e32c7b9d0dfb6829d24a3b929b6c 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_Line.cdl
--- Created:    Fri Feb  5 12:13:00 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_Line.cdl
+-- Created:   Fri Feb  5 12:13:00 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 generic class Line from Contap
     (TheVertex           as any;
index bc581723a2b5f65c577228318f7305af225b0e0f..a2657e32cfbb202ad0a33bbd38afa92540369732 100755 (executable)
@@ -1,6 +1,7 @@
-//--------------------------------------------------
-//--        C o n t a p _ L i n e . g x x         --
-//--------------------------------------------------
+// File:      Contap_Line.gxx
+// Created:   Fri Feb  5 12:13:00 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
 
 Contap_Line::Contap_Line () {
   svtx = new TheHSequenceOfPoint ();
@@ -11,8 +12,6 @@ void Contap_Line::ResetSeqOfVertex() {
   svtx = new TheHSequenceOfPoint ();
 }
 
-
-
 void Contap_Line::Add(const ThePoint& P) {
   Standard_Integer n = svtx->Length();
   if(n==0) { 
@@ -35,9 +34,6 @@ void Contap_Line::Add(const ThePoint& P) {
   }
 }
 
-
-
-
 void Contap_Line::Clear () {
   if(!curv.IsNull()) 
     curv->Clear();
@@ -80,10 +76,8 @@ IntSurf_TypeTrans Contap_Line::TransitionOnS() const {
   return(Trans);
 }
 
-
 const TheArc& Contap_Line::Arc () const
 {
   if (typL != Contap_Restriction) {Standard_DomainError::Raise();}
   return thearc;
 }
-
index aeed591b01c2d50c8923f427eb311554ed6ae92f..f812b101e338da9d9484508c79b1ec90c91b7fbd 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_Line.lxx
+// Created:   Fri Feb  5 12:13:00 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <Standard_DomainError.hxx>
 #include <TColgp_HSequenceOfPnt.hxx>
 #include <gp_Lin.hxx>
@@ -5,7 +10,6 @@
 #include <IntSurf_PntOn2S.hxx>
 #include <IntSurf_LineOn2S.hxx>
 
-
 #include TheHSequenceOfPoint_hxx
 
 inline const Handle(IntSurf_LineOn2S)& Contap_Line::LineOn2S () const
@@ -54,4 +58,3 @@ inline gp_Circ Contap_Line::Circle () const
   if (typL != Contap_Circle) {Standard_DomainError::Raise();}
   return gp_Circ(gp_Ax2(pt,dir1,dir2),rad);
 }
-
index aba2f19c017d61849cdbb8d508f5b413c8c41823..728b1db8ab859bc993aef2d1d08c005b67e129ec 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_Point.cdl
--- Created:    Thu Mar  4 17:22:45 1993
--- Author:     Jacques GOUSSARD
---             <jag@form4>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_Point.cdl
+-- Created:   Thu Mar  4 17:22:45 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 generic class Point from Contap
     (TheVertex as any;
index 03b77f6b91d57d823be067bab098a0b0df9c0106..d125e1a572a16bb75cf4b768476b20892c05c693 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_Point.gxx
+// Created:   Thu Mar  4 17:22:45 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 Contap_Point::Contap_Point ():
        onarc(Standard_False),isvtx(Standard_False),ismult(Standard_False),
        myInternal(Standard_False)
@@ -9,4 +14,3 @@ Contap_Point::Contap_Point (const gp_Pnt& Pt,
        pt(Pt),uparam(U),vparam(V),onarc(Standard_False),isvtx(Standard_False),
        ismult(Standard_False),myInternal(Standard_False)
 {}
-
index a0134d4c59966a94a291caa308ebbd551ac6462a..472d43a0a6dbb655210ce42dd1de7d8f76540505 100755 (executable)
@@ -1,5 +1,9 @@
-#include <Standard_DomainError.hxx>
+// File:      Contap_Point.lxx
+// Created:   Thu Mar  4 17:22:45 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
 
+#include <Standard_DomainError.hxx>
 
 inline void Contap_Point::SetValue (const gp_Pnt& Pt,
                                    const Standard_Real U,
@@ -112,4 +116,3 @@ inline const TheVertex& Contap_Point::Vertex () const {
   if (!isvtx) {Standard_DomainError::Raise();}
   return vtx;
 }
-
index 917902397fa62499d3aaafa5647b5b421f9841a0..c44c4058c569fa2ef4d807eea33bd4380f1e40a9 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Contap_SurfFunction.cdl
--- Created:    Thu Jun  3 15:23:20 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
+-- File:      Contap_SurfFunction.cdl
+-- Created:   Thu Jun  3 15:23:20 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 generic class SurfFunction from Contap 
index 7c94b3a624c2f66eb9d888af69ab152434bf8087..9167f15248c0283fb329933a4acbed7d14bb9143 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_SurfFunction.gxx
+// Created:   Thu Jun  3 15:23:20 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 // jag 940616 #define Tolpetit 1.e-16
 
 
index 1846078a9002cd849b19faf5519e89bd6b5eae5c..e8594fe073206f7e16f255cc42a114741b3e1bb2 100755 (executable)
@@ -1,3 +1,8 @@
+// File:      Contap_SurfFunction.lxx
+// Created:   Thu Jun  3 15:23:20 1993
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
+
 #include <StdFail_UndefinedDerivative.hxx>
 
 inline void Contap_SurfFunction::Set(const gp_Pnt& Eye)
index 069799d25f64c23141805949fda3084c962a9b9c..7954ec326e57081bbb96ffad181dfe2e445eb05e 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Contap_SurfProps.cdl
--- Created:    Fri Feb 24 15:30:15 1995
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1995
+-- File:      Contap_SurfProps.cdl
+-- Created:   Fri Feb 24 15:30:15 1995
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1995
 
 
 generic class SurfProps from Contap 
index bac6fd5123413391d954302c8c9a6bf194e1524d..8be37a13ad1464c2d0eb40efcd8b75fe2af9ca5f 100755 (executable)
@@ -1,8 +1,7 @@
-// File:       Contap_SurfProps.gxx
-// Created:    Fri Feb 24 15:37:28 1995
-// Author:     Jacques GOUSSARD
-//             <jag@topsn2>
-
+// File:      Contap_SurfProps.gxx
+// Created:   Fri Feb 24 15:37:28 1995
+// Author:    Jacques GOUSSARD
+// Copyright: OPEN CASCADE 2000
 
 #include <ElSLib.hxx>
 
@@ -321,4 +320,3 @@ void Contap_SurfProps::NormAndDn(const TheSurface& S,
     break;
   }
 }
-
index 726941312d7e537feeef5ea4f3e945ec8fa1d0d9..81655df00932dbd5c48b5ede52347ecafae4107f 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_SurfaceTool.cdl
--- Created:    Wed May 12 09:11:00 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_SurfaceTool.cdl
+-- Created:   Wed May 12 09:11:00 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 deferred generic class SurfaceTool from Contap
index d5b34fa5be95ff6901d9b14f4c5c6b5b78a90cf5..4bf8b75c780509beca5964e7e612ba14408d7e22 100755 (executable)
@@ -1,9 +1,7 @@
--- File:       Contap_TopolTool.cdl
--- Created:    Wed May 12 09:16:05 1993
--- Author:     Jacques GOUSSARD
---             <jag@topsn2>
----Copyright:   Matra Datavision 1993
-
+-- File:      Contap_TopolTool.cdl
+-- Created:   Wed May 12 09:16:05 1993
+-- Author:    Jacques GOUSSARD
+---Copyright: Matra Datavision 1993
 
 
 deferred generic class TopolTool from Contap
index 2b6ae42cee31c934364ffdfac963bbb9f1a6cd06..8b2e77e21a3415192a6373bf16393f196cc83c96 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo.cdl
--- Created:    Tue Feb 18 17:18:30 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo.cdl
+-- Created:   Tue Feb 18 17:18:30 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 package HLRAlgo 
 --- Purpose:        In order to have the precision required in
index 45d5c8f168fe7f8fa5f68a81c9f6019ca454606e..727edc2bcf26775219c98c1ce25fd795c6e5c2d0 100755 (executable)
@@ -1,24 +1,24 @@
-// File:       HLRAlgo.cxx
-// Created:    Tue Sep 12 17:05:53 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo.cxx
+// Created:   Tue Sep 12 17:05:53 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo.ixx>
 
-static Standard_Real cosu0 = cos(0*PI/14);
-static Standard_Real sinu0 = sin(0*PI/14);
-static Standard_Real cosu1 = cos(1*PI/14);
-static Standard_Real sinu1 = sin(1*PI/14);
-static Standard_Real cosu2 = cos(2*PI/14);
-static Standard_Real sinu2 = sin(2*PI/14);
-static Standard_Real cosu3 = cos(3*PI/14);
-static Standard_Real sinu3 = sin(3*PI/14);
-static Standard_Real cosu4 = cos(4*PI/14);
-static Standard_Real sinu4 = sin(4*PI/14);
-static Standard_Real cosu5 = cos(5*PI/14);
-static Standard_Real sinu5 = sin(5*PI/14);
-static Standard_Real cosu6 = cos(6*PI/14);
-static Standard_Real sinu6 = sin(6*PI/14);
+static const Standard_Real cosu0 = cos(0.*PI/14.);
+static const Standard_Real sinu0 = sin(0.*PI/14.);
+static const Standard_Real cosu1 = cos(1.*PI/14.);
+static const Standard_Real sinu1 = sin(1.*PI/14.);
+static const Standard_Real cosu2 = cos(2.*PI/14.);
+static const Standard_Real sinu2 = sin(2.*PI/14.);
+static const Standard_Real cosu3 = cos(3.*PI/14.);
+static const Standard_Real sinu3 = sin(3.*PI/14.);
+static const Standard_Real cosu4 = cos(4.*PI/14.);
+static const Standard_Real sinu4 = sin(4.*PI/14.);
+static const Standard_Real cosu5 = cos(5.*PI/14.);
+static const Standard_Real sinu5 = sin(5.*PI/14.);
+static const Standard_Real cosu6 = cos(6.*PI/14.);
+static const Standard_Real sinu6 = sin(6.*PI/14.);
 
 //=======================================================================
 //function : UpdateMinMax
@@ -26,62 +26,36 @@ static Standard_Real sinu6 = sin(6*PI/14);
 //=======================================================================
 
 void HLRAlgo::UpdateMinMax (const Standard_Real x,
-                           const Standard_Real y,
-                           const Standard_Real z,
-                           const Standard_Address Min,
-                           const Standard_Address Max)
+                            const Standard_Real y,
+                            const Standard_Real z,
+                            const Standard_Address Min,
+                            const Standard_Address Max)
 {
-  Standard_Real d00,d01,d02,d03,d04,d05,d06,d07;
-  Standard_Real d08,d09,d10,d11,d12,d13,d14,d15;
-  d00 = cosu0 * x + sinu0 * y;
-  d01 = sinu0 * x - cosu0 * y;
-  d02 = cosu1 * x + sinu1 * y;
-  d03 = sinu1 * x - cosu1 * y;
-  d04 = cosu2 * x + sinu2 * y;
-  d05 = sinu2 * x - cosu2 * y;
-  d06 = cosu3 * x + sinu3 * y;
-  d07 = sinu3 * x - cosu3 * y;
-  d08 = cosu4 * x + sinu4 * y;
-  d09 = sinu4 * x - cosu4 * y;
-  d10 = cosu5 * x + sinu5 * y;
-  d11 = sinu5 * x - cosu5 * y;
-  d12 = cosu6 * x + sinu6 * y;
-  d13 = sinu6 * x - cosu6 * y;
-  d14 = z;
-  d15 = z;
-  
-  if (((Standard_Real*)Min)[ 0] > d00) ((Standard_Real*)Min) [ 0] = d00;
-  if (((Standard_Real*)Max)[ 0] < d00) ((Standard_Real*)Max) [ 0] = d00;
-  if (((Standard_Real*)Min)[ 1] > d01) ((Standard_Real*)Min) [ 1] = d01;
-  if (((Standard_Real*)Max)[ 1] < d01) ((Standard_Real*)Max) [ 1] = d01;
-  if (((Standard_Real*)Min)[ 2] > d02) ((Standard_Real*)Min) [ 2] = d02;
-  if (((Standard_Real*)Max)[ 2] < d02) ((Standard_Real*)Max) [ 2] = d02;
-  if (((Standard_Real*)Min)[ 3] > d03) ((Standard_Real*)Min) [ 3] = d03;
-  if (((Standard_Real*)Max)[ 3] < d03) ((Standard_Real*)Max) [ 3] = d03;
-  if (((Standard_Real*)Min)[ 4] > d04) ((Standard_Real*)Min) [ 4] = d04;
-  if (((Standard_Real*)Max)[ 4] < d04) ((Standard_Real*)Max) [ 4] = d04;
-  if (((Standard_Real*)Min)[ 5] > d05) ((Standard_Real*)Min) [ 5] = d05;
-  if (((Standard_Real*)Max)[ 5] < d05) ((Standard_Real*)Max) [ 5] = d05;
-  if (((Standard_Real*)Min)[ 6] > d06) ((Standard_Real*)Min) [ 6] = d06;
-  if (((Standard_Real*)Max)[ 6] < d06) ((Standard_Real*)Max) [ 6] = d06;
-  if (((Standard_Real*)Min)[ 7] > d07) ((Standard_Real*)Min) [ 7] = d07;
-  if (((Standard_Real*)Max)[ 7] < d07) ((Standard_Real*)Max) [ 7] = d07;
-  if (((Standard_Real*)Min)[ 8] > d08) ((Standard_Real*)Min) [ 8] = d08;
-  if (((Standard_Real*)Max)[ 8] < d08) ((Standard_Real*)Max) [ 8] = d08;
-  if (((Standard_Real*)Min)[ 9] > d09) ((Standard_Real*)Min) [ 9] = d09;
-  if (((Standard_Real*)Max)[ 9] < d09) ((Standard_Real*)Max) [ 9] = d09;
-  if (((Standard_Real*)Min)[10] > d10) ((Standard_Real*)Min) [10] = d10;
-  if (((Standard_Real*)Max)[10] < d10) ((Standard_Real*)Max) [10] = d10;
-  if (((Standard_Real*)Min)[11] > d11) ((Standard_Real*)Min) [11] = d11;
-  if (((Standard_Real*)Max)[11] < d11) ((Standard_Real*)Max) [11] = d11;
-  if (((Standard_Real*)Min)[12] > d12) ((Standard_Real*)Min) [12] = d12;
-  if (((Standard_Real*)Max)[12] < d12) ((Standard_Real*)Max) [12] = d12;
-  if (((Standard_Real*)Min)[13] > d13) ((Standard_Real*)Min) [13] = d13;
-  if (((Standard_Real*)Max)[13] < d13) ((Standard_Real*)Max) [13] = d13;
-  if (((Standard_Real*)Min)[14] > d14) ((Standard_Real*)Min) [14] = d14;
-  if (((Standard_Real*)Max)[14] < d14) ((Standard_Real*)Max) [14] = d14;
-  if (((Standard_Real*)Min)[15] > d15) ((Standard_Real*)Min) [15] = d15;
-  if (((Standard_Real*)Max)[15] < d15) ((Standard_Real*)Max) [15] = d15;
+  Standard_Real d[16];
+  d[ 0] = cosu0 * x + sinu0 * y;
+  d[ 1] = sinu0 * x - cosu0 * y;
+  d[ 2] = cosu1 * x + sinu1 * y;
+  d[ 3] = sinu1 * x - cosu1 * y;
+  d[ 4] = cosu2 * x + sinu2 * y;
+  d[ 5] = sinu2 * x - cosu2 * y;
+  d[ 6] = cosu3 * x + sinu3 * y;
+  d[ 7] = sinu3 * x - cosu3 * y;
+  d[ 8] = cosu4 * x + sinu4 * y;
+  d[ 9] = sinu4 * x - cosu4 * y;
+  d[10] = cosu5 * x + sinu5 * y;
+  d[11] = sinu5 * x - cosu5 * y;
+  d[12] = cosu6 * x + sinu6 * y;
+  d[13] = sinu6 * x - cosu6 * y;
+  d[14] = z;
+  d[15] = z;
+
+  Standard_Integer i = 0;
+  while (i < 16)
+  {
+    if (((Standard_Real*)Min)[i] > d[i]) ((Standard_Real*)Min)[i] = d[i];
+    if (((Standard_Real*)Max)[i] < d[i]) ((Standard_Real*)Max)[i] = d[i];
+    i++;
+  }
 }
 
 //=======================================================================
@@ -90,41 +64,16 @@ void HLRAlgo::UpdateMinMax (const Standard_Real x,
 //=======================================================================
 
 void HLRAlgo::EnlargeMinMax (const Standard_Real tol,
-                            const Standard_Address Min,
-                            const Standard_Address Max)
+                             const Standard_Address Min,
+                             const Standard_Address Max)
 {
-  ((Standard_Real*)Min)[ 0] -= tol;
-  ((Standard_Real*)Max)[ 0] += tol;
-  ((Standard_Real*)Min)[ 1] -= tol;
-  ((Standard_Real*)Max)[ 1] += tol;
-  ((Standard_Real*)Min)[ 2] -= tol;
-  ((Standard_Real*)Max)[ 2] += tol;
-  ((Standard_Real*)Min)[ 3] -= tol;
-  ((Standard_Real*)Max)[ 3] += tol;
-  ((Standard_Real*)Min)[ 4] -= tol;
-  ((Standard_Real*)Max)[ 4] += tol;
-  ((Standard_Real*)Min)[ 5] -= tol;
-  ((Standard_Real*)Max)[ 5] += tol;
-  ((Standard_Real*)Min)[ 6] -= tol;
-  ((Standard_Real*)Max)[ 6] += tol;
-  ((Standard_Real*)Min)[ 7] -= tol;
-  ((Standard_Real*)Max)[ 7] += tol;
-  ((Standard_Real*)Min)[ 8] -= tol;
-  ((Standard_Real*)Max)[ 8] += tol;
-  ((Standard_Real*)Min)[ 9] -= tol;
-  ((Standard_Real*)Max)[ 9] += tol;
-  ((Standard_Real*)Min)[10] -= tol;
-  ((Standard_Real*)Max)[10] += tol;
-  ((Standard_Real*)Min)[11] -= tol;
-  ((Standard_Real*)Max)[11] += tol;
-  ((Standard_Real*)Min)[12] -= tol;
-  ((Standard_Real*)Max)[12] += tol;
-  ((Standard_Real*)Min)[13] -= tol;
-  ((Standard_Real*)Max)[13] += tol;
-  ((Standard_Real*)Min)[14] -= tol;
-  ((Standard_Real*)Max)[14] += tol;
-  ((Standard_Real*)Min)[15] -= tol;
-  ((Standard_Real*)Max)[15] += tol;
+  Standard_Integer i = 0;
+  while (i < 16)
+  {
+    ((Standard_Real*)Min)[i] -= tol;
+    ((Standard_Real*)Max)[i] += tol;
+    i++;
+  }
 }
 
 //=======================================================================
@@ -133,41 +82,16 @@ void HLRAlgo::EnlargeMinMax (const Standard_Real tol,
 //=======================================================================
 
 void HLRAlgo::InitMinMax (const Standard_Real Big,
-                         const Standard_Address Min,
-                         const Standard_Address Max)
+                          const Standard_Address Min,
+                          const Standard_Address Max)
 {
-  ((Standard_Real*)Min)[ 0] =  
-  ((Standard_Real*)Min)[ 1] =  
-  ((Standard_Real*)Min)[ 2] =  
-  ((Standard_Real*)Min)[ 3] =  
-  ((Standard_Real*)Min)[ 4] =  
-  ((Standard_Real*)Min)[ 5] =  
-  ((Standard_Real*)Min)[ 6] =  
-  ((Standard_Real*)Min)[ 7] =  
-  ((Standard_Real*)Min)[ 8] =  
-  ((Standard_Real*)Min)[ 9] =  
-  ((Standard_Real*)Min)[10] =  
-  ((Standard_Real*)Min)[11] =  
-  ((Standard_Real*)Min)[12] =  
-  ((Standard_Real*)Min)[13] =  
-  ((Standard_Real*)Min)[14] =  
-  ((Standard_Real*)Min)[15] =  Big;
-  ((Standard_Real*)Max)[ 0] = 
-  ((Standard_Real*)Max)[ 1] = 
-  ((Standard_Real*)Max)[ 2] = 
-  ((Standard_Real*)Max)[ 3] = 
-  ((Standard_Real*)Max)[ 4] = 
-  ((Standard_Real*)Max)[ 5] = 
-  ((Standard_Real*)Max)[ 6] = 
-  ((Standard_Real*)Max)[ 7] = 
-  ((Standard_Real*)Max)[ 8] = 
-  ((Standard_Real*)Max)[ 9] = 
-  ((Standard_Real*)Max)[10] = 
-  ((Standard_Real*)Max)[11] = 
-  ((Standard_Real*)Max)[12] = 
-  ((Standard_Real*)Max)[13] = 
-  ((Standard_Real*)Max)[14] = 
-  ((Standard_Real*)Max)[15] = -Big;
+  Standard_Integer i = 0;
+  while (i < 16)
+  {
+    ((Standard_Real*)Min)[i] =  Big;
+    ((Standard_Real*)Max)[i] = -Big;
+    i++;
+  }
 }
 
 //=======================================================================
@@ -176,8 +100,8 @@ void HLRAlgo::InitMinMax (const Standard_Real Big,
 //=======================================================================
 
 void HLRAlgo::EncodeMinMax (const Standard_Address Min,
-                           const Standard_Address Max,
-                           const Standard_Address MM)
+                            const Standard_Address Max,
+                            const Standard_Address MM)
 {
   ((Standard_Integer*)MM)[ 0] = ((Standard_Integer*)Min)[ 1]&0x00007fff;
   ((Standard_Integer*)MM)[ 8] = ((Standard_Integer*)Max)[ 1]&0x00007fff;
@@ -218,24 +142,16 @@ void HLRAlgo::EncodeMinMax (const Standard_Address Min,
 //purpose  : 
 //=======================================================================
 
-Standard_Real  HLRAlgo::SizeBox(const Standard_Address Min,
-                               const Standard_Address Max) 
+Standard_Real HLRAlgo::SizeBox(const Standard_Address Min,
+                               const Standard_Address Max)
 {
-  Standard_Real s;
-  s  = ((Standard_Integer *)Max)[ 0] - ((Standard_Integer *)Min)[ 0];
-  s *= ((Standard_Integer *)Max)[ 1] - ((Standard_Integer *)Min)[ 1];
-  s *= ((Standard_Integer *)Max)[ 2] - ((Standard_Integer *)Min)[ 2];
-  s *= ((Standard_Integer *)Max)[ 3] - ((Standard_Integer *)Min)[ 3];
-  s *= ((Standard_Integer *)Max)[ 4] - ((Standard_Integer *)Min)[ 4];
-  s *= ((Standard_Integer *)Max)[ 5] - ((Standard_Integer *)Min)[ 5];
-  s *= ((Standard_Integer *)Max)[ 6] - ((Standard_Integer *)Min)[ 6];
-  s *= ((Standard_Integer *)Max)[ 7] - ((Standard_Integer *)Min)[ 7];
-  s *= ((Standard_Integer *)Max)[ 8] - ((Standard_Integer *)Min)[ 8];
-  s *= ((Standard_Integer *)Max)[ 9] - ((Standard_Integer *)Min)[ 9];
-  s *= ((Standard_Integer *)Max)[10] - ((Standard_Integer *)Min)[10];
-  s *= ((Standard_Integer *)Max)[11] - ((Standard_Integer *)Min)[11];
-  s *= ((Standard_Integer *)Max)[12] - ((Standard_Integer *)Min)[12];
-  s *= ((Standard_Integer *)Max)[13] - ((Standard_Integer *)Min)[13];
+  Standard_Real s = ((Standard_Integer *)Max)[0] - ((Standard_Integer *)Min)[0];
+  Standard_Integer i = 1;
+  while (i < 14)
+  {
+    s *= ((Standard_Integer *)Max)[i] - ((Standard_Integer *)Min)[i];
+    i++;
+  }
   return s;
 }
 
@@ -245,8 +161,8 @@ Standard_Real  HLRAlgo::SizeBox(const Standard_Address Min,
 //=======================================================================
 
 void HLRAlgo::DecodeMinMax (const Standard_Address MM,
-                           const Standard_Address Min,
-                           const Standard_Address Max)
+                            const Standard_Address Min,
+                            const Standard_Address Max)
 {
   ((Standard_Integer*)Min)[ 0]=(((Standard_Integer*)MM)[ 0]&0x7fff0000)>>16;
   ((Standard_Integer*)Max)[ 0]=(((Standard_Integer*)MM)[ 8]&0x7fff0000)>>16;
@@ -288,42 +204,17 @@ void HLRAlgo::DecodeMinMax (const Standard_Address MM,
 //=======================================================================
 
 void HLRAlgo::CopyMinMax (const Standard_Address IMin,
-                         const Standard_Address IMax,
-                         const Standard_Address OMin,
-                         const Standard_Address OMax)
+                          const Standard_Address IMax,
+                          const Standard_Address OMin,
+                          const Standard_Address OMax)
 {
-  ((Standard_Integer*)OMin)[ 0]=((Standard_Integer*)IMin)[ 0];
-  ((Standard_Integer*)OMax)[ 0]=((Standard_Integer*)IMax)[ 0];
-  ((Standard_Integer*)OMin)[ 1]=((Standard_Integer*)IMin)[ 1];
-  ((Standard_Integer*)OMax)[ 1]=((Standard_Integer*)IMax)[ 1];
-  ((Standard_Integer*)OMin)[ 2]=((Standard_Integer*)IMin)[ 2];
-  ((Standard_Integer*)OMax)[ 2]=((Standard_Integer*)IMax)[ 2];
-  ((Standard_Integer*)OMin)[ 3]=((Standard_Integer*)IMin)[ 3];
-  ((Standard_Integer*)OMax)[ 3]=((Standard_Integer*)IMax)[ 3];
-  ((Standard_Integer*)OMin)[ 4]=((Standard_Integer*)IMin)[ 4];
-  ((Standard_Integer*)OMax)[ 4]=((Standard_Integer*)IMax)[ 4];
-  ((Standard_Integer*)OMin)[ 5]=((Standard_Integer*)IMin)[ 5];
-  ((Standard_Integer*)OMax)[ 5]=((Standard_Integer*)IMax)[ 5];
-  ((Standard_Integer*)OMin)[ 6]=((Standard_Integer*)IMin)[ 6];
-  ((Standard_Integer*)OMax)[ 6]=((Standard_Integer*)IMax)[ 6];
-  ((Standard_Integer*)OMin)[ 7]=((Standard_Integer*)IMin)[ 7];
-  ((Standard_Integer*)OMax)[ 7]=((Standard_Integer*)IMax)[ 7];
-  ((Standard_Integer*)OMin)[ 8]=((Standard_Integer*)IMin)[ 8];
-  ((Standard_Integer*)OMax)[ 8]=((Standard_Integer*)IMax)[ 8];
-  ((Standard_Integer*)OMin)[ 9]=((Standard_Integer*)IMin)[ 9];
-  ((Standard_Integer*)OMax)[ 9]=((Standard_Integer*)IMax)[ 9];
-  ((Standard_Integer*)OMin)[10]=((Standard_Integer*)IMin)[10];
-  ((Standard_Integer*)OMax)[10]=((Standard_Integer*)IMax)[10];
-  ((Standard_Integer*)OMin)[11]=((Standard_Integer*)IMin)[11];
-  ((Standard_Integer*)OMax)[11]=((Standard_Integer*)IMax)[11];
-  ((Standard_Integer*)OMin)[12]=((Standard_Integer*)IMin)[12];
-  ((Standard_Integer*)OMax)[12]=((Standard_Integer*)IMax)[12];
-  ((Standard_Integer*)OMin)[13]=((Standard_Integer*)IMin)[13];
-  ((Standard_Integer*)OMax)[13]=((Standard_Integer*)IMax)[13];
-  ((Standard_Integer*)OMin)[14]=((Standard_Integer*)IMin)[14];
-  ((Standard_Integer*)OMax)[14]=((Standard_Integer*)IMax)[14];
-  ((Standard_Integer*)OMin)[15]=((Standard_Integer*)IMin)[15];
-  ((Standard_Integer*)OMax)[15]=((Standard_Integer*)IMax)[15];
+  Standard_Integer i = 0;
+  while (i < 16)
+  {
+    ((Standard_Integer*)OMin)[i]=((Standard_Integer*)IMin)[i];
+    ((Standard_Integer*)OMax)[i]=((Standard_Integer*)IMax)[i];
+    i++;
+  }
 }
 
 //=======================================================================
@@ -332,73 +223,17 @@ void HLRAlgo::CopyMinMax (const Standard_Address IMin,
 //=======================================================================
 
 void HLRAlgo::AddMinMax (const Standard_Address IMin,
-                        const Standard_Address IMax,
-                        const Standard_Address OMin,
-                        const Standard_Address OMax)
+                         const Standard_Address IMax,
+                         const Standard_Address OMin,
+                         const Standard_Address OMax)
 {
-  if (((Standard_Integer*)OMin)[ 0] > ((Standard_Integer*)IMin)[ 0])
-    ((Standard_Integer*)OMin)[ 0]=((Standard_Integer*)IMin)[ 0];
-  if (((Standard_Integer*)OMax)[ 0] < ((Standard_Integer*)IMax)[ 0])
-    ((Standard_Integer*)OMax)[ 0]=((Standard_Integer*)IMax)[ 0];
-  if (((Standard_Integer*)OMin)[ 1] > ((Standard_Integer*)IMin)[ 1])
-    ((Standard_Integer*)OMin)[ 1]=((Standard_Integer*)IMin)[ 1];
-  if (((Standard_Integer*)OMax)[ 1] < ((Standard_Integer*)IMax)[ 1])
-    ((Standard_Integer*)OMax)[ 1]=((Standard_Integer*)IMax)[ 1];
-  if (((Standard_Integer*)OMin)[ 2] > ((Standard_Integer*)IMin)[ 2])
-    ((Standard_Integer*)OMin)[ 2]=((Standard_Integer*)IMin)[ 2];
-  if (((Standard_Integer*)OMax)[ 2] < ((Standard_Integer*)IMax)[ 2])
-    ((Standard_Integer*)OMax)[ 2]=((Standard_Integer*)IMax)[ 2];
-  if (((Standard_Integer*)OMin)[ 3] > ((Standard_Integer*)IMin)[ 3])
-    ((Standard_Integer*)OMin)[ 3]=((Standard_Integer*)IMin)[ 3];
-  if (((Standard_Integer*)OMax)[ 3] < ((Standard_Integer*)IMax)[ 3])
-    ((Standard_Integer*)OMax)[ 3]=((Standard_Integer*)IMax)[ 3];
-  if (((Standard_Integer*)OMin)[ 4] > ((Standard_Integer*)IMin)[ 4])
-    ((Standard_Integer*)OMin)[ 4]=((Standard_Integer*)IMin)[ 4];
-  if (((Standard_Integer*)OMax)[ 4] < ((Standard_Integer*)IMax)[ 4])
-    ((Standard_Integer*)OMax)[ 4]=((Standard_Integer*)IMax)[ 4];
-  if (((Standard_Integer*)OMin)[ 5] > ((Standard_Integer*)IMin)[ 5])
-    ((Standard_Integer*)OMin)[ 5]=((Standard_Integer*)IMin)[ 5];
-  if (((Standard_Integer*)OMax)[ 5] < ((Standard_Integer*)IMax)[ 5])
-    ((Standard_Integer*)OMax)[ 5]=((Standard_Integer*)IMax)[ 5];
-  if (((Standard_Integer*)OMin)[ 6] > ((Standard_Integer*)IMin)[ 6])
-    ((Standard_Integer*)OMin)[ 6]=((Standard_Integer*)IMin)[ 6];
-  if (((Standard_Integer*)OMax)[ 6] < ((Standard_Integer*)IMax)[ 6])
-    ((Standard_Integer*)OMax)[ 6]=((Standard_Integer*)IMax)[ 6];
-  if (((Standard_Integer*)OMin)[ 7] > ((Standard_Integer*)IMin)[ 7])
-    ((Standard_Integer*)OMin)[ 7]=((Standard_Integer*)IMin)[ 7];
-  if (((Standard_Integer*)OMax)[ 7] < ((Standard_Integer*)IMax)[ 7])
-    ((Standard_Integer*)OMax)[ 7]=((Standard_Integer*)IMax)[ 7];
-  if (((Standard_Integer*)OMin)[ 8] > ((Standard_Integer*)IMin)[ 8])
-    ((Standard_Integer*)OMin)[ 8]=((Standard_Integer*)IMin)[ 8];
-  if (((Standard_Integer*)OMax)[ 8] < ((Standard_Integer*)IMax)[ 8])
-    ((Standard_Integer*)OMax)[ 8]=((Standard_Integer*)IMax)[ 8];
-  if (((Standard_Integer*)OMin)[ 9] > ((Standard_Integer*)IMin)[ 9])
-    ((Standard_Integer*)OMin)[ 9]=((Standard_Integer*)IMin)[ 9];
-  if (((Standard_Integer*)OMax)[ 9] < ((Standard_Integer*)IMax)[ 9])
-    ((Standard_Integer*)OMax)[ 9]=((Standard_Integer*)IMax)[ 9];
-  if (((Standard_Integer*)OMin)[10] > ((Standard_Integer*)IMin)[10])
-    ((Standard_Integer*)OMin)[10]=((Standard_Integer*)IMin)[10];
-  if (((Standard_Integer*)OMax)[10] < ((Standard_Integer*)IMax)[10])
-    ((Standard_Integer*)OMax)[10]=((Standard_Integer*)IMax)[10];
-  if (((Standard_Integer*)OMin)[11] > ((Standard_Integer*)IMin)[11])
-    ((Standard_Integer*)OMin)[11]=((Standard_Integer*)IMin)[11];
-  if (((Standard_Integer*)OMax)[11] < ((Standard_Integer*)IMax)[11])
-    ((Standard_Integer*)OMax)[11]=((Standard_Integer*)IMax)[11];
-  if (((Standard_Integer*)OMin)[12] > ((Standard_Integer*)IMin)[12])
-    ((Standard_Integer*)OMin)[12]=((Standard_Integer*)IMin)[12];
-  if (((Standard_Integer*)OMax)[12] < ((Standard_Integer*)IMax)[12])
-    ((Standard_Integer*)OMax)[12]=((Standard_Integer*)IMax)[12];
-  if (((Standard_Integer*)OMin)[13] > ((Standard_Integer*)IMin)[13])
-    ((Standard_Integer*)OMin)[13]=((Standard_Integer*)IMin)[13];
-  if (((Standard_Integer*)OMax)[13] < ((Standard_Integer*)IMax)[13])
-    ((Standard_Integer*)OMax)[13]=((Standard_Integer*)IMax)[13];
-  if (((Standard_Integer*)OMin)[14] > ((Standard_Integer*)IMin)[14])
-    ((Standard_Integer*)OMin)[14]=((Standard_Integer*)IMin)[14];
-  if (((Standard_Integer*)OMax)[14] < ((Standard_Integer*)IMax)[14])
-    ((Standard_Integer*)OMax)[14]=((Standard_Integer*)IMax)[14];
-  if (((Standard_Integer*)OMin)[15] > ((Standard_Integer*)IMin)[15])
-    ((Standard_Integer*)OMin)[15]=((Standard_Integer*)IMin)[15];
-  if (((Standard_Integer*)OMax)[15] < ((Standard_Integer*)IMax)[15])
-    ((Standard_Integer*)OMax)[15]=((Standard_Integer*)IMax)[15];
+  Standard_Integer i = 0;
+  while (i < 16)
+  {
+    if (((Standard_Integer*)OMin)[i] > ((Standard_Integer*)IMin)[i])
+      ((Standard_Integer*)OMin)[i]=((Standard_Integer*)IMin)[i];
+    if (((Standard_Integer*)OMax)[i] < ((Standard_Integer*)IMax)[i])
+      ((Standard_Integer*)OMax)[i]=((Standard_Integer*)IMax)[i];
+    i++;
+  }
 }
-
index e93ca3a3e3e965fee1de99be81f6c19de4190705..44130cb98ae0b80b18b71e8e7dfcc0ea02d00174 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_BiPoint.cdl
--- Created:    Thu Jun 22 12:28:58 1995
--- Author:     Christophe MARION
---             <cma@ecolox>
----Copyright:   Matra Datavision 1995
+-- File:      HLRAlgo_BiPoint.cdl
+-- Created:   Thu Jun 22 12:28:58 1995
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1995
 
 class BiPoint from HLRAlgo
 
index 9ab2a02e031b0a8307c4de00f66ca616d18ec83e..a62e232589d422ed388ca12302383dd93112952a 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_BiPoint.cxx
-// Created:    Thu Jun 22 12:31:58 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_BiPoint.cxx
+// Created:   Thu Jun 22 12:31:58 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -315,4 +316,3 @@ HLRAlgo_BiPoint::HLRAlgo_BiPoint (const Standard_Real X1,
   SegFlags   = flag;
   Hidden(Standard_False);
 }
-
index 2a626c9f712aadc8b213ff5179e758e81d704c85..db4d0f50865c7326bfa4f45acdcb5084ad4f110a 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_BiPoint.lxx
-// Created:    Thu Jun 22 12:35:03 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_BiPoint.lxx
+// Created:   Thu Jun 22 12:35:03 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMskRg1Line  ((Standard_Boolean)1)
 #define EMskRgNLine  ((Standard_Boolean)2)
@@ -128,4 +128,3 @@ inline Standard_Address HLRAlgo_BiPoint::Indices () const
 
 inline Standard_Address HLRAlgo_BiPoint::Coordinates () const
 { return (Standard_Address)myCoordinates; }
-
index 33d2c5f84aef61604c47a7f4af54f7590923bd9e..6869fa848033adee286c267d210f878ed025b6c0 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Coincidence.cdl
--- Created:    Thu Aug 20 18:06:13 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_Coincidence.cdl
+-- Created:   Thu Aug 20 18:06:13 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class Coincidence from HLRAlgo
 
index a955987cc6cc37a805ebd1d1835a230004521645..ef9cb250f385bf98ada0e961b62081aa0b96ae04 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_Coincidence.cxx
-// Created:    Wed Feb 19 14:31:45 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_Coincidence.cxx
+// Created:   Wed Feb 19 14:31:45 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_Coincidence.ixx>
 
@@ -11,6 +11,9 @@
 //=======================================================================
 
 HLRAlgo_Coincidence::HLRAlgo_Coincidence()
+ : myFE(0),
+   myParam(0.),
+   myStBef(TopAbs_IN),
+   myStAft(TopAbs_IN)
 {
 }
-
index e554bc71a1bc2b3fcc71f9b49b22039b19f52664..c32bbc29f1cf713a44a0a5da0a6cc106d3d4d9ee 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_Coincidence.lxx
-// Created:    Wed Feb 19 14:31:45 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_Coincidence.lxx
+// Created:   Wed Feb 19 14:31:45 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : Set2D
@@ -52,4 +52,3 @@ inline void  HLRAlgo_Coincidence::State3D
   stbef = myStBef;
   staft = myStAft;
 }
-
index bd690b3d8ee1e8bc101a94a76c821b72124a0c91..f30b0d835a14448f741dd19919df2709d1d8edec 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_EdgeIterator.cdl
--- Created:    Mon Jan 11 13:58:26 1993
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_EdgeIterator.cdl
+-- Created:   Mon Jan 11 13:58:26 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class EdgeIterator from HLRAlgo
 
index 4030137e332d0741eb09f6529d764750b04a315e..2922e03ade45b526bb8d6ae5104b4a7b23e106b5 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_EdgeIterator.cxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_EdgeIterator.cxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -66,4 +67,3 @@ void HLRAlgo_EdgeIterator::NextHidden ()
       (iHid,myHidEnd,myHidTolEnd,B1,B2);
   }
 }
-
index d61f2adb71fc8e24f78f3e4d715b2fdf7d505823..860e6609a3a6f589a6e5219428aba37b85073d93 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_EdgeIterator.lxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_EdgeIterator.lxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_EdgeStatus.hxx>
 
@@ -73,4 +73,3 @@ HLRAlgo_EdgeIterator::Visible (Standard_Real& Start,
   ((HLRAlgo_EdgeStatus*)EVis)->VisiblePart
     (iVis,Start,TolStart,End,TolEnd);
 }
-
index 50ecfe5e3df58d9f4ea08003e46c7d7f8c007b9c..aaf92d796c9046d26170279bb09dc2781152a5b5 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       EdgeStatus.cdl
--- Created:    Tue Feb 18 10:36:07 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_EdgeStatus.cdl
+-- Created:   Tue Feb 18 10:36:07 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class EdgeStatus from HLRAlgo
 
index d712aa9b20cd8658d13e5e138d7dddb64e7bec86..947aac70ba39602bb9eca45cedc245dcc8c25ace 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_EdgeStatus.cxx
-// Created:    Tue Feb 18 11:30:23 1992
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_EdgeStatus.cxx
+// Created:   Tue Feb 18 11:30:23 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -100,4 +101,3 @@ void HLRAlgo_EdgeStatus::Hide (const Standard_Real Start     ,
     if (!AllHidden()) AllHidden(myVisibles.NbIntervals() == 0);
   }
 }
-
index c0ac65fa9eb256b12e309a5fd38d4fbd339750d5..15bbe152c2aa3366652be9e28be7d84ab20318d9 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_EdgeStatus.lxx
-// Created:    Tue Feb 18 11:30:12 1992
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_EdgeStatus.lxx
+// Created:   Tue Feb 18 11:30:12 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMaskAllHidden  ((Standard_Boolean)1)
 #define EMaskAllVisible ((Standard_Boolean)2)
@@ -80,4 +80,3 @@ inline void HLRAlgo_EdgeStatus::AllVisible (const Standard_Boolean B)
   if (B) myFlags |=  EMaskAllVisible;
   else   myFlags &= ~EMaskAllVisible;
 }
-
index 4d8b1d45fde5cca832d95a21b1933c9753500480..bebf129a3d7440d1fe08cafca657a7746f49af89 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_EdgesBlock.cdl
--- Created:    Mon Apr  6 17:57:45 1992
--- Author:     Christophe MARION
---             <cma@sdsun2>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_EdgesBlock.cdl
+-- Created:   Mon Apr  6 17:57:45 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class EdgesBlock from HLRAlgo inherits TShared from MMgt
 
index 6e7425784707d78a03b80057dbb6cd2a96aea02c..203b0a37ff5595a3c45c1778821f464025b1f141 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_EdgesBlock.cxx
-// Created:    Fri Mar 27 17:08:48 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_EdgesBlock.cxx
+// Created:   Fri Mar 27 17:08:48 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -26,4 +27,3 @@ void HLRAlgo_EdgesBlock::UpdateMinMax (const Standard_Address TotMinMax)
   for (Standard_Integer i = 0; i <= 15; i++)
     myMinMax[i] = ((Standard_Integer*)TotMinMax)[i];
 }
-
index 9830cba5106aaa03f76fc48a4cc7b67fdb69faef..4e155f87a80a58f3cf7914b506394af894d709b6 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_EdgesBlock.lxx
-// Created:    Thu Apr 20 11:31:26 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_EdgesBlock.lxx
+// Created:   Thu Apr 20 11:31:26 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMaskOrient   ((Standard_Boolean)15)
 #define EMaskOutLine  ((Standard_Boolean)16)
@@ -166,4 +166,3 @@ inline void HLRAlgo_EdgesBlock::IsoLine (const Standard_Integer I,
 
 inline Standard_Address HLRAlgo_EdgesBlock::MinMax () const
 { return (Standard_Address)&myMinMax; }
-
index d6b17f938009a9b7241ac51c07aea4438b184c86..23907bce1938bc8c9290a19ce579b9eed14779ad 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Intersection.cdl
--- Created:    Fri Aug 21 10:41:54 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_Intersection.cdl
+-- Created:   Fri Aug 21 10:41:54 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class Intersection from HLRAlgo
 
index 53380b7f7c8d192f5c24aa96326ee8dceee7d351..a1815936c5ce42ca9350c3ca506d1385e949a1f2 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_Intersection.cxx
-// Created:    Wed Feb 19 14:22:05 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_Intersection.cxx
+// Created:   Wed Feb 19 14:22:05 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_Intersection.ixx>
 
@@ -34,4 +34,3 @@ HLRAlgo_Intersection::HLRAlgo_Intersection
   myToler(Tol),
   myState(S)
 {}
-
index cb159da1af0b9756eabbd0460b086abb60748acd..a8e19b9e9af2d86deb6838304e7fab151ea2fab1 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_Intersection.lxx
-// Created:    Wed Feb 19 14:21:57 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_Intersection.lxx
+// Created:   Wed Feb 19 14:21:57 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : Orientation
@@ -114,4 +114,3 @@ inline void HLRAlgo_Intersection::State (const TopAbs_State St)
 
 inline TopAbs_State HLRAlgo_Intersection::State() const
 { return myState; }
-
index 384e921d2620e401f6576e488a4cb117a6ebc079..b6a5cfc5f46f909bf5e7f3fd4d2fe4ab801c3197 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyAlgo.cdl
--- Created:    Tue Feb 18 10:36:07 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_PolyAlgo.cdl
+-- Created:   Tue Feb 18 10:36:07 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class PolyAlgo from HLRAlgo inherits TShared from MMgt
 
index fbba6ee617c893310f879bcf264c6634ad1fd244..21fa3cb1ad724e8175f70c762cb7bbc04c620c68 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_PolyAlgo.cxx
-// Created:    Fri May  5 15:58:19 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyAlgo.cxx
+// Created:   Fri May  5 15:58:19 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 //#define No_Exception
 #endif
@@ -219,11 +220,7 @@ void HLRAlgo_PolyAlgo::Update ()
        Standard_Real X1,X2,X3,Y1,Y2,Y3,Z1,Z2,Z3;
        Standard_Real dn,dnx,dny,dnz,dx1,dy1,dz1,dx2,dy2,dz2,dx3,dy3;
        Standard_Real adx1,ady1,adx2,ady2,adx3,ady3;
-#ifndef DEB
        Standard_Real a =0.,b =0.,c =0.,d =0.;
-#else
-       Standard_Real a,b,c,d;
-#endif
        const Standard_Address PolyTIndices = (*pd)->Indices();
        TColgp_Array1OfXYZ   & Nodes        = (*pd)->Nodes();
        HLRAlgo_Array1OfTData& TData        = (*pd)->TData();
index f63edc7ad09e4a35d291f4d62489999d307b46b9..92913f45e61c6b1d8951a2eb52625940b3c90771 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyAlgo.lxx
-// Created:    Tue Jun 20 11:50:07 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyAlgo.lxx
+// Created:   Tue Jun 20 11:50:07 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TColStd_HArray1OfTransient.hxx>
 
index 05029dc727fb7ec870752c78d4a679282425593d..a32477bc0a61cc57f85fc6744ab6f31d8c1f1e1c 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyData.cdl
--- Created:    Fri Oct 29 15:19:08 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_PolyData.cdl
+-- Created:   Fri Oct 29 15:19:08 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class PolyData from HLRAlgo inherits TShared from MMgt
 
index cf355f8c23bb7fa96e38bddd4632e67377b1e5cb..0c5101bfec179b5fb1a02a09357fa80410219e52 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_PolyData.cxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_PolyData.cxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 //#define No_Exception
 #endif
@@ -807,4 +808,3 @@ HideByOneTriangle (const Standard_Address Coordinates,
   else       status.Hide(psta,(Standard_ShortReal)TolParam,pend,(Standard_ShortReal)TolParam,
                         Standard_False,Standard_False);
 }
-
index 011f4a5b83953aee625db412c4b42a84a15e4bc3..40c99b690d5b1619b7ecba9c07b492f7477d05af 100755 (executable)
@@ -1,8 +1,7 @@
-
-// File:       HLRAlgo_PolyData.lxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_PolyData.lxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TColgp_HArray1OfXYZ.hxx>
 #include <HLRAlgo_HArray1OfTData.hxx>
@@ -68,4 +67,3 @@ inline Standard_Boolean HLRAlgo_PolyData::Hiding () const
 
 inline Standard_Address HLRAlgo_PolyData::Indices ()
 { return (Standard_Address)myIndices; }
-
index 6a6ee2396411987fb383cf8828852707c7ca8f72..3a6874afbde821fb0050e983c89884bbb13b690d 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyHidingData.cdl
--- Created:    Fri Oct 29 15:19:08 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_PolyHidingData.cdl
+-- Created:   Fri Oct 29 15:19:08 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class PolyHidingData from HLRAlgo
 
index 94f4074b7c9dc1e24df45d9291216ec1c74695c0..3ac87c964dd3d0ad375e2752d0075f67827f0284 100755 (executable)
@@ -1,7 +1,6 @@
-// File:       HLRAlgo_PolyHidingData.cxx
-// Created:    Wed Jun 21 19:23:39 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyHidingData.cxx
+// Created:   Wed Jun 21 19:23:39 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_PolyHidingData.ixx>
-
index c1118a0984b6bb48d6eca67c85dfb8efd128b200..831d1f14486b248a28dbe115310129976f77a165 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyHidingData.lxx
-// Created:    Wed Jun 21 19:29:59 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyHidingData.lxx
+// Created:   Wed Jun 21 19:29:59 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : PolyHidingData
@@ -51,4 +51,3 @@ HLRAlgo_PolyHidingData::IndexAndMinMax() const
 inline Standard_Address
 HLRAlgo_PolyHidingData::Plan() const
 { return (Standard_Address)myPlan; }
-
index 008e833dbb9d84cc2715f43b6bb46ec398f5cb1b..ed85b80549804b7f3976766bcd4d421bbb803eea 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyInternalData.cdl
--- Created:    Fri Oct 29 15:19:08 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_PolyInternalData.cdl
+-- Created:   Fri Oct 29 15:19:08 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class PolyInternalData from HLRAlgo inherits TShared from MMgt
 
index e404ba117f063edca9ecfb2cddaacf46cde5b33c..d06566bcbd271e3f99cdaf356206a87ded0bb070 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyInternalData.cxx
-// Created:    Tue Jul 11 16:59:46 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyInternalData.cxx
+// Created:   Tue Jul 11 16:59:46 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <Standard_Stream.hxx>
 #include <HLRAlgo_PolyInternalData.ixx>
@@ -917,4 +917,3 @@ IncPINod (Standard_Address& PINod1,
   }
   myNbPINod++;
 }
-
index 9a3093217c2cd9c7a302ed1f8bad76b2f971506a..1936725dad8c5f8186eccee9222e1ab279fab721 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyInternalData.lxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_PolyInternalData.lxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TColStd_HArray1OfInteger.hxx>
 #include <TColStd_HArray1OfBoolean.hxx>
@@ -126,4 +126,3 @@ HLRAlgo_PolyInternalData::PINod () const
 inline HLRAlgo_Array1OfPISeg &
 HLRAlgo_PolyInternalData::PISeg () const
 { return myPISeg->ChangeArray1(); }
-
index a54f99e5201b732176dc1e4fac55e17714d4f3e1..46929ef49699c4777b6f49375d2820e3d0190c8f 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyInternalNode.cdl
--- Created:    Fri Jan 10 22:23:38 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRAlgo_PolyInternalNode.cdl
+-- Created:   Fri Jan 10 22:23:38 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class PolyInternalNode from HLRAlgo inherits TShared from MMgt
 
index e41b4b2632b8e0f3b0918f7321fc4540fb4512de..f3392cf604ddb6aecbd8c2edc06854f37f1d43c5 100755 (executable)
@@ -1,6 +1,6 @@
-// File:       HLRAlgo_PolyInternalNode.cxx
-// Created:    Fri Jan 10 22:25:33 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRAlgo_PolyInternalNode.cxx
+// Created:   Fri Jan 10 22:25:33 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_PolyInternalNode.ixx>
index af22263ffa6023732b64589bbeb3f37ea0dbd680..8938a1d96f829e1f4ea2cd814cd9ed8f39865723 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyInternalNode.lxx
-// Created:    Fri Jan 10 22:25:51 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRAlgo_PolyInternalNode.lxx
+// Created:   Fri Jan 10 22:25:51 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : HLRAlgo_PolyInternalNode
@@ -31,4 +31,3 @@ inline Standard_Address HLRAlgo_PolyInternalNode::Indices () const
 
 inline Standard_Address HLRAlgo_PolyInternalNode::RValues () const
 { return (Standard_Address)myRValues; }
-
index 37439d260fd78572beabe188ca4234681110b94c..bdbb2dd0b43917c586394f31d7a42a32316e3975 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyInternalSegment.cdl
--- Created:    Tue Dec  3 17:00:57 1996
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1996
+-- File:      HLRAlgo_PolyInternalSegment.cdl
+-- Created:   Tue Dec  3 17:00:57 1996
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1996
 
 class PolyInternalSegment from HLRAlgo
 
index f590acd2c4f73ba4199829f5d8fb19aae3ed0a9e..51a2891113518b0e5fa082bf0976a0452363bb16 100755 (executable)
@@ -1,7 +1,6 @@
-// File:       HLRAlgo_PolyInternalSegment.cxx
-// Created:    Tue Dec  3 17:23:48 1996
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRAlgo_PolyInternalSegment.cxx
+// Created:   Tue Dec  3 17:23:48 1996
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_PolyInternalSegment.ixx>
-
index f884a5f3a0e356e00f8abe07c839fd77dd51f35c..29ed070668278fa072ab06e0d551f815946ce571 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyInternalSegment.lxx
-// Created:    Tue Dec  3 17:09:42 1996
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRAlgo_PolyInternalSegment.lxx
+// Created:   Tue Dec  3 17:09:42 1996
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : HLRAlgo_PolyInternalSegment
@@ -18,4 +18,3 @@ inline HLRAlgo_PolyInternalSegment::HLRAlgo_PolyInternalSegment ()
 
 inline Standard_Address HLRAlgo_PolyInternalSegment::Indices () const
 { return (Standard_Address)myIndices; }
-
index d0bb21988d35017e905e7c9f2435625d1bdf53f7..922fe30f2f2758e322cb2a0bf994b624e51fe547 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_PolyShellData.cdl
--- Created:    Fri Oct 29 15:19:08 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_PolyShellData.cdl
+-- Created:   Fri Oct 29 15:19:08 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class PolyShellData from HLRAlgo inherits TShared from MMgt
 
index d8ab1d48c33895341590e1489cb087a63f2b2a52..4fe2ccd22cb10bed76a6cad676cdd8e4b0483d2f 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_PolyShellData.cxx
-// Created:    Fri May  5 15:58:19 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyShellData.cxx
+// Created:   Fri May  5 15:58:19 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 //#define No_Exception
 #endif
@@ -101,4 +102,3 @@ UpdateHiding (const Standard_Integer nbHiding)
     myHPolHi = new TColStd_HArray1OfTransient(1,nbHiding);
   else myHPolHi.Nullify();
 }
-
index 65f054a3bbd7b413bc62cdadbf3471b8d9d2eed8..30ac1871d0cf3d6898eea31987c869c2be460edc 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_PolyShellData.lxx
-// Created:    Fri May  5 15:58:19 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_PolyShellData.lxx
+// Created:   Fri May  5 15:58:19 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TColStd_HArray1OfTransient.hxx>
 
@@ -48,4 +48,3 @@ HLRAlgo_PolyShellData::Edges ()
 
 inline Standard_Address HLRAlgo_PolyShellData::Indices ()
 { return (Standard_Address)myMinMax; }
-
index fa1d95564c65abe23b56ba19d76da9e22389b88b..190c3eecff619cacf7aa71c02c96ce8cd4862fc6 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_Projector.cdl
--- Created:    Thu Mar 12 13:32:28 1992
--- Author:     Christophe MARION
---             <cma@sdsun2>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_Projector.cdl
+-- Created:   Thu Mar 12 13:32:28 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class Projector from HLRAlgo
 ---Purpose: Implements a  projector object.
index c1e0c56512295f0807734525cc6a95dac0e0abf0..bbf5521cd2ac8e62349e954637f6e0b657b08a45 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_Projector.cxx
-// Created:    Fri Mar 13 11:08:32 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_Projector.cxx
+// Created:   Fri Mar 13 11:08:32 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 // #define No_Exception
 #endif
index ef12545d1db13e0b6e76cfee997fe9a7b2f418b0..0e692b0beb5e015c1c6c1fa1eb8483401bd7e00f 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_Projector.lxx
-// Created:    Thu Jul  9 12:50:25 1992
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_Projector.lxx
+// Created:   Thu Jul  9 12:50:25 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <Standard_NoSuchObject.hxx>
 #include <gp_Vec.hxx>
@@ -81,4 +81,3 @@ inline void HLRAlgo_Projector::Transform (gp_Vec& D) const
 
 inline void HLRAlgo_Projector::Transform (gp_Pnt& Pnt) const
 { Pnt.Transform(myTrsf); }
-
index a6e5aaecedc9d7cac02bfffe261a9951b64e6ba3..72cfd8fe1e8cc1f4010af1e8fb0b749638575fe9 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_TriangleData.cdl
--- Created:    Fri Oct 29 15:19:08 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRAlgo_TriangleData.cdl
+-- Created:   Fri Oct 29 15:19:08 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class TriangleData from HLRAlgo
 
index de523efe8f2fef341a38c55651bd1ce87c73af97..9fcb151332417395646f31d9749040980c8b846f 100755 (executable)
@@ -1,7 +1,6 @@
-// File:       HLRAlgo_TriangleData.cxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_TriangleData.cxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_TriangleData.ixx>
-
index c30b17ae2d5eff223d5e89b25d44ea60447ae174..abc1d10b2d2c123bae09675dfe2acf70605f3eec 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_TriangleData.lxx
-// Created:    Mon Jan 11 13:58:26 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRAlgo_TriangleData.lxx
+// Created:   Mon Jan 11 13:58:26 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : TriangleData
@@ -18,4 +18,3 @@ inline HLRAlgo_TriangleData::HLRAlgo_TriangleData ()
 
 inline Standard_Address HLRAlgo_TriangleData::Indices () const
 { return (Standard_Address)myIndices; }
-
index a32cc45e9de7b7b2e88b4c2464eac4d240f96ebd..29a1aab35eb3769546c091818bfb0fffcd7dbb62 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRAlgo_WiresBlock.cdl
--- Created:    Mon Apr  6 17:56:12 1992
--- Author:     Christophe MARION
---             <cma@sdsun2>
----Copyright:   Matra Datavision 1992
+-- File:      HLRAlgo_WiresBlock.cdl
+-- Created:   Mon Apr  6 17:56:12 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class WiresBlock from HLRAlgo inherits TShared from MMgt
 
index 11d6e3718fa37e20715ef6ccd93cf133452706df..131b3c99dbecf4ddcfe6c1c350557ca098cb485b 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRAlgo_WiresBlock.cxx
-// Created:    Fri Mar 27 17:08:48 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRAlgo_WiresBlock.cxx
+// Created:   Fri Mar 27 17:08:48 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -52,4 +53,3 @@ void HLRAlgo_WiresBlock::UpdateMinMax (const Standard_Address TotMinMax)
   for (Standard_Integer i = 0; i <= 15; i++)
     myMinMax[i] = ((Standard_Integer*)TotMinMax)[i];
 }
-
index dc3099420e5d85610b7065f261a783f2538d1900..f7c335ab277713a61848f943e94f770c909be3fe 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRAlgo_WiresBlock.lxx
-// Created:    Tue Sep  5 15:11:36 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRAlgo_WiresBlock.lxx
+// Created:   Tue Sep  5 15:11:36 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : MinMax
@@ -10,4 +10,3 @@
 
 inline Standard_Address HLRAlgo_WiresBlock::MinMax () const
 { return (Standard_Address)&myMinMax; }
-
index ec0d57fb4ccfabd9c0c262c677636b05c19bfefc..45c7e83be07169825dd6da362c8e81ab2043424a 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep.cdl
--- Created:    Wed Oct 14 11:08:52 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRBRep.cdl
+-- Created:   Wed Oct 14 11:08:52 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 package HLRBRep 
     ---Purpose: Hidden Lines Removal
index ce8eaa06d26b712b068b16c6b41a3c9d03a464b8..cb5f4fddd052b2c57a8c552776c510778797f1aa 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep.cxx
-// Created:    Thu Aug 27 12:33:14 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep.cxx
+// Created:   Thu Aug 27 12:33:14 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep.ixx>
 #include <BRepLib_MakeEdge2d.hxx>
@@ -116,4 +116,3 @@ HLRBRep::PolyHLRAngleAndDeflection (const Standard_Real InAngl,
                           (HAngMax - HAngLim) / (HAngMax - HAngMin));
   OutDefl = OutAngl * OutAngl * 0.5;
 }
-
index 236356d2bfd8ab6dccf4115ac7afdf8a7315a5f7..e23c21e3384fa3da3d41609221d7c1248f290395 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_Algo.cdl
--- Created:    Wed Aug  3 16:15:26 1994
--- Author:     Christophe MARION
---             <cma@ecolox>
----Copyright:   Matra Datavision 1994
+-- File:      HLRBRep_Algo.cdl
+-- Created:   Wed Aug  3 16:15:26 1994
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1994
 
 class Algo from HLRBRep inherits InternalAlgo from HLRBRep
 
index 216b91c5e60088b18131f951af72a490a4602626..2889ab27f0aca59c8e131010c784dc78bf11c6fa 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Algo.cxx
-// Created:    Thu Aug  4 10:18:44 1994
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRBRep_Algo.cxx
+// Created:   Thu Aug  4 10:18:44 1994
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define No_Standard_OutOfRange
 
@@ -80,4 +80,3 @@ void HLRBRep_Algo::OutLinedShapeNullify ()
     ShapeBounds(i).Shape()->DataStructure().Clear();
   }
 }
-
index d9dc3d8d404ed2600b3918d4809bb9613462f348..cf398a2453057db9a2cd05329fbc7d441ad8659e 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_AreaLimit.cdl
--- Created:    Thu Apr 17 20:21:04 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_AreaLimit.cdl
+-- Created:   Thu Apr 17 20:21:04 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class AreaLimit from HLRBRep inherits TShared from MMgt 
 
@@ -88,4 +87,3 @@ fields
     myNext         : AreaLimit    from HLRBRep;
        
 end AreaLimit;
-
index 893aa23d6906a51dd9c215cffe27a3da5a7255fd..3211c3a6f75c9a4f07e885790a1a54511355557a 100755 (executable)
@@ -1,8 +1,7 @@
-// File:       HLRBRep_AreaLimit.cxx
-// Created:    Thu Apr 17 21:43:21 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
-
+// File:      HLRBRep_AreaLimit.cxx
+// Created:   Thu Apr 17 21:43:21 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_AreaLimit.ixx>
 
@@ -189,4 +188,3 @@ void HLRBRep_AreaLimit::Clear()
   myPrevious.Nullify();
   myNext.Nullify();
 }
-
index 7c68ccac0ac65b9295cde33e87271816abaf8157..a82e1dd4e311427ed2d5a83be4fe01c81d344f27 100755 (executable)
@@ -1,8 +1,7 @@
--- File:        HLRBRep_BCurveTool.cdl
--- Created:    Mon Jul 17 16:25:23 1995
--- Author:     Modelistation
---             <model@mastox>
----Copyright:   Matra Datavision 1995
+-- File:      HLRBRep_BCurveTool.cdl
+-- Created:   Mon Jul 17 16:25:23 1995
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1995
 
 class BCurveTool from HLRBRep
 
index d0d0684ac90227224ffbf461dacc7884bdd9d97c..4fe702d7f511b7b9f2c5b80ec6c505c5c45ff3a8 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BCurveTool.cxx
-// Created:    Mon Jul 17 17:39:39 1995
-// Author:     Modelistation
-//             <model@mastox>
+// File:      HLRBRep_BCurveTool.cxx
+// Created:   Mon Jul 17 17:39:39 1995
+// Author:    Modelistation
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_BCurveTool.ixx>
 #include <GeomAbs_CurveType.hxx>
@@ -94,4 +94,3 @@ Handle(Geom_BezierCurve)
 Handle(Geom_BSplineCurve)
      HLRBRep_BCurveTool::BSpline (const BRepAdaptor_Curve& C)
 { return(C.BSpline()); }
-
index 11fade855a72c8dc78c0a1b19dc1a24bbe752ee2..763544d68b54cc6b1d0e3867f53955f0b6371f19 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BCurveTool.lxx
-// Created:    Thu Oct 22 12:14:59 1992
-// Author:     Laurent BUCHARD
-//             <lbr@sdsun2>
+// File:      HLRBRep_BCurveTool.lxx
+// Created:   Thu Oct 22 12:14:59 1992
+// Author:    Laurent BUCHARD
+// Copyright: OPEN CASCADE 2000
 
 #include <GeomAbs_CurveType.hxx>
 #include <GeomAbs_Shape.hxx>
@@ -253,4 +253,3 @@ HLRBRep_BCurveTool::NbPoles (const BRepAdaptor_Curve& C)
 inline Standard_Integer
 HLRBRep_BCurveTool::NbKnots(const BRepAdaptor_Curve& C)
 { return(C.NbKnots()); }
-
index 49059c6c6f71b0b9492058e628bc3ead81880e79..fc0181c722b6b2f5203657ba15411d18c4d1289d 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_BSurfaceTool.cdl
--- Created:    Fri Jul  2 16:59:47 1993
--- Author:     Laurent BUCHARD
---             <lbr@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_BSurfaceTool.cdl
+-- Created:   Fri Jul  2 16:59:47 1993
+-- Author:    Laurent BUCHARD
+---Copyright: Matra Datavision 1993
 
 
 class BSurfaceTool from HLRBRep
index 26ff291ae68737d2bd71c9abe25dc8b0c23e2d6c..68927ccb2e7ac3c68e10b0d697db56ad505f2303 100755 (executable)
@@ -1,8 +1,8 @@
-//-- File       : HLRBRep_BSurfaceTool.cxx 
-//-- Created    : Wed Jui 7 18:00:00 1993
-//-- Author     : Laurent BUCHARD
-//--              <lbr@nonox>
-//-- Copyright:         Matra Datavision 1993
+// File:      HLRBRep_BSurfaceTool.cxx
+// Created:   Wed Jui 7 18:00:00 1993
+// Author:    Laurent BUCHARD
+// Copyright: Matra Datavision 1993
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_BSurfaceTool.ixx>
 #include <BRepAdaptor_Surface.hxx>
@@ -152,4 +152,3 @@ HLRBRep_BSurfaceTool::NbSamplesV(const BRepAdaptor_Surface& S,
   }
   return(n);
 }
-
index 04736e7b1882a4818408223ce9cee45c5de9804b..b6a320cf8d553c9f26c57ea4c933997667fe4d3a 100755 (executable)
@@ -1,8 +1,8 @@
-//-- File       : HLRBRep_BSurfaceTool.lxx 
-//-- Created    : Wed Jui 7 18:00:00 1993
-//-- Author     : Laurent BUCHARD
-//--              <lbr@nonox>
-//-- Copyright:         Matra Datavision 1993
+// File:      HLRBRep_BSurfaceTool.lxx
+// Created:   Wed Jui 7 18:00:00 1993
+// Author:    Laurent BUCHARD
+// Copyright: Matra Datavision 1993
+// Copyright: OPEN CASCADE 2000
 
 #include <gp_Pnt.hxx>
 #include <gp_Vec.hxx>
@@ -472,4 +472,3 @@ HLRBRep_BSurfaceTool::NbVKnots(const BRepAdaptor_Surface& S)
 inline Standard_Boolean
 HLRBRep_BSurfaceTool::IsVRational(const BRepAdaptor_Surface& S)
 { return(S.IsVRational()); }
-
index d5be00757b1266af0d06663800032751b042b5f1..2ec57d68d80f169f6c122ab195bf19f0131047a7 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_BiPnt2D.cdl
--- Created:    Fri Aug 21 17:10:30 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRBRep_BiPnt2D.cdl
+-- Created:   Fri Aug 21 17:10:30 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class BiPnt2D from HLRBRep
 
index 9a96ee963c80d09dbc4dc9799c00a1473e7b01be..8852b56da49b3c37f9a1fb8f1aa7eaa93062d9a0 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BiPnt2D.cxx
-// Created:    Tue Aug 25 10:43:05 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_BiPnt2D.cxx
+// Created:   Tue Aug 25 10:43:05 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_BiPnt2D.ixx>
 
@@ -38,4 +38,3 @@ HLRBRep_BiPnt2D::HLRBRep_BiPnt2D (const Standard_Real x1,
   OutLine(outl);
   IntLine(intl);
 }
-
index dfdbde5f9cccbc523212a3b0b1199df0ed819ef1..86fc63d2194f2d8a8a40629a6ed9e9efaad8dc38 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BiPnt2D.lxx
-// Created:    Tue Aug 25 10:43:05 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_BiPnt2D.lxx
+// Created:   Tue Aug 25 10:43:05 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMskRg1Line  ((Standard_Boolean)1)
 #define EMskRgNLine  ((Standard_Boolean)2)
@@ -115,4 +115,3 @@ inline void HLRBRep_BiPnt2D::IntLine (const Standard_Boolean B)
   if (B) myFlags |=  EMskIntLine;
   else   myFlags &= ~EMskIntLine;
 }
-
index 63a0dddd825b0058250830ea2c0468337f633842..4ab70939d9a97e864dfb33184bde0d2fb34483f2 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_BiPoint.cdl
--- Created:    Fri Aug 21 17:10:30 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRBRep_BiPoint.cdl
+-- Created:   Fri Aug 21 17:10:30 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class BiPoint from HLRBRep
 
index ed4ac382e56649fc9b18285cb6275bb9d82973aa..86eae38f721101f55e97aedd352d182d18190bb9 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BiPoint.cxx
-// Created:    Tue Aug 25 10:43:05 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_BiPoint.cxx
+// Created:   Tue Aug 25 10:43:05 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_BiPoint.ixx>
 
@@ -40,4 +40,3 @@ HLRBRep_BiPoint::HLRBRep_BiPoint (const Standard_Real x1,
   OutLine(outl);
   IntLine(intl);
 }
-
index 9e74b3b3873f8017e88abb16821883aebda2eaa2..7d475ac4d668598a341267a8c79500f9d16563da 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_BiPoint.lxx
-// Created:    Tue Aug 25 10:43:05 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_BiPoint.lxx
+// Created:   Tue Aug 25 10:43:05 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMskRg1Line  ((Standard_Boolean)1)
 #define EMskRgNLine  ((Standard_Boolean)2)
@@ -115,4 +115,3 @@ inline void HLRBRep_BiPoint::IntLine (const Standard_Boolean B)
   if (B) myFlags |=  EMskIntLine;
   else   myFlags &= ~EMskIntLine;
 }
-
index 3d9a88ebdcd33d69f3c9458b392b7af57202327e..67bf4c024b8cf639f2cbd2c0ed9f186b658970e8 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_CLPropsATool.cdl
--- Created:    Tue Apr 20 18:34:23 1993
--- Author:     Modelistation
---             <model@phylox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_CLPropsATool.cdl
+-- Created:   Tue Apr 20 18:34:23 1993
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1993
 
 class CLPropsATool from HLRBRep
 
@@ -73,4 +72,3 @@ is
        ---C++: inline          
 
 end CLPropsATool;
-
index 82e87d2cb89f29e4c51fd13024555a45ffef8275..a99bdb94c8c4df9cdee4111187084b45c5477cb3 100755 (executable)
@@ -1,6 +1,6 @@
-// File:       HLRBRep_CLPropsTool.cxx
-// Created:    Tue Aug 18 15:40:26 1992
-// Author:     Herve LEGRAND
-//             <hl@bravox>
+// File:      HLRBRep_CLPropsTool.cxx
+// Created:   Tue Aug 18 15:40:26 1992
+// Author:    Herve LEGRAND
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_CLPropsATool.ixx>
index 89122d6c73b7f43c8c3b5bdb7b9a12f6e47dbeb1..d61022032bfd15560bdc2c387a30b7aa3d3b62d3 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_CLPropsATool.lxx
-// Created:    Tue Aug 18 15:40:26 1992
-// Author:     Herve LEGRAND
-//             <hl@bravox>
+// File:      HLRBRep_CLPropsATool.lxx
+// Created:   Tue Aug 18 15:40:26 1992
+// Author:    Herve LEGRAND
+// Copyright: OPEN CASCADE 2000
 
 #include <Standard_NotImplemented.hxx>
 #include <HLRBRep_Curve.hxx>
@@ -83,4 +83,3 @@ inline Standard_Real  HLRBRep_CLPropsATool::FirstParameter
 inline Standard_Real  HLRBRep_CLPropsATool::LastParameter
   (const Standard_Address A)
 { return ((HLRBRep_Curve*)A)->LastParameter(); }
-
index 6912fd73bc9bcf99fc33dfeb3884b3873454f27f..edb78d7e5ad7034335dc3e46acc5ac9691981843 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_Curve.cdl
--- Created:    Thu Apr  1 15:09:20 1993
--- Author:     Modelistation
---             <model@phylox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_Curve.cdl
+-- Created:   Thu Apr  1 15:09:20 1993
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1993
 
 class Curve from HLRBRep
        
index 2a63da7ab11b7cb88f36a79ff1d406110bc8ce3b..169ded6d71380434a0a847e867051f56f81ac1ce 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Curve.gxx
-// Created:    Fri Mar 13 11:08:32 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_Curve.cxx
+// Created:   Fri Mar 13 11:08:32 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_Curve.ixx>
 #include <gp.hxx>
@@ -18,7 +18,7 @@
 #include <Handle_Geom_BSplineCurve.hxx>
 #include <Handle_Geom_BezierCurve.hxx>
 
-#define OCC155 // jfa 05.03.2002 // bad vectors projection
+//OCC155 // jfa 05.03.2002 // bad vectors projection
 
 //=======================================================================
 //function : HLRBRep_Curve
@@ -44,29 +44,25 @@ void HLRBRep_Curve::Curve (const TopoDS_Edge& E)
 Standard_Real 
 HLRBRep_Curve::Parameter2d (const Standard_Real P3d) const
 {
-
   // Mathematical formula for lines
 
   //        myOF P3d (myOF myVX - myOZ myVX + myOX myVZ)
-  // P2d -> --------------------------------------------
+  // Res -> --------------------------------------------
   //        (-myOF + myOZ) (-myOF + myOZ + P3d myVZ)
 
-  Standard_Real P2d;
   if (myType == GeomAbs_Line) {
     if (((HLRAlgo_Projector*) myProj)->Perspective()) {
-      Standard_Real FmOZ = myOF - myOZ;
-      P2d = myOF * P3d * (myVX * FmOZ + myOX * myVZ) /
-       (FmOZ * (FmOZ - P3d * myVZ));
+      const Standard_Real FmOZ = myOF - myOZ;
+      return myOF * P3d * (myVX * FmOZ + myOX * myVZ) / (FmOZ * (FmOZ - P3d * myVZ));
     }
-    else P2d = P3d * myVX;
+    return P3d * myVX;
   }
 
   else if (myType == GeomAbs_Ellipse) {
-    P2d = P3d + myOX;
+    return P3d + myOX;
   }
 
-  else P2d = P3d;
-  return P2d;
+  return P3d;
 }
 
 //=======================================================================
@@ -77,7 +73,6 @@ HLRBRep_Curve::Parameter2d (const Standard_Real P3d) const
 Standard_Real
 HLRBRep_Curve::Parameter3d (const Standard_Real P2d) const
 {
-
   // Mathematical formula for lines
 
   //                                 2   
@@ -85,22 +80,19 @@ HLRBRep_Curve::Parameter3d (const Standard_Real P2d) const
   // P3d -> -----------------------------------------------------
   //        (myOF - myOZ) (myOF myVX + P2d myVZ) + myOF myOX myVZ
 
-  Standard_Real P3d;
   if (myType == GeomAbs_Line) {
     if (((HLRAlgo_Projector*) myProj)->Perspective()) {
-      Standard_Real FmOZ = myOF - myOZ;
-      P3d = P2d * FmOZ * FmOZ /
-       (FmOZ * (myOF * myVX + P2d * myVZ) + myOF * myOX * myVZ);
+      const Standard_Real FmOZ = myOF - myOZ;
+      return P2d * FmOZ * FmOZ / (FmOZ * (myOF * myVX + P2d * myVZ) + myOF * myOX * myVZ);
     }
-    else P3d = P2d / myVX;
+    return P2d / myVX;
   }
 
   else if (myType == GeomAbs_Ellipse) {
-    P3d = P2d - myOX;
+    return P2d - myOX;
   }
 
-  else P3d = P2d;
-  return P3d;
+  return P2d;
 }
 
 //=======================================================================
@@ -109,7 +101,7 @@ HLRBRep_Curve::Parameter3d (const Standard_Real P2d) const
 //=======================================================================
 
 Standard_Real  HLRBRep_Curve::Update (const Standard_Address TotMin,
-                                     const Standard_Address TotMax)
+                                      const Standard_Address TotMax)
 {
   GeomAbs_CurveType typ = HLRBRep_BCurveTool::GetType(myCurve);
   myType = GeomAbs_OtherCurve;
@@ -125,16 +117,16 @@ Standard_Real  HLRBRep_Curve::Update (const Standard_Address TotMin,
       gp_Dir D1 = HLRBRep_BCurveTool::Circle(myCurve).Axis().Direction();
       D1.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
       if (D1.IsParallel(gp::DZ(),Precision::Angular()))
-       myType = GeomAbs_Circle;
+        myType = GeomAbs_Circle;
       else if (Abs(D1.Dot(gp::DZ())) < Precision::Angular()*10) //*10: The minor radius of ellipse should not be too small.
-       myType = GeomAbs_OtherCurve;
+        myType = GeomAbs_OtherCurve;
       else {
-       myType = GeomAbs_Ellipse;
-       // compute the angle offset
-       gp_Dir D3 = D1.Crossed(gp::DZ());
-       gp_Dir D2 = HLRBRep_BCurveTool::Circle(myCurve).XAxis().Direction();
-       D2.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
-       myOX = D3.AngleWithRef(D2,D1);
+        myType = GeomAbs_Ellipse;
+        // compute the angle offset
+        gp_Dir D3 = D1.Crossed(gp::DZ());
+        gp_Dir D2 = HLRBRep_BCurveTool::Circle(myCurve).XAxis().Direction();
+        D2.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
+        myOX = D3.AngleWithRef(D2,D1);
       }
     }
     break;
@@ -144,8 +136,8 @@ Standard_Real  HLRBRep_Curve::Update (const Standard_Address TotMin,
       gp_Dir D1 = HLRBRep_BCurveTool::Ellipse(myCurve).Axis().Direction();
       D1.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
       if (D1.IsParallel(gp::DZ(),Precision::Angular())) {
-       myOX = 0.;    // no offset on the angle
-       myType = GeomAbs_Ellipse;
+        myOX = 0.;    // no offset on the angle
+        myType = GeomAbs_Ellipse;
       }
     }
     break;
@@ -224,11 +216,7 @@ HLRBRep_Curve::UpdateMinMax (const Standard_Address TotMin,
     Standard_Integer nbPnt = 30;
     Standard_Integer i;
     Standard_Real step = (b-a)/(nbPnt+1);
-#ifndef DEB
     Standard_Real xa,ya,za,xb =0.,yb =0.,zb =0.;
-#else
-    Standard_Real xa,ya,za,xb,yb,zb;
-#endif
     Standard_Real dx1,dy1,dz1,dd1;
     Standard_Real dx2,dy2,dz2,dd2;
 
@@ -238,21 +226,21 @@ HLRBRep_Curve::UpdateMinMax (const Standard_Address TotMin,
       xb = x ; yb = y ; zb = z ;
       ((HLRAlgo_Projector*) myProj)->Project(Value3D(a),x,y,z);
       HLRAlgo::UpdateMinMax(x,y,z,TotMin,TotMax);
-      if (i >= 2) { 
-       dx1 = x - xa; dy1 = y - ya; dz1 = z - za;
-       dd1 = sqrt (dx1 * dx1 + dy1 * dy1 + dz1 * dz1);
-       if (dd1 > 0) {
-         dx2 = xb - xa; dy2 = yb - ya; dz2 = zb - za;
-         dd2 = sqrt (dx2 * dx2 + dy2 * dy2 + dz2 * dz2);
-         if (dd2 > 0) {
-           Standard_Real p = (dx1 * dx2 + dy1 * dy2 + dz1 * dz2) / (dd1 * dd2);
-           dx1 = xa + p * dx1 - xb;
-           dy1 = ya + p * dy1 - yb;
-           dz1 = za + p * dz1 - zb;
-           dd1 = sqrt (dx1 * dx1 + dy1 * dy1 + dz1 * dz1);
-           if (dd1 > tolMinMax) tolMinMax = dd1;
-         }
-       } 
+      if (i >= 2) {
+        dx1 = x - xa; dy1 = y - ya; dz1 = z - za;
+        dd1 = sqrt (dx1 * dx1 + dy1 * dy1 + dz1 * dz1);
+        if (dd1 > 0) {
+          dx2 = xb - xa; dy2 = yb - ya; dz2 = zb - za;
+          dd2 = sqrt (dx2 * dx2 + dy2 * dy2 + dz2 * dz2);
+          if (dd2 > 0) {
+            Standard_Real p = (dx1 * dx2 + dy1 * dy2 + dz1 * dz2) / (dd1 * dd2);
+            dx1 = xa + p * dx1 - xb;
+            dy1 = ya + p * dy1 - yb;
+            dz1 = za + p * dz1 - zb;
+            dd1 = sqrt (dx1 * dx1 + dy1 * dy1 + dz1 * dz1);
+            if (dd1 > tolMinMax) tolMinMax = dd1;
+          }
+        }
       }
     }
   }
@@ -280,12 +268,10 @@ Standard_Real HLRBRep_Curve::Z (const Standard_Real U) const
 //=======================================================================
 
 void HLRBRep_Curve::Tangent (const Standard_Boolean AtStart,
-                            gp_Pnt2d& P,
-                            gp_Dir2d& D) const
+                             gp_Pnt2d& P, gp_Dir2d& D) const
 {
-  Standard_Real U;
-  if (AtStart) U = HLRBRep_BCurveTool::FirstParameter(myCurve);
-  else         U = HLRBRep_BCurveTool::LastParameter (myCurve);
+  Standard_Real U = AtStart? HLRBRep_BCurveTool::FirstParameter(myCurve) :
+                             HLRBRep_BCurveTool::LastParameter (myCurve);
 
   D0(U,P);
   HLRBRep_CLProps CLP(2,Epsilon(1.));
@@ -304,20 +290,17 @@ void HLRBRep_Curve::Tangent (const Standard_Boolean AtStart,
 
 void HLRBRep_Curve::D0 (const Standard_Real U, gp_Pnt2d& P) const
 {
-#if 0
-  gp_Pnt P3d;
+  /* gp_Pnt P3d;
   HLRBRep_BCurveTool::D0(myCurve,U,P3d);
   P3d.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
   if (((HLRAlgo_Projector*) myProj)->Perspective()) {
     Standard_Real R = 1.-P3d.Z()/((HLRAlgo_Projector*) myProj)->Focus();
     P.SetCoord(P3d.X()/R,P3d.Y()/R);
   }
-  else P.SetCoord(P3d.X(),P3d.Y());
-#else 
+  else P.SetCoord(P3d.X(),P3d.Y()); */
   gp_Pnt P3d;
   HLRBRep_BCurveTool::D0(myCurve,U,P3d); 
   ((HLRAlgo_Projector*) myProj)->Project(P3d,P);
-#endif
 }
 
 //=======================================================================
@@ -326,10 +309,8 @@ void HLRBRep_Curve::D0 (const Standard_Real U, gp_Pnt2d& P) const
 //=======================================================================
 
 void HLRBRep_Curve::D1 (const Standard_Real U,
-                       gp_Pnt2d& P,
-                       gp_Vec2d& V) const
+                        gp_Pnt2d& P, gp_Vec2d& V) const
 {
-
   // Mathematical formula for lines
 
   //        X'[t]      X[t] Z'[t]                                     
@@ -338,8 +319,7 @@ void HLRBRep_Curve::D1 (const Standard_Real U,
   //       1 - ----   f (1 - ----)                                    
   //            f             f                                       
 
-#if 0
-  gp_Pnt P3D;
+  /* gp_Pnt P3D;
   gp_Vec V13D;
   HLRBRep_BCurveTool::D1(myCurve,U,P3D,V13D);
   P3D .Transform(((HLRAlgo_Projector*) myProj)->Transformation());
@@ -354,8 +334,7 @@ void HLRBRep_Curve::D1 (const Standard_Real U,
   else {
     P.SetCoord(P3D .X(),P3D .Y());
     V.SetCoord(V13D.X(),V13D.Y());
-  }
-#else 
+  } */
   gp_Pnt P3D;
   gp_Vec V13D;
   HLRBRep_BCurveTool::D1(myCurve,U,P3D,V13D);
@@ -367,17 +346,14 @@ void HLRBRep_Curve::D1 (const Standard_Real U,
     V.SetCoord(V13D.X()/R + P3D.X()*e, V13D.Y()/R + P3D.Y()*e);
   }
   else {
-#ifdef OCC155
+    //OCC155
     ((HLRAlgo_Projector*) myProj)->Project(P3D,V13D,P,V);
-#else
-    ((HLRAlgo_Projector*) myProj)->Project(P3D,P);
+    /* ((HLRAlgo_Projector*) myProj)->Project(P3D,P);
     gp_Pnt2d opop;
     gp_Pnt uiui(V13D.X(),V13D.Y(),V13D.Z());
     ((HLRAlgo_Projector*) myProj)->Project(uiui,opop);
-    V.SetCoord(opop.X(),opop.Y());
-#endif
+    V.SetCoord(opop.X(),opop.Y()); */
   }
-#endif
 }
 
 //=======================================================================
@@ -386,11 +362,8 @@ void HLRBRep_Curve::D1 (const Standard_Real U,
 //=======================================================================
 
 void HLRBRep_Curve::D2 (const Standard_Real U,
-                       gp_Pnt2d& P,
-                       gp_Vec2d& V1,
-                       gp_Vec2d& V2) const 
+                        gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const
 {
-
   // Mathematical formula for lines
   
   //                                   2
@@ -430,10 +403,7 @@ void HLRBRep_Curve::D2 (const Standard_Real U,
 //=======================================================================
 
 void HLRBRep_Curve::D3 (const Standard_Real,
-                                gp_Pnt2d&,
-                                gp_Vec2d&,
-                                gp_Vec2d&,
-                                gp_Vec2d&) const 
+                        gp_Pnt2d&, gp_Vec2d&, gp_Vec2d&, gp_Vec2d&) const
 {
 }
 
@@ -442,8 +412,7 @@ void HLRBRep_Curve::D3 (const Standard_Real,
 //purpose  : 
 //=======================================================================
 
-gp_Vec2d HLRBRep_Curve::DN (const Standard_Real,
-                           const Standard_Integer) const
+gp_Vec2d HLRBRep_Curve::DN (const Standard_Real, const Standard_Integer) const
 { return gp_Vec2d(); }
 
 //=======================================================================
@@ -478,25 +447,23 @@ gp_Circ2d HLRBRep_Curve::Circle () const
 
 gp_Elips2d HLRBRep_Curve::Ellipse () const
 {
-  GeomAbs_CurveType typ = HLRBRep_BCurveTool::GetType(myCurve);
-  if (typ == GeomAbs_Ellipse) {
+  if (HLRBRep_BCurveTool::GetType(myCurve) == GeomAbs_Ellipse) {
     gp_Elips E = HLRBRep_BCurveTool::Ellipse(myCurve);
     E.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
     return ProjLib::Project(gp_Pln(gp::XOY()),E);
   }
-  else { // this is a circle
-    gp_Circ C = HLRBRep_BCurveTool::Circle(myCurve);
-    C.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
-    const gp_Dir& D1 = C.Axis().Direction();
-    const gp_Dir& D3 = D1.Crossed(gp::DZ());
-    const gp_Dir& D2 = D1.Crossed(D3);
-    Standard_Real rap = sqrt( D2.X()*D2.X() + D2.Y()*D2.Y() );
-    gp_Dir2d d(D1.Y(),-D1.X());
-    gp_Pnt2d p(C.Location().X(),C.Location().Y());
-    gp_Elips2d El(gp_Ax2d(p,d),C.Radius(),C.Radius()*rap);
-    if ( D1.Z() < 0 ) El.Reverse();
-    return El;
-  }
+  // this is a circle
+  gp_Circ C = HLRBRep_BCurveTool::Circle(myCurve);
+  C.Transform(((HLRAlgo_Projector*) myProj)->Transformation());
+  const gp_Dir& D1 = C.Axis().Direction();
+  const gp_Dir& D3 = D1.Crossed(gp::DZ());
+  const gp_Dir& D2 = D1.Crossed(D3);
+  Standard_Real rap = sqrt( D2.X()*D2.X() + D2.Y()*D2.Y() );
+  gp_Dir2d d(D1.Y(),-D1.X());
+  gp_Pnt2d p(C.Location().X(),C.Location().Y());
+  gp_Elips2d El(gp_Ax2d(p,d),C.Radius(),C.Radius()*rap);
+  if ( D1.Z() < 0 ) El.Reverse();
+  return El;
 }
 
 //=======================================================================
@@ -568,7 +535,6 @@ void  HLRBRep_Curve::PolesAndWeights (TColgp_Array1OfPnt2d& TP,
   }
 }
 
-
 //=======================================================================
 //function : Knots
 //purpose  : 
@@ -582,7 +548,6 @@ void  HLRBRep_Curve::Knots (TColStd_Array1OfReal& kn) const
   }
 }
 
-
 //=======================================================================
 //function : Multiplicities
 //purpose  : 
@@ -595,4 +560,3 @@ void  HLRBRep_Curve::Multiplicities (TColStd_Array1OfInteger& mu) const
     HB->Multiplicities(mu);
   }
 }
-
index 9a2bcb40bb173b0f9644e738015b84f7189750c4..9062f003c72e68973cdfa7e766cb98a1bd8d8231 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Curve.lxx
-// Created:    Fri Mar 13 11:08:32 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_Curve.lxx
+// Created:   Fri Mar 13 11:08:32 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <Standard_NotImplemented.hxx>
 #include <gp_Pnt2d.hxx>
@@ -191,4 +191,3 @@ inline Standard_Boolean HLRBRep_Curve::IsRational() const
 {
   return HLRBRep_BCurveTool::IsRational(myCurve);
 }
-
index 76f4f887b1ecf84f750b42547772d9b0bfb7d192..3b372f3f25d40064f081e7774e1e4c9d7c6a1412 100755 (executable)
@@ -1,8 +1,7 @@
--- File:        HLRBRep_CurveTool.cdl
--- Created:    Mon Jul 17 16:25:23 1995
--- Author:     Modelistation
---             <model@mastox>
----Copyright:   Matra Datavision 1995
+-- File:      HLRBRep_CurveTool.cdl
+-- Created:   Mon Jul 17 16:25:23 1995
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1995
 
 class CurveTool from HLRBRep
 
index 2917fe75b67cf4e89214071f1ef71c21c123a80e..051ee4abe6b0c277db3f60a3d76520ffc206f143 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_CurveTool.cxx
-// Created:    Mon Jul 17 17:39:39 1995
-// Author:     Modelistation
-//             <model@mastox>
+// File:      HLRBRep_CurveTool.cxx
+// Created:   Mon Jul 17 17:39:39 1995
+// Author:    Modelistation
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_CurveTool.ixx>
 #include <HLRBRep_Curve.hxx>
@@ -64,4 +64,3 @@ HLRBRep_CurveTool::NbSamples (const Standard_Address C,
     nbs = 50;
   return((Standard_Integer)nbs);
 }
-
index 3c6eb59a63111557afcaac365ef487d9d469498b..4231d9306939c642db5c8691fe7c2695454357fd 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_CurveTool.lxx
-// Created:    Thu Oct 22 12:14:59 1992
-// Author:     Laurent BUCHARD
-//             <lbr@sdsun2>
+// File:      HLRBRep_CurveTool.lxx
+// Created:   Thu Oct 22 12:14:59 1992
+// Author:    Laurent BUCHARD
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_Curve.hxx>
 #include <GeomAbs_CurveType.hxx>
@@ -297,4 +297,3 @@ inline Handle(Geom2d_BSplineCurve)
 inline Standard_Real
 HLRBRep_CurveTool::EpsX(const Standard_Address C)
 { return(1e-10); }
-
index 9c8f151badaf4c9ff8bf37bdbc6dfcbaf04a64b1..6485be0bee926f68f5aa64bdf176f251b14d5f28 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_Data.cdl
--- Created:    Mon Jan 11 13:58:26 1993
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_Data.cdl
+-- Created:   Mon Jan 11 13:58:26 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class Data from HLRBRep inherits TShared from MMgt
 
index d59aee3d75b9c13b08dd146b0966785ed0d23732..60a617529fe2715fccc847da24c135b4260328f7 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Data.cxx
-// Created:    Thu Apr 17 19:17:52 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_Data.cxx
+// Created:   Thu Apr 17 19:17:52 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //#define No_Standard_OutOfRange
 
@@ -534,10 +534,6 @@ void HLRBRep_Data::Write (const Handle(HLRBRep_Data)& DS,
                          const Standard_Integer de,
                          const Standard_Integer df)
 {
-#ifdef DEB
-  Standard_Integer n1vert = 
-#endif
-    DS->NbVertices();
   Standard_Integer n1edge = DS->NbEdges();
   Standard_Integer n1face = DS->NbFaces();
 
@@ -1490,49 +1486,59 @@ void HLRBRep_Data::LocalFEGeometry2D (const Standard_Integer FE,
 //=======================================================================
 
 void HLRBRep_Data::EdgeState (const Standard_Real p1,
-                             const Standard_Real p2,
-                             TopAbs_State& stbef,
-                             TopAbs_State& staft)
+                              const Standard_Real p2,
+                              TopAbs_State& stbef,
+                              TopAbs_State& staft)
 {
   // compute the state of The Edge near the Intersection
   // this method should give the states before and after
   // it should get the parameters on the surface
-  
-  gp_Pnt Pbid;
-  gp_Vec TngEdge;
-  ((HLRBRep_Curve*)myLEGeom)->D1(p1,Pbid,TngEdge);
+
   Standard_Real pu,pv;
-  if (HLRBRep_EdgeFaceTool::UVPoint(p2,myFEGeom,iFaceGeom,pu,pv)) {
+  if (HLRBRep_EdgeFaceTool::UVPoint(p2,myFEGeom,iFaceGeom,pu,pv))
+  {
     mySLProps.SetParameters(pu,pv);
-    gp_Dir NrmFace  = mySLProps.Normal();
-    const gp_Trsf& TI = myProj.InvertedTransformation();
-    gp_Dir V;
-    if (myProj.Perspective()) {
-      gp_Pnt2d P2d;
-      myProj.Project(Pbid,P2d);
-      V = gp_Dir(P2d.X(),P2d.Y(),-myProj.Focus());
+    if (mySLProps.IsNormalDefined())
+    {
+      gp_Dir NrmFace  = mySLProps.Normal();
+
+      gp_Pnt Pbid;
+      gp_Vec TngEdge;
+      ((HLRBRep_Curve*)myLEGeom)->D1(p1,Pbid,TngEdge);
+
+      const gp_Trsf& TI = myProj.InvertedTransformation();
+      gp_Dir V;
+      if (myProj.Perspective()) {
+        gp_Pnt2d P2d;
+        myProj.Project(Pbid,P2d);
+        V = gp_Dir(P2d.X(),P2d.Y(),-myProj.Focus());
+      }
+      else {
+        V = gp_Dir(0,0,-1);
+      }
+      V.Transform(TI);
+      if (NrmFace.Dot(V) > 0.)
+        NrmFace.Reverse();
+    
+      const Standard_Real scal = (TngEdge.SquareMagnitude()>1.e-10)? NrmFace.Dot(gp_Dir(TngEdge)) : 0.;
+
+      if      (scal >  myToler*10) {stbef = TopAbs_IN ;staft = TopAbs_OUT;}
+      else if (scal < -myToler*10) {stbef = TopAbs_OUT;staft = TopAbs_IN ;}
+      else                         {stbef = TopAbs_ON ;staft = TopAbs_ON ;}
     }
     else {
-      V = gp_Dir(0,0,-1);
+      stbef = TopAbs_OUT;
+      staft = TopAbs_OUT;
+#ifdef DEB
+    cout << "HLRBRep_Data::EdgeState : undefined" << endl;
+#endif
     }
-    V.Transform(TI);
-    if (NrmFace.Dot(V) > 0)
-      NrmFace.Reverse();
-    
-    Standard_Real scal;
-    if(TngEdge.SquareMagnitude()>1e-10) 
-      scal=NrmFace.Dot(gp_Dir(TngEdge));
-    else scal=0.0;
-    
-    if      (scal >  myToler*10) {stbef = TopAbs_IN ;staft = TopAbs_OUT;}
-    else if (scal < -myToler*10) {stbef = TopAbs_OUT;staft = TopAbs_IN ;}
-    else                         {stbef = TopAbs_ON ;staft = TopAbs_ON ;}
   }
   else {
     stbef = TopAbs_OUT;
     staft = TopAbs_OUT; 
 #ifdef DEB
-    cout << "HLRBRep_Data::EdgeState : undefined" << endl; 
+    cout << "HLRBRep_Data::EdgeState : undefined" << endl;
 #endif
   }
 }
@@ -1563,22 +1569,15 @@ HLRBRep_Data::HidingStartLevel (const Standard_Integer E,
       Loop = Standard_False;
     else {
       if (Abs(param-sta) > Abs(param-end))
-       end = param;
+        end = param;
       else
-       sta = param;
+        sta = param;
     }
     It.Next();
   }
-  param = (sta + end) / 2;
-#ifndef DEB
+  param = 0.5 * (sta + end);
   Standard_Integer level = 0;
-#else
-  Standard_Integer level;
-#endif
-#ifdef DEB
-  TopAbs_State st = 
-#endif
-    Classify(E,ED,Standard_True,level,param);
+  /*TopAbs_State st = */Classify(E,ED,Standard_True,level,param);
   Loop = Standard_True;
   It.Initialize(IL);
 
@@ -1589,15 +1588,15 @@ HLRBRep_Data::HidingStartLevel (const Standard_Integer E,
       switch (Int.Transition()) {
        
       case TopAbs_FORWARD  :
-       level = level - Int.Intersection().Level();
-       break;
+        level -= Int.Intersection().Level();
+        break;
       case TopAbs_REVERSED :
-       level = level + Int.Intersection().Level();
-       break;
+        level += Int.Intersection().Level();
+        break;
       case TopAbs_EXTERNAL :
       case TopAbs_INTERNAL :
-       default :
-         break;
+         default :
+           break;
       }
     }
     else if (p > param + tolpar)
@@ -1619,10 +1618,10 @@ HLRBRep_Data::HidingStartLevel (const Standard_Integer E,
 //=======================================================================
 
 TopAbs_State HLRBRep_Data::Compare (const Standard_Integer E,
-                                   const HLRBRep_EdgeData& ED)
+                                    const HLRBRep_EdgeData& ED)
 {
-  Standard_Integer level;
-  Standard_Real parbid = 0;
+  Standard_Integer level = 0;
+  Standard_Real parbid = 0.;
   return Classify(E,ED,Standard_False,level,parbid);
 }
 
@@ -2207,11 +2206,7 @@ HLRBRep_Data::RejectedPoint (const IntRes2d_IntersectionPoint& PInter,
   Standard_Real p1,p2,dz;
   Standard_ShortReal t1,t2;
   TopAbs_State st;
-#ifndef DEB
   TopAbs_Orientation Orie =TopAbs_FORWARD ;
-#else
-  TopAbs_Orientation Orie ;
-#endif
   TopAbs_Orientation Or2 = TopAbs_INTERNAL;
   Standard_Boolean inverted = Standard_False;
   const IntRes2d_Transition* Tr1;
@@ -2287,11 +2282,7 @@ HLRBRep_Data::RejectedPoint (const IntRes2d_IntersectionPoint& PInter,
   }
 
   if (iFaceBack) Orie = TopAbs::Complement(Orie);  // change the transition
-#ifndef DEB
   TopAbs_Orientation Ori = TopAbs_FORWARD;
-#else
-  TopAbs_Orientation Ori;
-#endif
   switch (Tr1->PositionOnCurve()) {
   case IntRes2d_Head   : Ori = TopAbs_FORWARD ; break;
   case IntRes2d_Middle : Ori = TopAbs_INTERNAL; break;
@@ -2446,4 +2437,3 @@ HLRBRep_Data::SameVertex (const Standard_Boolean h1,
   }
   return SameV;
 }
-
index efdd20874ae565323cbe6b200b5c0cd58de89d40..290ecef2d74f524c506350b98211d7248493986e 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Data.lxx
-// Created:    Thu Apr 17 16:56:27 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_Data.lxx
+// Created:   Thu Apr 17 16:56:27 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : EDataArray
@@ -124,4 +124,3 @@ inline Standard_Boolean
 HLRBRep_Data::EdgeOfTheHidingFace (const Standard_Integer E,
                                   const HLRBRep_EdgeData& ED) const
 { return ED.HideCount() == myHideCount-1; }
-
index f06728d12c49c62ee24912fd4714f62b634e5deb..db087eea5300ec94ab2b6b8edb9701e79005a6a6 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_EdgeBuilder.cdl
--- Created:    Thu Apr 17 20:11:57 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_EdgeBuilder.cdl
+-- Created:   Thu Apr 17 20:11:57 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class EdgeBuilder from HLRBRep
 
index ae2ce2062744c084810479c780536c74d1a7183b..91318f5061958a97f9874bc474aff15a137c558b 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_EdgeBuilder.cxx
-// Created:    Thu Apr 17 21:45:17 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeBuilder.cxx
+// Created:   Thu Apr 17 21:45:17 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -465,4 +466,3 @@ void HLRBRep_EdgeBuilder::Destroy()
   right.Nullify();
   myLimits.Nullify();
 }
-
index 04b053ddf500cbd07562fc9e20ea18e4089beaa5..89a85dc4af8c9cc8fa31cc6dec90fd0d4470c01f 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_EdgeData.cdl
--- Created:    Thu Apr 17 11:34:54 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_EdgeData.cdl
+-- Created:   Thu Apr 17 11:34:54 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class EdgeData from HLRBRep
 
index fbc95298ce591d0ee29bbf07ba39330492c9b647..d9bfa115dcd5febf888be71d91b3eb35678e0b69 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_EdgeData.cxx
-// Created:    Thu Apr 17 11:44:47 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeData.cxx
+// Created:   Thu Apr 17 11:44:47 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_EdgeData.ixx>
 #include <BRep_Tool.hxx>
@@ -77,4 +77,3 @@ void HLRBRep_EdgeData::UpdateMinMax (const Standard_Address TotMinMax)
   myMinMax[14] = ((Standard_Integer*)TotMinMax)[14];
   myMinMax[15] = ((Standard_Integer*)TotMinMax)[15];
 }
-
index bd11e568bc1531ab4a2fbff34ff8b94f06634986..ed5bb7e1d2d8fa4efd02e3d1e26ad6a60146d2cb 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_EdgeData.lxx
-// Created:    Thu Apr 17 11:42:44 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeData.lxx
+// Created:   Thu Apr 17 11:42:44 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMaskSelected ((Standard_Boolean)1)
 #define EMaskUsed     ((Standard_Boolean)2)
@@ -360,4 +360,3 @@ inline Standard_Address HLRBRep_EdgeData::Curve ()
 
 inline Standard_ShortReal HLRBRep_EdgeData::Tolerance () const
 { return myTolerance; }
-
index f996e021b4d5135b664520fe23dd7851cc0bdb23..d4be6bc65986ec9d400f59068a62372e4049af66 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_EdgeFaceTool.cdl
--- Created:    Mon Oct 18 19:19:43 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_EdgeFaceTool.cdl
+-- Created:   Mon Oct 18 19:19:43 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class EdgeFaceTool from HLRBRep
 
index c462526455362e17d43d6f7701016754637658b4..0e8bbc830cdf82534291137fe00e9f14120d7a1f 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_EdgeFaceTool.cxx
-// Created:    Mon Oct 18 19:31:35 1993
-// Author:     Christophe MARION
-//             <cma@nonox>
+// File:      HLRBRep_EdgeFaceTool.cxx
+// Created:   Mon Oct 18 19:31:35 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_EdgeFaceTool.ixx>
 #include <HLRBRep_Curve.hxx>
 //purpose  : 
 //=======================================================================
 
-Standard_Real  HLRBRep_EdgeFaceTool::CurvatureValue
-const Standard_Address F,
- const Standard_Real U,
- const Standard_Real V,
- const gp_Dir& Tg)
+Standard_Real HLRBRep_EdgeFaceTool::CurvatureValue
+ (const Standard_Address F,
 const Standard_Real U,
 const Standard_Real V,
 const gp_Dir& Tg)
 {
   gp_Pnt P;
   gp_Vec D1U,D1V,D2U,D2V,D2UV;
@@ -45,8 +45,7 @@ Standard_Real  HLRBRep_EdgeFaceTool::CurvatureValue
     Standard_Real D = nmu2    *alfa2  + 2*d1ud1v   *alfabeta + nmv2    *beta2;
     return N/D;
   }
-  else
-    return 0;
+  return 0.;
 }
 
 //=======================================================================
@@ -54,36 +53,34 @@ Standard_Real  HLRBRep_EdgeFaceTool::CurvatureValue
 //purpose  : 
 //=======================================================================
 
-Standard_Boolean  HLRBRep_EdgeFaceTool::UVPoint(const Standard_Real Par,
-                                               const Standard_Address E,
-                                               const Standard_Address F,
-                                               Standard_Real& U,
-                                               Standard_Real& V)
+Standard_Boolean HLRBRep_EdgeFaceTool::UVPoint(const Standard_Real Par,
+                                               const Standard_Address E,
+                                               const Standard_Address F,
+                                               Standard_Real& U,
+                                               Standard_Real& V)
 {
   Standard_Real pfbid,plbid;
-  Standard_Boolean done = Standard_True;
   if (BRep_Tool::CurveOnSurface
       (((HLRBRep_Curve  *)E)->Curve().Edge(),
-       ((HLRBRep_Surface*)F)->Surface().Face(),pfbid,plbid).IsNull()) {
+       ((HLRBRep_Surface*)F)->Surface().Face(),pfbid,plbid).IsNull())
+  {
     BRepExtrema_ExtPF proj
       (BRepLib_MakeVertex(((HLRBRep_Curve*)E)->Value3D(Par)),
        ((HLRBRep_Surface*)F)->Surface().Face());
-    Standard_Integer index = 0;
+    Standard_Integer i, index = 0;
     Standard_Real dist2 = RealLast();
-    Standard_Real newdist2;
-    Standard_Integer n = proj.NbExt();
-
-    for (Standard_Integer i = 1; i <= n; i++) {
-      newdist2 = proj.SquareDistance(i);
+    const Standard_Integer n = proj.NbExt();
+    for (i = 1; i <= n; i++) {
+      const Standard_Real newdist2 = proj.SquareDistance(i);
       if (newdist2 < dist2) {
-       dist2 = newdist2;
-       index = i;
+        dist2 = newdist2;
+        index = i;
       }
     }
-    if (index != 0)
-      proj.Parameter(index,U,V);
-    else
-      done = Standard_False;
+    if (index == 0)
+      return Standard_False;
+
+    proj.Parameter(index,U,V);
   }
   else {
     BRepAdaptor_Curve2d PC
@@ -94,6 +91,5 @@ Standard_Boolean  HLRBRep_EdgeFaceTool::UVPoint(const Standard_Real Par,
     U = P2d.X();
     V = P2d.Y();
   }
-  return done;
+  return Standard_True;
 }
-
index 9df6f60774de35c3227fdbf7dd73a43f1db46927..18d5f2020c13e0e3084dabe6a1998c5748a5783e 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_EdgeIList.cdl
--- Created:    Thu Apr 17 19:56:30 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_EdgeIList.cdl
+-- Created:   Thu Apr 17 19:56:30 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class EdgeIList from HLRBRep
 
index c4a394dcfc633e5f4afe1711f29feb32bb8f406d..40cc904c678591f6db5dbcb37e8b7ce97635c97e 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_EdgeIList.cxx
-// Created:    Thu Apr 17 21:26:59 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeIList.cxx
+// Created:   Thu Apr 17 21:26:59 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -157,4 +158,3 @@ ProcessComplex(HLRAlgo_InterferenceList& IL,
 */
 
 }
-
index 93e2b433f6eee7ddd39f8c20eddbe5a73ff98180..469dda95ec1c2a3c907dad602c5c5aef8fe9b53b 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_EdgeInterferenceTool.cdl
--- Created:    Thu Apr 17 19:45:19 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_EdgeInterferenceTool.cdl
+-- Created:   Thu Apr 17 19:45:19 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class EdgeInterferenceTool from HLRBRep
 
index 2d3cd9d43cdc82503eae7d255bf97996cc22575b..9757649710d5186afe4ab62c4a5d9782f9629216 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_EdgeInterferenceTool.cxx
-// Created:    Thu Apr 17 21:22:03 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeInterferenceTool.cxx
+// Created:   Thu Apr 17 21:22:03 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -102,4 +103,3 @@ void HLRBRep_EdgeInterferenceTool::InterferenceBoundaryGeometry
   Tang.SetCoord(TgFE.X(),TgFE.Y(),0);
   Norm.SetCoord(NmFE.X(),NmFE.Y(),0);
 }
-
index 889c75db3d65c83fe49ed338323245c9a704534d..0cd715794c48c782a5a358f53880bf5512c2cba8 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_EdgeInterferenceTool.lxx
-// Created:    Thu Apr 17 21:17:06 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_EdgeInterferenceTool.lxx
+// Created:   Thu Apr 17 21:17:06 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_Interference.hxx>
 
@@ -80,4 +80,3 @@ inline Standard_Real
 HLRBRep_EdgeInterferenceTool::ParameterOfInterference
   (const HLRAlgo_Interference& I) const
 { return I.Intersection().Parameter(); }
-
index 87951e4582c8b80e0a1a403aae41dfbca2da3a3e..1d456c49bee2a1405463131609a9c6503c1e48dd 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_FaceData.cdl
--- Created:    Thu Apr 17 11:55:00 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_FaceData.cdl
+-- Created:   Thu Apr 17 11:55:00 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class FaceData from HLRBRep
 
index be021e8b38e42eb8d7e0aa98bf1f65a65dd40b37..498b304acfc0b835265ee808b057da20eb09907d 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_FaceData.cxx
-// Created:    Thu Apr 17 12:02:21 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_FaceData.cxx
+// Created:   Thu Apr 17 12:02:21 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_FaceData.ixx>
 #include <HLRAlgo_EdgesBlock.hxx>
@@ -65,4 +65,3 @@ void HLRBRep_FaceData::SetWEdge (const Standard_Integer WI,
   Wires()->Wire(WI)->Double     (EWI,Dble);
   Wires()->Wire(WI)->IsoLine    (EWI,IsoL);
 }
-
index 61470666a53de9893ac7ea6f506b063ad175450a..888ca765f45b4d64b3965c0395470badba219eb6 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_FaceData.lxx
-// Created:    Thu Apr 17 12:00:16 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_FaceData.lxx
+// Created:   Thu Apr 17 12:00:16 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define EMaskOrient   ((Standard_Boolean)15)
 #define FMaskSelected ((Standard_Boolean)16)
@@ -323,4 +323,3 @@ inline HLRBRep_Surface& HLRBRep_FaceData::Geometry()
 
 inline Standard_ShortReal HLRBRep_FaceData::Tolerance () const
 { return myTolerance; }
-
index 7fa0ccfccc2b3068242cbe0af701a9bbc677aaa4..72513c7e56c881d3fa01b2b047852ded6cccdb82 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_FaceIterator.cdl
--- Created:    Thu Apr 17 15:55:18 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_FaceIterator.cdl
+-- Created:   Thu Apr 17 15:55:18 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class FaceIterator from HLRBRep
 
index 55fa121b23074d5ac30a3f72e1d349d938569140..a772a56b0934fe1fb3130616af18159a5d5896cd 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_FaceIterator.cxx
-// Created:    Thu Apr 17 16:00:19 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_FaceIterator.cxx
+// Created:   Thu Apr 17 16:00:19 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -48,4 +49,3 @@ void HLRBRep_FaceIterator::NextEdge()
     }
   }
 }
-
index 0856a386b5ec8f360ed68585a0c946c53d8adf09..97e289be09172d70c02693a6e4d6a6a73615dcbd 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_FaceIterator.lxx
-// Created:    Thu Apr 17 16:03:06 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_FaceIterator.lxx
+// Created:   Thu Apr 17 16:03:06 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_WiresBlock.hxx>
 #include <HLRAlgo_EdgesBlock.hxx>
@@ -96,4 +96,3 @@ inline Standard_Boolean HLRBRep_FaceIterator::Double() const
 
 inline Standard_Boolean HLRBRep_FaceIterator::IsoLine() const
 { return myEdges->IsoLine(iEdge); }
-
index 7cf9a63fa5f1a388776fc64ee57d89f4af0c57f9..c005e940f99e663b0a82a47fce9e901f1f08cd7c 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_HLRToShape.cdl
--- Created:    Mon Oct 11 16:45:31 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_HLRToShape.cdl
+-- Created:   Mon Oct 11 16:45:31 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class HLRToShape from HLRBRep
        ---Purpose: A framework for filtering the computation
index e642931c51d0fe5b439b823d5c04aff45841d299..553f0912af5db01c563c489b5c76b50ad0245d2e 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_HLRToShape.cxx
-// Created:    Mon Oct 11 16:55:56 1993
-// Author:     Christophe MARION
-//             <cma@nonox>
+// File:      HLRBRep_HLRToShape.cxx
+// Created:   Mon Oct 11 16:55:56 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_HLRToShape.ixx>
 #include <TopoDS.hxx>
@@ -212,4 +212,3 @@ HLRBRep_HLRToShape::DrawEdge (const Standard_Boolean visible,
     }
   }
 }
-
index a7b806e0ef83576054b0996bd37aaab16c54753e..ba8dc4cceb79022f43a754324aabe32c32bda0e4 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_HLRToShape.lxx
-// Created:    Tue Nov  2 15:55:51 1993
-// Author:     Christophe MARION
-//             <cma@nonox>
+// File:      HLRBRep_HLRToShape.lxx
+// Created:   Tue Nov  2 15:55:51 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TopoDS_Shape.hxx>
 
@@ -174,4 +174,3 @@ inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
 inline TopoDS_Shape
 HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
 { return InternalCompound(1,Standard_False,S); }
-
index 2d603753dcdd755b91ef78e648a37b00f070ff5b..3ec0a6485aa272932898feb13b31aef43afb8e92 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_Hider.cdl
--- Created:    Thu Apr 17 19:43:52 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_Hider.cdl
+-- Created:   Thu Apr 17 19:43:52 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class Hider from HLRBRep
 
index 3ab2e04d0d067f32798681b76e80e5ea0543b516..d4f496c95393aac0b791fc0de08e142b2f417753 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Hider.cxx
-// Created:    Thu Apr 17 19:33:55 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_Hider.cxx
+// Created:   Thu Apr 17 19:33:55 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #define No_Standard_OutOfRange
 
@@ -94,18 +94,9 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
   HLRBRep_EdgeInterferenceTool EIT(myDS); // List of Intersections
   HLRBRep_Array1OfEData& myEData = myDS->EDataArray();
 
-#ifdef DEB
-  Standard_Integer EToBeChecked = -1;
-#endif
   for (; myDS->MoreEdge(); myDS->NextEdge()) {       // loop on the Edges
     Standard_Integer E = myDS->Edge();               // *****************
 
-#ifdef DEB
-    if(E == EToBeChecked) {
-      cout << E << endl;
-    }
-#endif
-
     try {
       OCC_CATCH_SIGNALS
       Standard_Boolean hasOut = Standard_False;
@@ -589,4 +580,3 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
     }
   }
 }
-
index 8be8bc6adf0d0efdd0708692c71f83e70e6fd9ae..20d2e315facc4ce75a7e30ec9d36c63e4e0e0b13 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_InternalAlgo.cdl
--- Created:    Thu Apr 17 20:45:25 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_InternalAlgo.cdl
+-- Created:   Thu Apr 17 20:45:25 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class InternalAlgo from HLRBRep inherits TShared from MMgt
 
index 3390cc30f1283daa9134b2865fc310b889db00bc..8974b872cda5fa157762c777d0b9b06074891324 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_InternalAlgo.cxx
-// Created:    Thu Apr 17 21:49:17 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_InternalAlgo.cxx
+// Created:   Thu Apr 17 21:49:17 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <Standard_Stream.hxx>
 #include <HLRBRep_InternalAlgo.ixx>
@@ -109,13 +109,8 @@ void HLRBRep_InternalAlgo::Update ()
   if (!myShapes.IsEmpty()) {
     Standard_Integer n = myShapes.Length();
     Handle(HLRBRep_Data) *DS = new Handle(HLRBRep_Data) [n];
-#ifndef DEB
-    static
-#endif
-      Standard_Integer i,dv,de,df,nv,ne,nf;
-    nv = 0;
-    ne = 0;
-    nf = 0;
+
+    Standard_Integer i,dv,de,df,nv=0,ne=0,nf=0;
 
     for (i = 1; i <= n; i++) {
       HLRBRep_ShapeBounds& SB = myShapes(i);
@@ -974,4 +969,3 @@ Standard_Boolean HLRBRep_InternalAlgo::Debug () const
 
 Handle(HLRBRep_Data) HLRBRep_InternalAlgo::DataStructure () const
 { return myDS; }
-
index 7c456d5040a4f8c97536164544b17dd97cf35112..e3d9f5afdc49ad790f99a2dc18e1cd8f44fcda3a 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       Intersector.cdl
--- Created:    Wed Aug 26 18:11:37 1992
--- Author:     Christophe MARION
---             <cma@sdsun2>
----Copyright:   Matra Datavision 1992
+-- File:      HLRBRep_Intersector.cdl
+-- Created:   Wed Aug 26 18:11:37 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class Intersector from HLRBRep
 
index 6760f613a463d596f190185d5c56911c13b29201..0a067faae0ec4979d84f3d72ad3d209cecc5ab99 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_Intersector.gxx
-// Created:    Thu Oct 22 11:37:24 1992
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRBRep_Intersector.gxx
+// Created:   Thu Oct 22 11:37:24 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
index 829ba485f10c956256797052811a1fe4270f58c8..4896a022c1e6338cdf285832d1dfc6735c074f55 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_LineTool.cdl
--- Created:    Wed Aug 18 14:58:10 1993
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_LineTool.cdl
+-- Created:   Wed Aug 18 14:58:10 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class LineTool from HLRBRep
 
index 353d2c5f78f95b5c46a0e05c8ab117368c9cf682..b5527614fb16ba098e24056e7a6378be59cbbddd 100755 (executable)
@@ -1,8 +1,6 @@
-// File:       HLRBRep_LineTool.cxx
-// Created:    Mon Dec 20 16:43:17 1993
-// Author:     Jean Yves LEBEY
-//             <jyl@phobox>
-
+// File:      HLRBRep_LineTool.cxx
+// Created:   Mon Dec 20 16:43:17 1993
+// Author:    Jean Yves LEBEY
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_LineTool.ixx>
-
index 5a6143cef510496097b78e2cde14b2b7313f7240..f2a4ffb4f937f00908fb3f46256f3c25bcb19ba0 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_LineTool.lxx
-// Created:    Wed Aug 18 15:06:22 1993
-// Author:     Christophe MARION
-//             <cma@sdsun1>
+// File:      HLRBRep_LineTool.lxx
+// Created:   Wed Aug 18 15:06:22 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <gp_Pnt.hxx>
 #include <gp_Vec.hxx>
index 7c4bd80b726e50df27d82eb32f4c991253afa129..0a0970005782b0fec3b4c78ce4a51caade68c384 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       PolyAlgo.cdl
--- Created:    Tue Feb 18 10:36:07 1992
--- Author:     Christophe MARION
---             <cma@sdsun1>
----Copyright:   Matra Datavision 1992
+-- File:      HLRBRep_PolyAlgo.cdl
+-- Created:   Tue Feb 18 10:36:07 1992
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1992
 
 class PolyAlgo from HLRBRep inherits TShared from MMgt
 
index ed716899a67e4fe68029b38b0b67572738ce4f95..efaeedb27ae916653da8b2a4ba136137c0e92985 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_PolyAlgo.cxx
-// Created:    Fri May  5 15:58:19 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRBRep_PolyAlgo.cxx
+// Created:   Fri May  5 15:58:19 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 // Modified by cma, Tue Apr  1 11:39:48 1997
 // Modified by cma, Tue Apr  1 11:40:30 1997
 
@@ -2629,7 +2630,6 @@ HLRBRep_PolyAlgo::CheckFrBackTriangles (HLRAlgo_ListOfBPoint& List,
   Standard_Real dd,dX,dY,nX,nY;
   Standard_Boolean FrBackInList;
   Standard_Address TData ,PISeg ,PINod ;
-#ifndef DEB
 /*  Standard_Address IndexPtr = NULL; 
   const Handle(HLRAlgo_PolyInternalData)& pid1 =
     *(Handle(HLRAlgo_PolyInternalData)*)&(PID(F1Index));
@@ -2644,10 +2644,6 @@ HLRBRep_PolyAlgo::CheckFrBackTriangles (HLRAlgo_ListOfBPoint& List,
   PINod2 = &pid2->PISeg();*/
   Standard_Address TData1 = NULL,PISeg1 = NULL,PINod1 = NULL;
   Standard_Address TData2 = NULL,PISeg2 = NULL,PINod2 = NULL;
-#else
-  Standard_Address TData1,PISeg1,PINod1;
-  Standard_Address TData2,PISeg2,PINod2;
-#endif
   Standard_Address Nod11Indices,Nod12Indices,Nod13Indices;
   Standard_Address Nod11RValues,Nod12RValues,Nod13RValues;
   Standard_Address Tri1Indices;
index f398a70bbeb8e25c8237ff314783947b82845321..bd30eefa9b8045fa060b9b54b174cc93b79ebba4 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_PolyAlgo.lxx
-// Created:    Thu Jun 15 16:17:43 1995
-// Author:     Christophe MARION
-//             <cma@ecolox>
+// File:      HLRBRep_PolyAlgo.lxx
+// Created:   Thu Jun 15 16:17:43 1995
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRAlgo_PolyAlgo.hxx>
 
@@ -150,4 +150,3 @@ inline Standard_Boolean HLRBRep_PolyAlgo::Debug () const
 
 inline void HLRBRep_PolyAlgo::Debug (const Standard_Boolean B)
 { myDebug = B; }
-
index 1203df80740c91421794c955d7812a7b072da05c..986b6e90f0a1cfad77de65dc99860dcf40adfe79 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_PolyHLRToShape.cdl
--- Created:    Mon Oct 11 16:45:31 1993
--- Author:     Christophe MARION
---             <cma@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_PolyHLRToShape.cdl
+-- Created:   Mon Oct 11 16:45:31 1993
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1993
 
 class PolyHLRToShape from HLRBRep
 
index f831f765a815c3e952446f982f991fa31994553f..e3391017e544f74f2922bec84c01a04d8957091c 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_PolyHLRToShape.cxx
-// Created:    Mon Oct 11 16:55:56 1993
-// Author:     Christophe MARION
-//             <cma@nonox>
+// File:      HLRBRep_PolyHLRToShape.cxx
+// Created:   Mon Oct 11 16:55:56 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 // Modified by cma, Fri Nov 10 17:36:13 1995
 
 #include <HLRBRep_PolyHLRToShape.ixx>
@@ -172,4 +173,3 @@ HLRBRep_PolyHLRToShape::InternalCompound (const Standard_Integer typ,
   if (!added) Result = TopoDS_Shape();
   return Result;
 }
-
index 7b82e66461673863e69b879e6bebee6d4bf4b62d..0faa08492e4fa4802027c0b4104591fbe2681794 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_PolyHLRToShape.lxx
-// Created:    Tue Nov  2 15:55:51 1993
-// Author:     Christophe MARION
-//             <cma@nonox>
+// File:      HLRBRep_PolyHLRToShape.lxx
+// Created:   Tue Nov  2 15:55:51 1993
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <TopoDS_Shape.hxx>
 
@@ -156,4 +156,3 @@ inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineHCompound()
 inline TopoDS_Shape
 HLRBRep_PolyHLRToShape::OutLineHCompound(const TopoDS_Shape& S)
 { return InternalCompound(1,Standard_False,S); }
-
index 7a59d4015e0bd4ab093d59ce2686eae7f9709462..a5c364678690dd56d5144b7d0f94667b4923afb6 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_SLPropsATool.cdl
--- Created:    Fri Apr 23 13:56:45 1993
--- Author:     Modelistation
---             <model@phylox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_SLPropsATool.cdl
+-- Created:   Fri Apr 23 13:56:45 1993
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1993
 
 class SLPropsATool from HLRBRep
 
index 0333cf7c7e874e470d19d5459ec19b097e37920b..6f8e347db7f91721a842cbf729a17b26da0e00d6 100755 (executable)
@@ -1,6 +1,6 @@
-// File:       HLRBRep_SLPropsATool.cxx
-// Created:    Tue Aug 18 15:16:03 1992
-// Author:     Herve LEGRAND
-//             <hl@bravox>
+// File:      HLRBRep_SLPropsATool.cxx
+// Created:   Tue Aug 18 15:16:03 1992
+// Author:    Herve LEGRAND
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_SLPropsATool.ixx>
index 7ffd01b2047a19e524170a7820d6ede060f2f06d..a5c54579e4400650b7d7688ec3caa90acb296c5e 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_SLPropsATool.lxx
-// Created:    Tue Aug 18 15:16:03 1992
-// Author:     Herve LEGRAND
-//             <hl@bravox>
+// File:      HLRBRep_SLPropsATool.lxx
+// Created:   Tue Aug 18 15:16:03 1992
+// Author:    Herve LEGRAND
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_Surface.hxx>
 #include <GeomAbs_Shape.hxx>
@@ -87,4 +87,3 @@ inline void  HLRBRep_SLPropsATool::Bounds
   U1 = V1 = RealFirst();
   U2 = V2 = RealLast();
 }
-
index e525a46f9e92fa93dfeb9ff5df13165df8518ece..d56b42e87a5586f294faf9512b29e40324d65fbf 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_ShapeBounds.cdl
--- Created:    Thu Apr 17 17:51:44 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_ShapeBounds.cdl
+-- Created:   Thu Apr 17 17:51:44 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class ShapeBounds from HLRBRep
     ---Purpose: Contains  a Shape and the  bounds of its vertices,
@@ -83,4 +82,3 @@ fields
     myMinMax    : Integer  from Standard[16];
 
 end ShapeBounds from HLRBRep;
-
index 3097292bb710f98c7f984450e1b092b83612ce00..70a6878c754e0dc4d002877133933e30cfb4c9e6 100755 (executable)
@@ -1,8 +1,7 @@
-// File:       HLRBRep_ShapeBounds.cxx
-// Created:    Thu Apr 17 18:35:42 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
-
+// File:      HLRBRep_ShapeBounds.cxx
+// Created:   Thu Apr 17 18:35:42 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_ShapeBounds.ixx>
 
@@ -111,4 +110,3 @@ void HLRBRep_ShapeBounds::UpdateMinMax (const Standard_Address TotMinMax)
   for (Standard_Integer i = 0; i <= 15; i++)
     myMinMax[i] = ((Standard_Integer*)TotMinMax)[i];
 }
-
index 55b4b2d85e3f99e6bc183e023a7df247ae2ecd0f..eb37de7b95ee519ec0270211b10eae6b0aa68e0a 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_ShapeBounds.lxx
-// Created:    Thu Apr 17 18:34:31 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_ShapeBounds.lxx
+// Created:   Thu Apr 17 18:34:31 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 //=======================================================================
 //function : HLRBRep_ShapeBounds
@@ -69,4 +69,3 @@ inline Standard_Integer HLRBRep_ShapeBounds::NbOfIso () const
 
 inline Standard_Address HLRBRep_ShapeBounds::MinMax () const
 { return (Standard_Address)&myMinMax; }
-
index c74fe9923ee257771183dfe4b8283293b4d5e05b..62ac49c867f7f7273a2773211149fb1abf0133f3 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_ShapeToHLR.cdl
--- Created:    Tue May  4 16:52:14 1993
--- Author:     Modelistation
---             <model@phylox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_ShapeToHLR.cdl
+-- Created:   Tue May  4 16:52:14 1993
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1993
 
 class ShapeToHLR from HLRBRep
 
index 3df7e91abebdff36eeb9178cfef225b291e90537..ef376f80640acb2e05c09709956aecc2c47ab9d5 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_ShapeToHLR.cxx
-// Created:    Thu Aug 27 12:33:14 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_ShapeToHLR.cxx
+// Created:   Thu Aug 27 12:33:14 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 // #define No_Exception
 #endif
@@ -86,10 +87,6 @@ HLRBRep_ShapeToHLR::Load(const Handle(HLRTopoBRep_OutLiner)& S,
 
   // Create the data structure
   Handle(HLRBRep_Data) DS = new HLRBRep_Data (nbVert, nbEdge, nbFace);
-#ifdef DEB
-  HLRBRep_Array1OfEData& ED = 
-#endif
-    DS->EDataArray ();
   HLRBRep_EdgeData* ed; 
   if(nbEdge != 0) ed = &(DS->EDataArray().ChangeValue(1));
 //  ed++;
@@ -281,4 +278,3 @@ HLRBRep_ShapeToHLR::ExploreShape (const Handle(HLRTopoBRep_OutLiner)& S,
     }
   }
 }
-
index 9a8a92e3f590a9332198941bfd794ab4ee1af1d0..81240bda60fa7050aabd38f05007b6529ba160e2 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_Surface.cdl
--- Created:    Wed Apr 14 19:48:14 1993
--- Author:     Modelistation
---             <model@phylox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_Surface.cdl
+-- Created:   Wed Apr 14 19:48:14 1993
+-- Author:    Modelistation
+---Copyright: Matra Datavision 1993
 
 class Surface from HLRBRep
 
index 706a47a4b7b6d72ac9b9d22d0ac53bcbe2e57889..bc4eb0c62c982a73fe4dd0d85355329379199e11 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Surface.cxx
-// Created:    Fri Mar 13 11:08:32 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_Surface.cxx
+// Created:   Fri Mar 13 11:08:32 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_Surface.ixx>
 #include <HLRBRep_BSurfaceTool.hxx>
@@ -273,4 +273,3 @@ gp_Pln  HLRBRep_Surface::Plane () const
     return HLRBRep_BSurfaceTool::Plane(mySurf);
   }
 }
-
index f8af1d6a4db86205724821b1fe653ee615dfadf1..6e340ab1f9802e552f0d229ad588e6e2a63c9fe9 100755 (executable)
@@ -1,7 +1,7 @@
-// File:       HLRBRep_Surface.lxx
-// Created:    Fri Mar 13 11:08:32 1992
-// Author:     Christophe MARION
-//             <cma@sdsun2>
+// File:      HLRBRep_Surface.lxx
+// Created:   Fri Mar 13 11:08:32 1992
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
 
 #include <BRepAdaptor_Surface.hxx>
 #include <HLRBRep_BSurfaceTool.hxx>
@@ -302,4 +302,3 @@ inline Standard_Integer  HLRBRep_Surface::NbVKnots()const
 
 inline gp_Ax1  HLRBRep_Surface::Axis()const 
 { return HLRBRep_BSurfaceTool::AxeOfRevolution(mySurf); }
-
index 018ac4ef4fdb160e7dca8da8614522aa1eca5393..c825fefd063f3009103ea1251b5083cd878628db 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_SurfaceTool.cdl
--- Created:    Fri Jul  2 16:59:47 1993
--- Author:     Laurent BUCHARD
---             <lbr@nonox>
----Copyright:   Matra Datavision 1993
+-- File:      HLRBRep_SurfaceTool.cdl
+-- Created:   Fri Jul  2 16:59:47 1993
+-- Author:    Laurent BUCHARD
+---Copyright: Matra Datavision 1993
 
 class SurfaceTool from HLRBRep 
                                 
index 2d0b8c556d64a1ac96f409ba56375ef09db3e6d5..bff172b3f4f7abbcd5874d43103ffe657a216a70 100755 (executable)
@@ -1,8 +1,8 @@
-//-- File       : HLRBRep_SurfaceTool.gxx 
-//-- Created    : Wed Jui 7 18:00:00 1c93
-//-- Author     : Laurent BUCHARD
-//--              <lbr@nonox>
-//-- Copyright:         Matra Datavision 1993
+// File:      HLRBRep_SurfaceTool.cxx
+// Created:   Wed Jui 7 18:00:00 1c93
+// Author:    Laurent BUCHARD
+// Copyright: Matra Datavision 1993
+// Copyright: OPEN CASCADE 2000
 
 #include <HLRBRep_SurfaceTool.ixx>
 #include <BRepAdaptor_Surface.hxx>
@@ -124,4 +124,3 @@ Standard_Integer  HLRBRep_SurfaceTool::NbSamplesV(const Standard_Address S,
   }
   return(n);
 }
-
index af86986a2420af082540ff37d67deb10012bea47..1a10893ed9b3dcab68f07c5bbe84c98240be8f2f 100755 (executable)
@@ -1,8 +1,8 @@
-//-- File       : HLRBRep_SurfaceTool.lxx 
-//-- Created    : Wed Jui 7 18:00:00 1993
-//-- Author     : Laurent BUCHARD
-//--              <lbr@nonox>
-//-- Copyright:         Matra Datavision 1993
+// File:      HLRBRep_SurfaceTool.lxx
+// Created:   Wed Jui 7 18:00:00 1993
+// Author:    Laurent BUCHARD
+// Copyright: Matra Datavision 1993
+// Copyright: OPEN CASCADE 2000
 
 #include <gp_Pnt.hxx>
 #include <gp_Vec.hxx>
index 70afa0911d5d1efdbd512deb818ddbed86a53599..c2ae813efa871f42f39b76609b28144125ebdf91 100755 (executable)
@@ -1,8 +1,7 @@
--- File:       HLRBRep_VertexList.cdl
--- Created:    Thu Apr 17 20:04:00 1997
--- Author:     Christophe MARION
---             <cma@partox.paris1.matra-dtv.fr>
----Copyright:   Matra Datavision 1997
+-- File:      HLRBRep_VertexList.cdl
+-- Created:   Thu Apr 17 20:04:00 1997
+-- Author:    Christophe MARION
+---Copyright: Matra Datavision 1997
 
 class VertexList from HLRBRep
 
@@ -69,4 +68,3 @@ fields
     fromInterf   : Boolean                        from Standard;
 
 end VertexList;
-    
index 9205e192f657b8a49d4376d42b4dc4f92397b17a..430c4ecc463cc17c840e7edc1585dd0e8eddcb2b 100755 (executable)
@@ -1,7 +1,8 @@
-// File:       HLRBRep_VertexList.cxx
-// Created:    Thu Apr 17 21:25:08 1997
-// Author:     Christophe MARION
-//             <cma@partox.paris1.matra-dtv.fr>
+// File:      HLRBRep_VertexList.cxx
+// Created:   Thu Apr 17 21:25:08 1997
+// Author:    Christophe MARION
+// Copyright: OPEN CASCADE 2000
+
 #ifndef No_Exception
 #define No_Exception
 #endif
@@ -151,4 +152,3 @@ TopAbs_Orientation  HLRBRep_VertexList::BoundaryTransition() const
     Standard_DomainError::Raise("HLRBRep_VertexList::BoundaryTransition");
   return TopAbs_EXTERNAL; // only for WNT.
 }
-