[cgma-dev] r4792 - cgm/trunk/geom/OCC

tautges at mcs.anl.gov tautges at mcs.anl.gov
Mon May 2 20:16:35 CDT 2011


Author: tautges
Date: 2011-05-02 20:16:35 -0500 (Mon, 02 May 2011)
New Revision: 4792

Added:
   cgm/trunk/geom/OCC/occ_patches_6.3
Removed:
   cgm/trunk/geom/OCC/occ_patches
Log:
Moving occ_patches to occ_patches_6.3.




Deleted: cgm/trunk/geom/OCC/occ_patches
===================================================================
--- cgm/trunk/geom/OCC/occ_patches	2011-05-02 22:07:51 UTC (rev 4791)
+++ cgm/trunk/geom/OCC/occ_patches	2011-05-03 01:16:35 UTC (rev 4792)
@@ -1,94 +0,0 @@
---- OpenCASCADE6.3.0/ros/src/Extrema/Extrema_ExtPElS.cxx	2011-04-28 11:48:39.000000000 -0500
-+++ Extrema_ExtPElS.cxx	2011-04-29 10:16:43.000000000 -0500
-@@ -56,6 +56,7 @@
-   gp_Vec myZ = Pos.XDirection()^Pos.YDirection();
-   Standard_Real U1 = gp_Vec(Pos.XDirection()).AngleWithRef(OPp,myZ); //-PI<U1<PI
-   Standard_Real U2 = U1 + PI;
-+  if(U1 > -Tol && U1 < 0.) {U1 = 0.;}
-   if (U1 < 0.) { U1 += 2. * PI; }
- 
-   gp_Pnt Ps;
-@@ -157,7 +158,9 @@
-   B = MP.Angle(DirZ);
-   if (!Same) { U1 += PI; }
-   U2 = U1 + PI;
-+  if(U1 > -Tol && U1 < 0.) {U1 = 0.;}
-   if (U1 < 0.) { U1 += 2. * PI; }
-+  if (U2 - 2.*PI < Tol && U2 > 2.*PI) {U2 = 2. * PI; }
-   if (U2 > 2.*PI) { U2 -= 2. * PI; }
-   B = MP.Angle(DirZ);
-   A = Abs(A);
-@@ -247,6 +250,7 @@
-     gp_Vec myZ = Pos.XDirection()^Pos.YDirection();
-     U1 = gp_Vec(Pos.XDirection()).AngleWithRef(OPp,myZ);
-     U2 = U1 + PI;
-+    if(U1 > -Tol && U1 < 0.) {U1 = 0.;}
-     if (U1 < 0.) { U1 += 2. * PI; }
-     V = OP.Angle(OPp);
-     if (Zp < 0.) { V = -V; }
-@@ -311,6 +315,7 @@
-   gp_Vec myZ = Pos.XDirection()^Pos.YDirection();
-   Standard_Real U1 = gp_Vec(Pos.XDirection()).AngleWithRef(OPp,myZ);
-   Standard_Real U2 = U1 + PI;
-+  if(U1 > -Tol && U1 < 0.) {U1 = 0.;}
-   if (U1 < 0.) { U1 += 2. * PI; }
-   gp_Vec OO1 = OPp.Divided(R).Multiplied(S.MajorRadius());
-   gp_Vec OO2 = OO1.Multiplied(-1.);
-@@ -322,6 +327,8 @@
- 
-   Standard_Real V1 = OO1.AngleWithRef(gp_Vec(O1,P),OO1.Crossed(OZ));
-   Standard_Real V2 = OO2.AngleWithRef(gp_Vec(P,O2),OO2.Crossed(OZ));
-+  if(V1 > -Tol && V1 < 0.){ V1 = 0.;}
-+  if(V2 > -Tol && V2 < 0.){ V2 = 0.;}
-   if (V1 < 0.) { V1 += 2. * PI; }
-   if (V2 < 0.) { V2 += 2. * PI; }
- 
---- OpenCASCADE6.3.0/ros/src/Extrema/Extrema_ExtPS.cxx	2011-04-28 10:13:52.000000000 -0500


More information about the cgma-dev mailing list