1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0022623: Use of uninitialized variables in HLRBRep_Curve::UpdateMinMax in debug mode

This commit is contained in:
SZV
2011-10-12 06:22:36 +00:00
committed by bugmaster
parent 4714a7a650
commit 733a0e55f0
163 changed files with 966 additions and 1367 deletions

View File

@@ -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

View File

@@ -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;
}

View File

@@ -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

View File

@@ -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();
}
}

View File

@@ -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;

View File

@@ -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();
}

View File

@@ -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

View File

@@ -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()); }

View File

@@ -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()); }

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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()); }

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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;
}

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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>

View File

@@ -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(); }

View File

@@ -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

View File

@@ -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);
}
}

View File

@@ -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);
}

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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); }

View File

@@ -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

View File

@@ -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;
}

View File

@@ -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; }

View File

@@ -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

View File

@@ -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();
}

View File

@@ -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

View File

@@ -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];
}

View File

@@ -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; }

View File

@@ -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

View File

@@ -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>
@@ -18,11 +18,11 @@
//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;
}

View File

@@ -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

View File

@@ -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,
*/
}

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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(); }

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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; }

View File

@@ -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

View File

@@ -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()
}
}
}

View File

@@ -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); }

View File

@@ -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

View File

@@ -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,
}
}
}

View File

@@ -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); }

View File

@@ -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

View File

@@ -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,
}
}
}

View File

@@ -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

View File

@@ -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; }

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -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;

View File

@@ -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; }

View File

@@ -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

View File

@@ -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;
}

View File

@@ -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); }

View File

@@ -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

View File

@@ -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>

View File

@@ -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();
}

View File

@@ -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;

View File

@@ -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];
}

View File

@@ -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; }

View File

@@ -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

View File

@@ -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,
}
}
}

View File

@@ -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

View File

@@ -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);
}
}

View File

@@ -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); }

View File

@@ -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

View File

@@ -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);
}

View File

@@ -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>

View File

@@ -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;

View File

@@ -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.
}