mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
Removed duplicating semicolons ;;. Removed redundant semicolon at namespace closure.
This commit is contained in:
parent
caee80f39f
commit
8c2d331426
src
AIS
AIS_Circle.cxxAIS_FixRelation.cxxAIS_GraphicTool.cxxAIS_IdenticRelation.cxxAIS_Manipulator.hxxAIS_OffsetDimension.cxx
Adaptor2d
Adaptor3d
AppBlend
AppCont
AppParCurves
Approx
BOPTools
BRepAlgo
BRepAlgoAPI
BRepBlend
BRepBndLib
BRepFeat
BRepFill
BRepLib
BRepMesh
BRepOffset
BRepTest
BiTgte
BinTools
Bisector
Blend
BlendFunc
BlendFunc_CSCircular.cxxBlendFunc_CSConstRad.cxxBlendFunc_ConstThroatInv.cxxBlendFunc_ConstThroatWithPenetrationInv.cxx
CDM
ChFi3d
DDataStd
Draw
Expr
FilletSurf
Font
GccAna
Geom2dGcc
GeomFill
GeomPlate
GeomToIGES
IGESAppli
IGESData
IGESDraw
IGESGeom
IGESGraph
IGESSolid
IntCurveSurface
IntPatch
IntPolyh
IntWalk
LocOpe
OSD
PLib
QABugs
STEPConstruct
SWDRAW
ShapeCustom
ShapeFix
ShapeUpgrade
StepVisual
TDF
TPrsStd
TopOpeBRep
TopOpeBRepBuild
TopOpeBRepDS
TopOpeBRepTool
Units
XCAFDimTolObjects
XCAFDoc
XSControl
math
@ -197,7 +197,7 @@ void AIS_Circle::UnsetColor()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Quantity_Color CC = Quantity_NOC_YELLOW;;
|
Quantity_Color CC = Quantity_NOC_YELLOW;
|
||||||
if( HasColor() ) CC = myDrawer->Color();
|
if( HasColor() ) CC = myDrawer->Color();
|
||||||
else if (myDrawer->HasLink()) AIS_GraphicTool::GetLineColor(myDrawer->Link(),AIS_TOA_Line,CC);
|
else if (myDrawer->HasLink()) AIS_GraphicTool::GetLineColor(myDrawer->Link(),AIS_TOA_Line,CC);
|
||||||
myDrawer->LineAspect()->SetColor(CC);
|
myDrawer->LineAspect()->SetColor(CC);
|
||||||
|
@ -300,7 +300,7 @@ void AIS_FixRelation::ComputeVertex(const TopoDS_Vertex& /*FixVertex*/,
|
|||||||
gp_Pln pln(myPlane->Pln());
|
gp_Pln pln(myPlane->Pln());
|
||||||
gp_Dir dir(pln.XAxis().Direction());
|
gp_Dir dir(pln.XAxis().Direction());
|
||||||
gp_Vec transvec = gp_Vec(dir)*myArrowSize;
|
gp_Vec transvec = gp_Vec(dir)*myArrowSize;
|
||||||
curpos = myPntAttach.Translated(transvec);;
|
curpos = myPntAttach.Translated(transvec);
|
||||||
myPosition = curpos;
|
myPosition = curpos;
|
||||||
myAutomaticPosition = Standard_True;
|
myAutomaticPosition = Standard_True;
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ Aspect_TypeOfLine AIS_GraphicTool::GetLineType (const Handle(Prs3d_Drawer)& Dr,
|
|||||||
const AIS_TypeOfAttribute Att)
|
const AIS_TypeOfAttribute Att)
|
||||||
{
|
{
|
||||||
Handle(Prs3d_LineAspect) LA = GetLineAspect(Dr,Att);
|
Handle(Prs3d_LineAspect) LA = GetLineAspect(Dr,Att);
|
||||||
return LA->Aspect()->Type();;
|
return LA->Aspect()->Type();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -560,7 +560,7 @@ void AIS_IdenticRelation::ComputeTwoLinesPresentation(const Handle(Prs3d_Present
|
|||||||
gp_Pln pln(myPlane->Pln());
|
gp_Pln pln(myPlane->Pln());
|
||||||
gp_Dir dir(pln.XAxis().Direction());
|
gp_Dir dir(pln.XAxis().Direction());
|
||||||
gp_Vec transvec = gp_Vec(dir)*myArrowSize;
|
gp_Vec transvec = gp_Vec(dir)*myArrowSize;
|
||||||
curpos = myFAttach.Translated(transvec);;
|
curpos = myFAttach.Translated(transvec);
|
||||||
myPosition = curpos;
|
myPosition = curpos;
|
||||||
myAutomaticPosition = Standard_True;
|
myAutomaticPosition = Standard_True;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,8 @@
|
|||||||
#include <V3d_View.hxx>
|
#include <V3d_View.hxx>
|
||||||
#include <Standard_Version.hxx>
|
#include <Standard_Version.hxx>
|
||||||
#include <Standard_DefineHandle.hxx>
|
#include <Standard_DefineHandle.hxx>
|
||||||
NCOLLECTION_HSEQUENCE(AIS_ManipulatorObjectSequence, Handle(AIS_InteractiveObject));
|
|
||||||
|
NCOLLECTION_HSEQUENCE(AIS_ManipulatorObjectSequence, Handle(AIS_InteractiveObject))
|
||||||
|
|
||||||
DEFINE_STANDARD_HANDLE (AIS_Manipulator, AIS_InteractiveObject)
|
DEFINE_STANDARD_HANDLE (AIS_Manipulator, AIS_InteractiveObject)
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ void AIS_OffsetDimension::ComputeSelection(const Handle(SelectMgr_Selection)& aS
|
|||||||
gp_Pnt myTSAttach = mySAttach.Transformed (myRelativePos);
|
gp_Pnt myTSAttach = mySAttach.Transformed (myRelativePos);
|
||||||
gp_Dir myTDirAttach = myDirAttach.Transformed (myRelativePos);
|
gp_Dir myTDirAttach = myDirAttach.Transformed (myRelativePos);
|
||||||
gp_Dir myTDirAttach2 = myDirAttach2.Transformed (myRelativePos);
|
gp_Dir myTDirAttach2 = myDirAttach2.Transformed (myRelativePos);
|
||||||
gp_Pnt Tcurpos = myPosition.Transformed (myRelativePos);;
|
gp_Pnt Tcurpos = myPosition.Transformed (myRelativePos);
|
||||||
|
|
||||||
gp_Lin L1 (myTFAttach,myTDirAttach);
|
gp_Lin L1 (myTFAttach,myTDirAttach);
|
||||||
gp_Lin L2 (myTSAttach,myTDirAttach2);
|
gp_Lin L2 (myTSAttach,myTDirAttach2);
|
||||||
|
@ -530,7 +530,7 @@ gp_Circ2d Adaptor2d_OffsetCurve::Circle() const
|
|||||||
gp_Elips2d Adaptor2d_OffsetCurve::Ellipse() const
|
gp_Elips2d Adaptor2d_OffsetCurve::Ellipse() const
|
||||||
{
|
{
|
||||||
if (myCurve->GetType() == GeomAbs_Ellipse && myOffset == 0.) {
|
if (myCurve->GetType() == GeomAbs_Ellipse && myOffset == 0.) {
|
||||||
return myCurve->Ellipse();;
|
return myCurve->Ellipse();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw Standard_NoSuchObject("Adaptor2d_OffsetCurve:Ellipse");
|
throw Standard_NoSuchObject("Adaptor2d_OffsetCurve:Ellipse");
|
||||||
|
@ -540,7 +540,7 @@ Standard_Boolean Adaptor3d_TopolTool::IsThePointOn(const gp_Pnt2d& P,
|
|||||||
if (surumin || survmin || surumax || survmax) {
|
if (surumin || survmin || surumax || survmax) {
|
||||||
return(Standard_True);
|
return(Standard_True);
|
||||||
}
|
}
|
||||||
return(Standard_False);;
|
return Standard_False;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -374,7 +374,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
|
|||||||
Standard_Real Uf = F.Parameter(Lin->Point(1));
|
Standard_Real Uf = F.Parameter(Lin->Point(1));
|
||||||
Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
|
Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
|
||||||
for (i=2; i<NbPoint; i++) {
|
for (i=2; i<NbPoint; i++) {
|
||||||
theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;;
|
theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;
|
||||||
}
|
}
|
||||||
AppDef_Compute theAppDef(theParams,dmin,dmax,tol3d,tol2d,nbit,
|
AppDef_Compute theAppDef(theParams,dmin,dmax,tol3d,tol2d,nbit,
|
||||||
Standard_True, Standard_True);
|
Standard_True, Standard_True);
|
||||||
@ -426,7 +426,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
|
|||||||
Standard_Real Uf = F.Parameter(Lin->Point(1));
|
Standard_Real Uf = F.Parameter(Lin->Point(1));
|
||||||
Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
|
Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
|
||||||
for (i=2; i<NbPoint; i++) {
|
for (i=2; i<NbPoint; i++) {
|
||||||
theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;;
|
theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;
|
||||||
}
|
}
|
||||||
|
|
||||||
theapprox.Init(dmin,dmax,tol3d,tol2d,nbit,Standard_True,
|
theapprox.Init(dmin,dmax,tol3d,tol2d,nbit,Standard_True,
|
||||||
|
@ -452,7 +452,7 @@ AppCont_LeastSquare::AppCont_LeastSquare(const AppCont_Function& SSP,
|
|||||||
myDone = Standard_True;
|
myDone = Standard_True;
|
||||||
for (i = bdeb; i <= bfin; i++) {
|
for (i = bdeb; i <= bfin; i++) {
|
||||||
for (j = bdeb; j <= bfin; j++) {
|
for (j = bdeb; j <= bfin; j++) {
|
||||||
IBPij = IBP(i, j);;
|
IBPij = IBP(i, j);
|
||||||
for (k = 1; k<= nbcol; k++) {
|
for (k = 1; k<= nbcol; k++) {
|
||||||
myPoles(i, k) += IBPij * B2(j, k);
|
myPoles(i, k) += IBPij * B2(j, k);
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ void AppParCurves::Bernstein(const Standard_Integer NbPoles,
|
|||||||
math_Matrix& DA) {
|
math_Matrix& DA) {
|
||||||
|
|
||||||
Standard_Integer i, j, id, Ndeg = NbPoles-1;
|
Standard_Integer i, j, id, Ndeg = NbPoles-1;
|
||||||
Standard_Real u0, u1, y0, y1, xs, bj, bj1;;
|
Standard_Real u0, u1, y0, y1, xs, bj, bj1;
|
||||||
Standard_Integer first = U.Lower(), last = U.Upper();
|
Standard_Integer first = U.Lower(), last = U.Upper();
|
||||||
math_Vector B(1, NbPoles-1);
|
math_Vector B(1, NbPoles-1);
|
||||||
|
|
||||||
|
@ -1272,7 +1272,7 @@ const AppParCurves_MultiBSpCurve& AppParCurves_LeastSquare::BSplineValue()
|
|||||||
{
|
{
|
||||||
if (!done) {throw StdFail_NotDone();}
|
if (!done) {throw StdFail_NotDone();}
|
||||||
|
|
||||||
Standard_Integer i, j, j2, npoints = nbP+nbP2d;;
|
Standard_Integer i, j, j2, npoints = nbP+nbP2d;
|
||||||
gp_Pnt Pt;
|
gp_Pnt Pt;
|
||||||
gp_Pnt2d Pt2d;
|
gp_Pnt2d Pt2d;
|
||||||
Standard_Integer ideb = resinit, ifin = resfin;
|
Standard_Integer ideb = resinit, ifin = resfin;
|
||||||
|
@ -462,7 +462,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
|
|||||||
myC3d->D0(pc3d[ii],Pc3d);
|
myC3d->D0(pc3d[ii],Pc3d);
|
||||||
dist2 = Pcons.SquareDistance(Pc3d);
|
dist2 = Pcons.SquareDistance(Pc3d);
|
||||||
use_parameter = (dist2 <= Tol2 && (pc3d[ii] > pc3d[count-1] + deltamin)) ;
|
use_parameter = (dist2 <= Tol2 && (pc3d[ii] > pc3d[count-1] + deltamin)) ;
|
||||||
Standard_Real aDistMin = RealLast();;
|
Standard_Real aDistMin = RealLast();
|
||||||
if(use_parameter) {
|
if(use_parameter) {
|
||||||
|
|
||||||
if(dist2 > dmax2) dmax2 = dist2;
|
if(dist2 > dmax2) dmax2 = dist2;
|
||||||
|
@ -813,7 +813,7 @@ void CorrectEdgeTolerance (const TopoDS_Edge& myShape,
|
|||||||
{
|
{
|
||||||
if (myCref.IsNull())
|
if (myCref.IsNull())
|
||||||
return;
|
return;
|
||||||
Standard_Boolean ok=Standard_True;;
|
Standard_Boolean ok = Standard_True;
|
||||||
|
|
||||||
Handle(BRep_TEdge)& TE = *((Handle(BRep_TEdge)*)&myShape.TShape());
|
Handle(BRep_TEdge)& TE = *((Handle(BRep_TEdge)*)&myShape.TShape());
|
||||||
Standard_Real Tol = BRep_Tool::Tolerance(TopoDS::Edge(myShape));
|
Standard_Real Tol = BRep_Tool::Tolerance(TopoDS::Edge(myShape));
|
||||||
|
@ -361,7 +361,7 @@ static void BuildFaceIn( TopoDS_Face& F,
|
|||||||
else {
|
else {
|
||||||
TopoDS_Shape aLocalShape = Faces.First().EmptyCopied();
|
TopoDS_Shape aLocalShape = Faces.First().EmptyCopied();
|
||||||
TopoDS_Face NF = TopoDS::Face(aLocalShape);
|
TopoDS_Face NF = TopoDS::Face(aLocalShape);
|
||||||
// TopoDS_Face NF = TopoDS::Face(Faces.First().EmptyCopied());;
|
// TopoDS_Face NF = TopoDS::Face(Faces.First().EmptyCopied());
|
||||||
B.Add (NF,WI);
|
B.Add (NF,WI);
|
||||||
Faces.Append (NF);
|
Faces.Append (NF);
|
||||||
BuildFaceIn (NF, WI, KeyContains, KeyIsIn, TopAbs_FORWARD,Faces);
|
BuildFaceIn (NF, WI, KeyContains, KeyIsIn, TopAbs_FORWARD,Faces);
|
||||||
|
@ -280,7 +280,7 @@ void BRepAlgoAPI_DumpOper::Dump(const TopoDS_Shape& theShape1,
|
|||||||
fprintf(afile,"%s\n","# Result is Null ");
|
fprintf(afile,"%s\n","# Result is Null ");
|
||||||
|
|
||||||
fprintf(afile, "%s %s %s\n","restore", aName1.ToCString(), "arg1");
|
fprintf(afile, "%s %s %s\n","restore", aName1.ToCString(), "arg1");
|
||||||
fprintf(afile, "%s %s %s\n","restore", aName2.ToCString(), "arg2");;
|
fprintf(afile, "%s %s %s\n","restore", aName2.ToCString(), "arg2");
|
||||||
TCollection_AsciiString aBopString;
|
TCollection_AsciiString aBopString;
|
||||||
switch (theOperation)
|
switch (theOperation)
|
||||||
{
|
{
|
||||||
|
@ -878,7 +878,7 @@ Standard_Boolean BRepBlend_SurfRstConstRad::Section
|
|||||||
|
|
||||||
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
||||||
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
||||||
gp_Vec ncrossns;;
|
gp_Vec ncrossns;
|
||||||
gp_Vec resulu,resulv,temp,tgct,resul;
|
gp_Vec resulu,resulv,temp,tgct,resul;
|
||||||
gp_Vec d1urst,d1vrst;
|
gp_Vec d1urst,d1vrst;
|
||||||
gp_Pnt Center,bid;
|
gp_Pnt Center,bid;
|
||||||
|
@ -887,7 +887,7 @@ TColStd_Array1OfReal& DWeigths)
|
|||||||
|
|
||||||
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
||||||
gp_Vec ns,ns2,dnplan,dnw,dn2w;//,np2,dnp2;
|
gp_Vec ns,ns2,dnplan,dnw,dn2w;//,np2,dnp2;
|
||||||
gp_Vec ncrossns;;
|
gp_Vec ncrossns;
|
||||||
gp_Vec resulu,resulv,temp,tgct,resul;
|
gp_Vec resulu,resulv,temp,tgct,resul;
|
||||||
gp_Vec d1urst,d1vrst;
|
gp_Vec d1urst,d1vrst;
|
||||||
gp_Pnt Center,bid;
|
gp_Pnt Center,bid;
|
||||||
|
@ -653,7 +653,7 @@ Standard_Boolean IsModifySize(const BRepAdaptor_Surface& theBS,
|
|||||||
{
|
{
|
||||||
if(anExtr.NbExt() > 0)
|
if(anExtr.NbExt() > 0)
|
||||||
{
|
{
|
||||||
Standard_Integer i, imin = 0;;
|
Standard_Integer i, imin = 0;
|
||||||
Standard_Real dmin = RealLast();
|
Standard_Real dmin = RealLast();
|
||||||
Standard_Real uextr = 0., vextr = 0.;
|
Standard_Real uextr = 0., vextr = 0.;
|
||||||
Extrema_POnSurf P1, P2;
|
Extrema_POnSurf P1, P2;
|
||||||
|
@ -676,7 +676,7 @@ Standard_OStream& BRepFeat::Print(const BRepFeat_StatusError se,
|
|||||||
break;
|
break;
|
||||||
case BRepFeat_EmptyCutResult :
|
case BRepFeat_EmptyCutResult :
|
||||||
s << "Failure in Cut : Empty resulting shape";
|
s << "Failure in Cut : Empty resulting shape";
|
||||||
break;;
|
break;
|
||||||
case BRepFeat_FalseSide :
|
case BRepFeat_FalseSide :
|
||||||
s << "Verify plane and wire orientation";
|
s << "Verify plane and wire orientation";
|
||||||
break;
|
break;
|
||||||
|
@ -434,7 +434,7 @@ TopoDS_Face BRepFill_Pipe::Face(const TopoDS_Edge& ESpine,
|
|||||||
TopoDS_Edge BRepFill_Pipe::Edge(const TopoDS_Edge& ESpine,
|
TopoDS_Edge BRepFill_Pipe::Edge(const TopoDS_Edge& ESpine,
|
||||||
const TopoDS_Vertex& VProfile)
|
const TopoDS_Vertex& VProfile)
|
||||||
{
|
{
|
||||||
Standard_Integer ii, ispin = 0, iprof = 0, count = 0;;
|
Standard_Integer ii, ispin = 0, iprof = 0, count = 0;
|
||||||
|
|
||||||
// *************************************************
|
// *************************************************
|
||||||
// Search if VProfile is a Vertex of myProfile
|
// Search if VProfile is a Vertex of myProfile
|
||||||
|
@ -1619,7 +1619,7 @@ static void UpdateEdge(TopoDS_Edge& E,
|
|||||||
|
|
||||||
// Control direction & Range
|
// Control direction & Range
|
||||||
Standard_Real R, First, Last, Tol=1.e-4;
|
Standard_Real R, First, Last, Tol=1.e-4;
|
||||||
Standard_Boolean reverse = Standard_False;;
|
Standard_Boolean reverse = Standard_False;
|
||||||
|
|
||||||
|
|
||||||
// Class BRep_Tool without fields and without Constructor :
|
// Class BRep_Tool without fields and without Constructor :
|
||||||
|
@ -468,7 +468,7 @@ Standard_Boolean BRepLib_MakeFace::IsDegenerated(
|
|||||||
else if (Type == GeomAbs_BezierCurve) {
|
else if (Type == GeomAbs_BezierCurve) {
|
||||||
Handle(Geom_BezierCurve) BZ = AC.Bezier();
|
Handle(Geom_BezierCurve) BZ = AC.Bezier();
|
||||||
Standard_Integer NbPoles = BZ->NbPoles();
|
Standard_Integer NbPoles = BZ->NbPoles();
|
||||||
Standard_Real aMaxPoleDist2 = 0.0, aMaxTol2 = theMaxTol*theMaxTol;;
|
Standard_Real aMaxPoleDist2 = 0.0, aMaxTol2 = theMaxTol*theMaxTol;
|
||||||
gp_Pnt P1,P2;
|
gp_Pnt P1,P2;
|
||||||
P1 = BZ->Pole(1);
|
P1 = BZ->Pole(1);
|
||||||
for (Standard_Integer i = 2; i <= NbPoles; i++) {
|
for (Standard_Integer i = 2; i <= NbPoles; i++) {
|
||||||
|
@ -610,7 +610,7 @@ void BRepMesh_Delaun::createTrianglesOnNewVertices(
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void BRepMesh_Delaun::insertInternalEdges()
|
void BRepMesh_Delaun::insertInternalEdges()
|
||||||
{
|
{
|
||||||
Handle(IMeshData::MapOfInteger) anInternalEdges = InternalEdges();;
|
Handle(IMeshData::MapOfInteger) anInternalEdges = InternalEdges();
|
||||||
|
|
||||||
// Destruction of triancles intersecting internal edges
|
// Destruction of triancles intersecting internal edges
|
||||||
// and their replacement by makeshift triangles
|
// and their replacement by makeshift triangles
|
||||||
|
@ -296,7 +296,7 @@ void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& /*SetOfFaces
|
|||||||
//---------------------------
|
//---------------------------
|
||||||
// E1 generated a tube.
|
// E1 generated a tube.
|
||||||
//---------------------------
|
//---------------------------
|
||||||
F1 = TopoDS::Face(InitOffsetFace.Image(E1).First());;
|
F1 = TopoDS::Face(InitOffsetFace.Image(E1).First());
|
||||||
TopExp::Vertices(E1,V[0],V[1]);
|
TopExp::Vertices(E1,V[0],V[1]);
|
||||||
const TopTools_ListOfShape& AncE1 = Analyse.Ancestors(E1);
|
const TopTools_ListOfShape& AncE1 = Analyse.Ancestors(E1);
|
||||||
|
|
||||||
|
@ -609,7 +609,7 @@ static Standard_Integer setsweep(Draw_Interpretor& di,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
gp_Dir D(Draw::Atof(a[2]), Draw::Atof(a[3]), Draw::Atof(a[4]));
|
gp_Dir D(Draw::Atof(a[2]), Draw::Atof(a[3]), Draw::Atof(a[4]));
|
||||||
Sweep->SetMode(D);;
|
Sweep->SetMode(D);
|
||||||
}
|
}
|
||||||
else if (!strcmp(a[1], "-FX")) {
|
else if (!strcmp(a[1], "-FX")) {
|
||||||
if ((n != 5) && (n != 8)) {
|
if ((n != 5) && (n != 8)) {
|
||||||
|
@ -2216,7 +2216,7 @@ void BiTgte_Blend::ComputeSurfaces()
|
|||||||
if (OF2isEdge) { // Update CutEdges.
|
if (OF2isEdge) { // Update CutEdges.
|
||||||
exp.Next();
|
exp.Next();
|
||||||
const TopoDS_Edge& EOnF2 = TopoDS::Edge(exp.Current());
|
const TopoDS_Edge& EOnF2 = TopoDS::Edge(exp.Current());
|
||||||
TopExp::Vertices(EOnF2,V1,V2);;
|
TopExp::Vertices(EOnF2,V1,V2);
|
||||||
|
|
||||||
gp_Pnt P1 = BRep_Tool::Pnt(V1);
|
gp_Pnt P1 = BRep_Tool::Pnt(V1);
|
||||||
Projector.Init(P1,GC2);
|
Projector.Init(P1,GC2);
|
||||||
|
@ -136,7 +136,7 @@ Standard_IStream& BinTools::GetShortReal (Standard_IStream& theIS,
|
|||||||
Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& aValue)
|
Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& aValue)
|
||||||
{
|
{
|
||||||
if(!IS.read ((char*)&aValue, sizeof(Standard_Integer)))
|
if(!IS.read ((char*)&aValue, sizeof(Standard_Integer)))
|
||||||
throw Storage_StreamTypeMismatchError();;
|
throw Storage_StreamTypeMismatchError();
|
||||||
#if DO_INVERSE
|
#if DO_INVERSE
|
||||||
aValue = InverseInt (aValue);
|
aValue = InverseInt (aValue);
|
||||||
#endif
|
#endif
|
||||||
@ -151,7 +151,7 @@ Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& a
|
|||||||
Standard_IStream& BinTools::GetExtChar(Standard_IStream& IS, Standard_ExtCharacter& theValue)
|
Standard_IStream& BinTools::GetExtChar(Standard_IStream& IS, Standard_ExtCharacter& theValue)
|
||||||
{
|
{
|
||||||
if(!IS.read ((char*)&theValue, sizeof(Standard_ExtCharacter)))
|
if(!IS.read ((char*)&theValue, sizeof(Standard_ExtCharacter)))
|
||||||
throw Storage_StreamTypeMismatchError();;
|
throw Storage_StreamTypeMismatchError();
|
||||||
#if DO_INVERSE
|
#if DO_INVERSE
|
||||||
theValue = InverseExtChar (theValue);
|
theValue = InverseExtChar (theValue);
|
||||||
#endif
|
#endif
|
||||||
|
@ -677,12 +677,12 @@ static Standard_Boolean IsMaxRC (const Handle(Geom2d_Curve)& C,
|
|||||||
Standard_Real Norm2;
|
Standard_Real Norm2;
|
||||||
|
|
||||||
C->D2(US,P,D1,D2);
|
C->D2(US,P,D1,D2);
|
||||||
Norm2 = D1.SquareMagnitude();;
|
Norm2 = D1.SquareMagnitude();
|
||||||
if (Norm2 < gp::Resolution()) { KF = 0.0;}
|
if (Norm2 < gp::Resolution()) { KF = 0.0;}
|
||||||
else { KF = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
|
else { KF = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
|
||||||
|
|
||||||
C->D2(UL,P,D1,D2);
|
C->D2(UL,P,D1,D2);
|
||||||
Norm2 = D1.SquareMagnitude();;
|
Norm2 = D1.SquareMagnitude();
|
||||||
if (Norm2 < gp::Resolution()) { KL = 0.0;}
|
if (Norm2 < gp::Resolution()) { KL = 0.0;}
|
||||||
else { KL = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
|
else { KL = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
|
||||||
|
|
||||||
|
@ -558,7 +558,7 @@ static Standard_Real Curvature (const Handle(Geom2d_Curve)& C,
|
|||||||
gp_Vec2d D1,D2;
|
gp_Vec2d D1,D2;
|
||||||
gp_Pnt2d P;
|
gp_Pnt2d P;
|
||||||
C->D2(U,P,D1,D2);
|
C->D2(U,P,D1,D2);
|
||||||
Standard_Real Norm2 = D1.SquareMagnitude();;
|
Standard_Real Norm2 = D1.SquareMagnitude();
|
||||||
if (Norm2 < Tol) {
|
if (Norm2 < Tol) {
|
||||||
K1 = 0.0;
|
K1 = 0.0;
|
||||||
}
|
}
|
||||||
|
@ -452,7 +452,7 @@ static Standard_Real Curvature (const Handle(Geom2d_Curve)& C,
|
|||||||
gp_Vec2d D1,D2;
|
gp_Vec2d D1,D2;
|
||||||
gp_Pnt2d P;
|
gp_Pnt2d P;
|
||||||
C->D2(U,P,D1,D2);
|
C->D2(U,P,D1,D2);
|
||||||
Standard_Real Norm2 = D1.SquareMagnitude();;
|
Standard_Real Norm2 = D1.SquareMagnitude();
|
||||||
if (Norm2 < Tol) {
|
if (Norm2 < Tol) {
|
||||||
K1 = 0.0;
|
K1 = 0.0;
|
||||||
}
|
}
|
||||||
|
@ -730,7 +730,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
|
|||||||
previousP.Parameter(),tolesp);
|
previousP.Parameter(),tolesp);
|
||||||
Ext2.SetValue(previousP.PointOnS2(),
|
Ext2.SetValue(previousP.PointOnS2(),
|
||||||
sol(3),sol(4),
|
sol(3),sol(4),
|
||||||
previousP.Parameter(),tolesp);;
|
previousP.Parameter(),tolesp);
|
||||||
if (!previousP.IsTangencyPoint()) {
|
if (!previousP.IsTangencyPoint()) {
|
||||||
Ext1.SetTangent(previousP.TangentOnS1());
|
Ext1.SetTangent(previousP.TangentOnS1());
|
||||||
Ext2.SetTangent(previousP.TangentOnS2());
|
Ext2.SetTangent(previousP.TangentOnS2());
|
||||||
|
@ -901,12 +901,12 @@ Standard_Boolean BlendFunc_CSCircular::Section
|
|||||||
{
|
{
|
||||||
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1,d2;
|
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1,d2;
|
||||||
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
||||||
gp_Vec ncrossns;;
|
gp_Vec ncrossns;
|
||||||
gp_Vec resulu,resulv,temp,tgct,resul;
|
gp_Vec resulu,resulv,temp,tgct,resul;
|
||||||
|
|
||||||
gp_Pnt Center;
|
gp_Pnt Center;
|
||||||
|
|
||||||
Standard_Real norm,ndotns,grosterme;;
|
Standard_Real norm,ndotns,grosterme;
|
||||||
|
|
||||||
math_Vector sol(1,2),valsol(1,2),secmember(1,2);
|
math_Vector sol(1,2),valsol(1,2),secmember(1,2);
|
||||||
math_Matrix gradsol(1,2,1,2);
|
math_Matrix gradsol(1,2,1,2);
|
||||||
|
@ -875,7 +875,7 @@ Standard_Boolean BlendFunc_CSConstRad::Section
|
|||||||
|
|
||||||
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
|
||||||
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
|
||||||
gp_Vec ncrossns;;
|
gp_Vec ncrossns;
|
||||||
gp_Vec resulu,resulv,temp,tgct,resul;
|
gp_Vec resulu,resulv,temp,tgct,resul;
|
||||||
|
|
||||||
gp_Pnt Center;
|
gp_Pnt Center;
|
||||||
|
@ -99,7 +99,7 @@ Standard_Boolean BlendFunc_ConstThroatInv::IsSolution(const math_Vector& Sol, co
|
|||||||
Abs(valsol(4)) <= Tol*Tol)
|
Abs(valsol(4)) <= Tol*Tol)
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
|
|
||||||
return Standard_False;;
|
return Standard_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -52,7 +52,7 @@ Standard_Boolean BlendFunc_ConstThroatWithPenetrationInv::IsSolution(const math_
|
|||||||
Abs(valsol(4)) <= Tol)
|
Abs(valsol(4)) <= Tol)
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
|
|
||||||
return Standard_False;;
|
return Standard_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -310,7 +310,7 @@ Standard_OStream& operator << (Standard_OStream& anOStream);
|
|||||||
//! A referenced document may indicate through this
|
//! A referenced document may indicate through this
|
||||||
//! virtual method that it does not allow the closing of
|
//! virtual method that it does not allow the closing of
|
||||||
//! aDocument which it references through the reference
|
//! aDocument which it references through the reference
|
||||||
//! aReferenceIdentifier. By default returns Standard_True;;
|
//! aReferenceIdentifier. By default returns Standard_True.
|
||||||
Standard_EXPORT virtual Standard_Boolean CanCloseReference (const Handle(CDM_Document)& aDocument, const Standard_Integer aReferenceIdentifier) const;
|
Standard_EXPORT virtual Standard_Boolean CanCloseReference (const Handle(CDM_Document)& aDocument, const Standard_Integer aReferenceIdentifier) const;
|
||||||
|
|
||||||
//! A referenced document may update its internal
|
//! A referenced document may update its internal
|
||||||
|
@ -2311,7 +2311,7 @@ void ChFi3d_FilDS(const Standard_Integer SolidIndex,
|
|||||||
Standard_Integer IArcspine = DStr.AddShape(Arcspine);
|
Standard_Integer IArcspine = DStr.AddShape(Arcspine);
|
||||||
Standard_Integer IVtx = CorDat->IndexFirstPointOnS1();
|
Standard_Integer IVtx = CorDat->IndexFirstPointOnS1();
|
||||||
|
|
||||||
TopAbs_Orientation OVtx = TopAbs_FORWARD;;
|
TopAbs_Orientation OVtx = TopAbs_FORWARD;
|
||||||
|
|
||||||
for(ex.Init(Arcspine.Oriented(TopAbs_FORWARD),TopAbs_VERTEX);
|
for(ex.Init(Arcspine.Oriented(TopAbs_FORWARD),TopAbs_VERTEX);
|
||||||
ex.More(); ex.Next()) {
|
ex.More(); ex.Next()) {
|
||||||
|
@ -803,7 +803,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
TopoDS_Edge edgecouture;
|
TopoDS_Edge edgecouture;
|
||||||
Standard_Boolean couture,intcouture=Standard_False;;
|
Standard_Boolean couture,intcouture=Standard_False;
|
||||||
Standard_Real tolreached = tolesp;
|
Standard_Real tolreached = tolesp;
|
||||||
Standard_Real par1 =0.,par2 =0.;
|
Standard_Real par1 =0.,par2 =0.;
|
||||||
Standard_Integer indpt = 0,Icurv1 = 0,Icurv2 = 0;
|
Standard_Integer indpt = 0,Icurv1 = 0,Icurv2 = 0;
|
||||||
@ -3990,7 +3990,7 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
TopoDS_Edge edgecouture;
|
TopoDS_Edge edgecouture;
|
||||||
Standard_Boolean couture,intcouture=Standard_False;;
|
Standard_Boolean couture,intcouture=Standard_False;
|
||||||
Standard_Real tolreached = tolesp;
|
Standard_Real tolreached = tolesp;
|
||||||
Standard_Real par1 = 0.,par2 = 0.;
|
Standard_Real par1 = 0.,par2 = 0.;
|
||||||
Standard_Integer indpt =0,Icurv1 =0,Icurv2 =0;
|
Standard_Integer indpt =0,Icurv1 =0,Icurv2 =0;
|
||||||
|
@ -344,8 +344,10 @@ void ChFi3d_ChBuilder::Add(const Standard_Real Dis1,
|
|||||||
Spine->SetMode(myMode);
|
Spine->SetMode(myMode);
|
||||||
Standard_Real Offset = -1;
|
Standard_Real Offset = -1;
|
||||||
if (myMode == ChFiDS_ConstThroatWithPenetrationChamfer)
|
if (myMode == ChFiDS_ConstThroatWithPenetrationChamfer)
|
||||||
Offset = Min(Dis1,Dis2);;
|
{
|
||||||
|
Offset = Min(Dis1,Dis2);
|
||||||
|
}
|
||||||
|
|
||||||
Spine->SetEdges(E_wnt);
|
Spine->SetEdges(E_wnt);
|
||||||
if(PerformElement(Spine, Offset, F)){
|
if(PerformElement(Spine, Offset, F)){
|
||||||
Spine->Load();
|
Spine->Load();
|
||||||
|
@ -1461,7 +1461,7 @@ void ChFi3d_FilBuilder::PerformSurf(ChFiDS_SequenceOfSurfData& SeqData
|
|||||||
const Standard_Boolean RecRst,
|
const Standard_Boolean RecRst,
|
||||||
const math_Vector& Soldep)
|
const math_Vector& Soldep)
|
||||||
{
|
{
|
||||||
Handle(ChFiDS_SurfData) Data = SeqData(1);;
|
Handle(ChFiDS_SurfData) Data = SeqData(1);
|
||||||
Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
|
Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
|
||||||
if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
|
if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
|
||||||
Handle(BRepBlend_Line) lin;
|
Handle(BRepBlend_Line) lin;
|
||||||
@ -1577,7 +1577,7 @@ void ChFi3d_FilBuilder::PerformSurf(ChFiDS_SequenceOfSurfData& SeqData
|
|||||||
const Standard_Boolean RecRst2,
|
const Standard_Boolean RecRst2,
|
||||||
const math_Vector& Soldep)
|
const math_Vector& Soldep)
|
||||||
{
|
{
|
||||||
Handle(ChFiDS_SurfData) Data = SeqData(1);;
|
Handle(ChFiDS_SurfData) Data = SeqData(1);
|
||||||
Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
|
Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
|
||||||
if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
|
if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
|
||||||
Handle(BRepBlend_Line) lin;
|
Handle(BRepBlend_Line) lin;
|
||||||
|
@ -1421,7 +1421,7 @@ static Standard_Integer DDataStd_KeepUTF (Draw_Interpretor& di,
|
|||||||
#endif
|
#endif
|
||||||
if (!anIS) {
|
if (!anIS) {
|
||||||
// Can not open file
|
// Can not open file
|
||||||
std::cout << "Error: can't open file " << aFileName <<std::endl;;
|
std::cout << "Error: can't open file " << aFileName <<std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
@ -3403,7 +3403,7 @@ static Standard_Integer DDataStd_GetNDIntegers (Draw_Interpretor& di,
|
|||||||
TCollection_ExtendedString aKey(itr.Key());
|
TCollection_ExtendedString aKey(itr.Key());
|
||||||
TCollection_AsciiString aStr(aKey,'?');
|
TCollection_AsciiString aStr(aKey,'?');
|
||||||
Standard_Integer aValue = itr.Value();
|
Standard_Integer aValue = itr.Value();
|
||||||
std::cout << "Key = " << aStr.ToCString() << " Value = " <<aValue<<std::endl;;
|
std::cout << "Key = " << aStr.ToCString() << " Value = " <<aValue<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -3469,7 +3469,7 @@ static Standard_Integer DDataStd_SetNDataReals (Draw_Interpretor& di,
|
|||||||
if(!aLabel.FindAttribute(TDataStd_NamedData::GetID(), anAtt))
|
if(!aLabel.FindAttribute(TDataStd_NamedData::GetID(), anAtt))
|
||||||
anAtt = TDataStd_NamedData::Set(aLabel);
|
anAtt = TDataStd_NamedData::Set(aLabel);
|
||||||
if(anAtt.IsNull()) {
|
if(anAtt.IsNull()) {
|
||||||
std::cout << "NamedData attribute is not found or not set" << std::endl;;
|
std::cout << "NamedData attribute is not found or not set" << std::endl;
|
||||||
return 1;}
|
return 1;}
|
||||||
|
|
||||||
j = 4;
|
j = 4;
|
||||||
|
@ -696,7 +696,10 @@ void Draw_Viewer::PostColor(const Standard_Integer icol,
|
|||||||
Standard_Boolean Draw_Viewer::SaveView(const Standard_Integer id,
|
Standard_Boolean Draw_Viewer::SaveView(const Standard_Integer id,
|
||||||
const char* filename)
|
const char* filename)
|
||||||
{
|
{
|
||||||
if (Draw_Batch) return Standard_False;;
|
if (Draw_Batch)
|
||||||
|
{
|
||||||
|
return Standard_False;
|
||||||
|
}
|
||||||
Flush();
|
Flush();
|
||||||
if (myViews[id]) {
|
if (myViews[id]) {
|
||||||
return myViews[id]->Save(filename);
|
return myViews[id]->Save(filename);
|
||||||
|
@ -2496,6 +2496,6 @@ void DrawWindow::SelectNoWait(HANDLE& hWnd, int& x, int& y, int& button)
|
|||||||
Standard_Boolean DrawWindow::DefineColor (const Standard_Integer, const char*)
|
Standard_Boolean DrawWindow::DefineColor (const Standard_Integer, const char*)
|
||||||
{
|
{
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -232,7 +232,7 @@ TCollection_AsciiString Expr_Sum::String() const
|
|||||||
if (op->NbSubExpressions() > 1) {
|
if (op->NbSubExpressions() > 1) {
|
||||||
str = "(";
|
str = "(";
|
||||||
str += op->String();
|
str += op->String();
|
||||||
str += ")";;
|
str += ")";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
str = op->String();
|
str = op->String();
|
||||||
@ -243,7 +243,7 @@ TCollection_AsciiString Expr_Sum::String() const
|
|||||||
if (op->NbSubExpressions() > 1) {
|
if (op->NbSubExpressions() > 1) {
|
||||||
str += "(";
|
str += "(";
|
||||||
str += op->String();
|
str += op->String();
|
||||||
str += ")";;
|
str += ")";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
str += op->String();
|
str += op->String();
|
||||||
|
@ -125,6 +125,6 @@ TCollection_AsciiString Expr_UnaryFunction::String() const
|
|||||||
TCollection_AsciiString res = myFunction->GetStringName();
|
TCollection_AsciiString res = myFunction->GetStringName();
|
||||||
res += "(";
|
res += "(";
|
||||||
res += Operand()->String();
|
res += Operand()->String();
|
||||||
res += ")";;
|
res += ")";
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -602,7 +602,7 @@ FilletSurf_StatusType FilletSurf_InternalBuilder::StartSectionStatus() const
|
|||||||
Standard_Boolean isonedge1 = myListStripe.First()->SetOfSurfData()->Value(1)->
|
Standard_Boolean isonedge1 = myListStripe.First()->SetOfSurfData()->Value(1)->
|
||||||
VertexFirstOnS1().IsOnArc();
|
VertexFirstOnS1().IsOnArc();
|
||||||
Standard_Boolean isonedge2= myListStripe.First()->SetOfSurfData()->Value(1)->
|
Standard_Boolean isonedge2= myListStripe.First()->SetOfSurfData()->Value(1)->
|
||||||
VertexFirstOnS2().IsOnArc();;
|
VertexFirstOnS2().IsOnArc();
|
||||||
|
|
||||||
if (isonedge1 && isonedge2)
|
if (isonedge1 && isonedge2)
|
||||||
{return FilletSurf_TwoExtremityOnEdge;}
|
{return FilletSurf_TwoExtremityOnEdge;}
|
||||||
|
@ -42,7 +42,6 @@ IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,Standard_Transient)
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
// list of supported extensions
|
// list of supported extensions
|
||||||
static Standard_CString Font_FontMgr_Extensions[] =
|
static Standard_CString Font_FontMgr_Extensions[] =
|
||||||
{
|
{
|
||||||
@ -51,8 +50,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,Standard_Transient)
|
|||||||
"ttc",
|
"ttc",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
}
|
||||||
};
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ GccAna_Circ2d2TanRad::
|
|||||||
WellDone = Standard_True;
|
WellDone = Standard_True;
|
||||||
NbrSol = 1;
|
NbrSol = 1;
|
||||||
TheSame1(1) = 0;
|
TheSame1(1) = 0;
|
||||||
qualifier1(1) = Qualified1.Qualifier();;
|
qualifier1(1) = Qualified1.Qualifier();
|
||||||
qualifier2(1) = Qualified2.Qualifier();
|
qualifier2(1) = Qualified2.Qualifier();
|
||||||
pnttg1sol(1)=gp_Pnt2d(Cen.XY()+cote*Radius*gp_XY(ydir,-xdir));
|
pnttg1sol(1)=gp_Pnt2d(Cen.XY()+cote*Radius*gp_XY(ydir,-xdir));
|
||||||
pnttg2sol(1)=gp_Pnt2d(Cen.XY()+Radius*gp_XY(ydir,-xdir));
|
pnttg2sol(1)=gp_Pnt2d(Cen.XY()+Radius*gp_XY(ydir,-xdir));
|
||||||
|
@ -1006,7 +1006,7 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedCirc& Qualified1 ,
|
|||||||
tol(1) = 2.e-15*M_PI;
|
tol(1) = 2.e-15*M_PI;
|
||||||
tol(2) = Geom2dGcc_CurveTool::EpsX(Cu2,Abs(Tolerance));
|
tol(2) = Geom2dGcc_CurveTool::EpsX(Cu2,Abs(Tolerance));
|
||||||
tol(3) = Geom2dGcc_CurveTool::EpsX(OnCurv,Abs(Tolerance));
|
tol(3) = Geom2dGcc_CurveTool::EpsX(OnCurv,Abs(Tolerance));
|
||||||
tol(4) = Tol/10.;;
|
tol(4) = Tol/10.;
|
||||||
gp_Pnt2d point1 = ElCLib::Value(Param1,C1);
|
gp_Pnt2d point1 = ElCLib::Value(Param1,C1);
|
||||||
gp_Pnt2d point2 = Geom2dGcc_CurveTool::Value(Cu2,Param2);
|
gp_Pnt2d point2 = Geom2dGcc_CurveTool::Value(Cu2,Param2);
|
||||||
gp_Pnt2d point3 = Geom2dGcc_CurveTool::Value(OnCurv,ParamOn);
|
gp_Pnt2d point3 = Geom2dGcc_CurveTool::Value(OnCurv,ParamOn);
|
||||||
|
@ -114,7 +114,7 @@ Standard_Boolean verifD2(const TColgp_Array1OfVec& DP1,
|
|||||||
const Standard_Real wTol,
|
const Standard_Real wTol,
|
||||||
const Standard_Real pas)
|
const Standard_Real pas)
|
||||||
{
|
{
|
||||||
Standard_Boolean ok = Standard_True;;
|
Standard_Boolean ok = Standard_True;
|
||||||
Standard_Integer ii, L = DP1.Length();
|
Standard_Integer ii, L = DP1.Length();
|
||||||
Standard_Real d2w;
|
Standard_Real d2w;
|
||||||
gp_Vec d2P;
|
gp_Vec d2P;
|
||||||
|
@ -812,7 +812,7 @@ static Standard_Boolean IsSweepParallelSpine (const Handle(GeomFill_LocationLaw)
|
|||||||
if ((SectionType == GeomAbs_Circle) && IsTrsf) {
|
if ((SectionType == GeomAbs_Circle) && IsTrsf) {
|
||||||
gp_Circ C = AC.Circle();
|
gp_Circ C = AC.Circle();
|
||||||
Standard_Real Radius;
|
Standard_Real Radius;
|
||||||
Standard_Boolean IsGoodSide = Standard_True;;
|
Standard_Boolean IsGoodSide = Standard_True;
|
||||||
C.Transform(Tf2);
|
C.Transform(Tf2);
|
||||||
gp_Vec DC;
|
gp_Vec DC;
|
||||||
// On calcul le centre eventuel
|
// On calcul le centre eventuel
|
||||||
|
@ -1013,7 +1013,7 @@ Disc3dContour (const Standard_Integer /*nbp*/,
|
|||||||
for(i=1; i<=NTCurve; i++)
|
for(i=1; i<=NTCurve; i++)
|
||||||
if (myLinCont->Value(i)->Order()!=-1)
|
if (myLinCont->Value(i)->Order()!=-1)
|
||||||
|
|
||||||
{ Standard_Integer NbPt=myParCont->Value(i).Length();;
|
{ Standard_Integer NbPt=myParCont->Value(i).Length();
|
||||||
// first constraint point (j=0)
|
// first constraint point (j=0)
|
||||||
// Standard_Integer NbPt=myParCont->Length();
|
// Standard_Integer NbPt=myParCont->Length();
|
||||||
if (iordre==0) {
|
if (iordre==0) {
|
||||||
|
@ -501,7 +501,7 @@ Handle(IGESData_IGESEntity) GeomToIGES_GeomCurve::TransferCurve
|
|||||||
if (start.IsNull()) {
|
if (start.IsNull()) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
Handle(IGESGeom_CircularArc) Circle = new IGESGeom_CircularArc;;
|
Handle(IGESGeom_CircularArc) Circle = new IGESGeom_CircularArc();
|
||||||
IGESConvGeom_GeomBuilder Build;
|
IGESConvGeom_GeomBuilder Build;
|
||||||
|
|
||||||
Standard_Real U1 = Udeb;
|
Standard_Real U1 = Udeb;
|
||||||
|
@ -251,7 +251,7 @@ void IGESAppli_ToolNodalDisplAndRot::OwnDump
|
|||||||
for (Standard_Integer j = 1; j <= nbnodes; j ++)
|
for (Standard_Integer j = 1; j <= nbnodes; j ++)
|
||||||
{
|
{
|
||||||
S << "[" << j << "]: - NodeIdentifier : "
|
S << "[" << j << "]: - NodeIdentifier : "
|
||||||
<< ent->NodeIdentifier(j) << " - Node :"<<Message_EndLine; ;
|
<< ent->NodeIdentifier(j) << " - Node :"<<Message_EndLine;
|
||||||
S << "Node : ";
|
S << "Node : ";
|
||||||
dumper.Dump (ent->Node(j),S, 1);
|
dumper.Dump (ent->Node(j),S, 1);
|
||||||
S << " - Parameters : " << Message_EndLine;
|
S << " - Parameters : " << Message_EndLine;
|
||||||
|
@ -333,7 +333,7 @@ IGESData_IGESReaderTool::IGESData_IGESReaderTool
|
|||||||
const Handle(IGESData_IGESReaderData)& IR,
|
const Handle(IGESData_IGESReaderData)& IR,
|
||||||
IGESData_ParamReader& PR) const
|
IGESData_ParamReader& PR) const
|
||||||
{
|
{
|
||||||
Handle(Interface_Check) ach = new Interface_Check;;
|
Handle(Interface_Check) ach = new Interface_Check();
|
||||||
Handle(Interface_ReaderModule) imodule;
|
Handle(Interface_ReaderModule) imodule;
|
||||||
Standard_Integer CN;
|
Standard_Integer CN;
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ IGESDraw_Protocol::IGESDraw_Protocol()
|
|||||||
Handle(Interface_Protocol) IGESDraw_Protocol::Resource
|
Handle(Interface_Protocol) IGESDraw_Protocol::Resource
|
||||||
(const Standard_Integer /*num*/) const
|
(const Standard_Integer /*num*/) const
|
||||||
{
|
{
|
||||||
Handle(Interface_Protocol) res = IGESDimen::Protocol();;
|
Handle(Interface_Protocol) res = IGESDimen::Protocol();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ IGESGeom_Protocol::IGESGeom_Protocol()
|
|||||||
Handle(Interface_Protocol) IGESGeom_Protocol::Resource
|
Handle(Interface_Protocol) IGESGeom_Protocol::Resource
|
||||||
(const Standard_Integer /*num*/) const
|
(const Standard_Integer /*num*/) const
|
||||||
{
|
{
|
||||||
Handle(Interface_Protocol) res = IGESBasic::Protocol();;
|
Handle(Interface_Protocol) res = IGESBasic::Protocol();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ void IGESGeom_ToolSplineCurve::ReadOwnParams
|
|||||||
|
|
||||||
//Standard_Boolean st; //szv#4:S4163:12Mar99 not needed
|
//Standard_Boolean st; //szv#4:S4163:12Mar99 not needed
|
||||||
Standard_Integer nbSegments;
|
Standard_Integer nbSegments;
|
||||||
Standard_Integer aType, aDegree, nbDimensions;;
|
Standard_Integer aType, aDegree, nbDimensions;
|
||||||
Handle(TColStd_HArray1OfReal) allBreakPoints;
|
Handle(TColStd_HArray1OfReal) allBreakPoints;
|
||||||
Handle(TColStd_HArray2OfReal) allXPolynomials;
|
Handle(TColStd_HArray2OfReal) allXPolynomials;
|
||||||
Handle(TColStd_HArray2OfReal) allYPolynomials;
|
Handle(TColStd_HArray2OfReal) allYPolynomials;
|
||||||
|
@ -67,7 +67,7 @@ IGESGraph_Protocol::IGESGraph_Protocol()
|
|||||||
Handle(Interface_Protocol) IGESGraph_Protocol::Resource
|
Handle(Interface_Protocol) IGESGraph_Protocol::Resource
|
||||||
(const Standard_Integer /*num*/) const
|
(const Standard_Integer /*num*/) const
|
||||||
{
|
{
|
||||||
Handle(Interface_Protocol) res = IGESBasic::Protocol();;
|
Handle(Interface_Protocol) res = IGESBasic::Protocol();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ IGESSolid_Protocol::IGESSolid_Protocol()
|
|||||||
Handle(Interface_Protocol) IGESSolid_Protocol::Resource
|
Handle(Interface_Protocol) IGESSolid_Protocol::Resource
|
||||||
(const Standard_Integer /*num*/) const
|
(const Standard_Integer /*num*/) const
|
||||||
{
|
{
|
||||||
Handle(Interface_Protocol) res = IGESGeom::Protocol();;
|
Handle(Interface_Protocol) res = IGESGeom::Protocol();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ void IGESSolid_ToolShell::ReadOwnParams(const Handle(IGESSolid_Shell)& ent,
|
|||||||
// MGE 03/08/98
|
// MGE 03/08/98
|
||||||
|
|
||||||
//Standard_Boolean abool; //szv#4:S4163:12Mar99 moved down
|
//Standard_Boolean abool; //szv#4:S4163:12Mar99 moved down
|
||||||
Standard_Integer nbfaces=0;; //szv#4:S4163:12Mar99 `i` moved in for
|
Standard_Integer nbfaces=0; //szv#4:S4163:12Mar99 `i` moved in for
|
||||||
//Handle(IGESSolid_Face) aface; //szv#4:S4163:12Mar99 moved down
|
//Handle(IGESSolid_Face) aface; //szv#4:S4163:12Mar99 moved down
|
||||||
Handle(IGESSolid_HArray1OfFace) tempFaces;
|
Handle(IGESSolid_HArray1OfFace) tempFaces;
|
||||||
Handle(TColStd_HArray1OfInteger) tempOrientation;
|
Handle(TColStd_HArray1OfInteger) tempOrientation;
|
||||||
|
@ -506,12 +506,12 @@ Standard_Integer IntCurveSurface_Polyhedron::TriConnex
|
|||||||
if (colT==(colP+colP)) {
|
if (colT==(colP+colP)) {
|
||||||
colT++;
|
colT++;
|
||||||
linO=(ligP>ligE)? ligP : ligE; //--linO=Max(ligP, ligE);
|
linO=(ligP>ligE)? ligP : ligE; //--linO=Max(ligP, ligE);
|
||||||
colO=colP+1;;
|
colO=colP+1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
colT--;
|
colT--;
|
||||||
linO=(ligP<ligE)? ligP : ligE; //--linO=Min(ligP, ligE);
|
linO=(ligP<ligE)? ligP : ligE; //--linO=Min(ligP, ligE);
|
||||||
colO=colP-1;;
|
colO=colP-1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3: // Oblique
|
case 3: // Oblique
|
||||||
|
@ -466,7 +466,7 @@ void IntPatch_InterferencePolyhedron::Intersect
|
|||||||
Standard_Real div = dpOeT[iObj][iToo]-dpOeT[inext][iToo];
|
Standard_Real div = dpOeT[iObj][iToo]-dpOeT[inext][iToo];
|
||||||
if(div>floatGap || div<-floatGap) {
|
if(div>floatGap || div<-floatGap) {
|
||||||
parO[iObj]=dpOeT[iObj][iToo]/
|
parO[iObj]=dpOeT[iObj][iToo]/
|
||||||
(dpOeT[iObj][iToo]-dpOeT[inext][iToo]);;
|
(dpOeT[iObj][iToo]-dpOeT[inext][iToo]);
|
||||||
piO=(IntPatch_PolyhedronTool::Point(FirstPol,OI[iObj]).XYZ()) +
|
piO=(IntPatch_PolyhedronTool::Point(FirstPol,OI[iObj]).XYZ()) +
|
||||||
(voo[iObj]*parO[iObj]);
|
(voo[iObj]*parO[iObj]);
|
||||||
}
|
}
|
||||||
|
@ -402,12 +402,12 @@ Standard_Integer IntPatch_Polyhedron::TriConnex (const Standard_Integer Triang,
|
|||||||
if (colT==(colP+colP)) {
|
if (colT==(colP+colP)) {
|
||||||
colT++;
|
colT++;
|
||||||
linO=(ligP>ligE)? ligP : ligE; //--linO=Max(ligP, ligE);
|
linO=(ligP>ligE)? ligP : ligE; //--linO=Max(ligP, ligE);
|
||||||
colO=colP+1;;
|
colO=colP+1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
colT--;
|
colT--;
|
||||||
linO=(ligP<ligE)? ligP : ligE; //--linO=Min(ligP, ligE);
|
linO=(ligP<ligE)? ligP : ligE; //--linO=Min(ligP, ligE);
|
||||||
colO=colP-1;;
|
colO=colP-1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3: // Oblique
|
case 3: // Oblique
|
||||||
|
@ -303,7 +303,7 @@ void IntPolyh_Triangle::MiddleRefinement(const Standard_Integer NumTri,
|
|||||||
T1=FinTT;
|
T1=FinTT;
|
||||||
NewTriangle(numP2,numP3,FinTP,TTriangles,MySurface,TPoints);
|
NewTriangle(numP2,numP3,FinTP,TTriangles,MySurface,TPoints);
|
||||||
FinTT++;
|
FinTT++;
|
||||||
T2=FinTT;;
|
T2=FinTT;
|
||||||
NewTriangle(numP3,numP1,FinTP,TTriangles,MySurface,TPoints);
|
NewTriangle(numP3,numP1,FinTP,TTriangles,MySurface,TPoints);
|
||||||
FinTT++;
|
FinTT++;
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ Standard_Boolean IntWalk_IWalking::Cadrage
|
|||||||
}
|
}
|
||||||
BornSup(1) = BornInf(1); // limit the parameter
|
BornSup(1) = BornInf(1); // limit the parameter
|
||||||
UVap(1) = BornInf(1);
|
UVap(1) = BornInf(1);
|
||||||
UVap(2) += Step*Duvy*StepSign;;
|
UVap(2) += Step*Duvy*StepSign;
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
else if (supu) { // jag 940616
|
else if (supu) { // jag 940616
|
||||||
|
@ -1769,7 +1769,7 @@ static TopoDS_Edge NewEdge(const TopoDS_Edge& edg,
|
|||||||
else {
|
else {
|
||||||
Vf.Orientation(TopAbs_REVERSED);
|
Vf.Orientation(TopAbs_REVERSED);
|
||||||
Vl.Orientation(TopAbs_FORWARD);
|
Vl.Orientation(TopAbs_FORWARD);
|
||||||
rev = Standard_True;;
|
rev = Standard_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
B.MakeEdge(NewEdg,Cimg,Precision::Confusion());
|
B.MakeEdge(NewEdg,Cimg,Precision::Confusion());
|
||||||
|
@ -448,7 +448,7 @@ Standard_Boolean OSD_FileNode::Exists ()
|
|||||||
{
|
{
|
||||||
myError.Reset();
|
myError.Reset();
|
||||||
|
|
||||||
Standard_Boolean retVal = Standard_False;;
|
Standard_Boolean retVal = Standard_False;
|
||||||
TCollection_AsciiString fName;
|
TCollection_AsciiString fName;
|
||||||
|
|
||||||
myPath.SystemName ( fName );
|
myPath.SystemName ( fName );
|
||||||
|
@ -452,7 +452,7 @@ void PLib::RationalDerivative(const Standard_Integer Degree,
|
|||||||
RationalArray[Index] = PolesArray[OtherIndex]; Index++; OtherIndex++;
|
RationalArray[Index] = PolesArray[OtherIndex]; Index++; OtherIndex++;
|
||||||
}
|
}
|
||||||
Index -= Dimension;
|
Index -= Dimension;
|
||||||
OtherIndex ++;;
|
++OtherIndex;
|
||||||
|
|
||||||
for (jj = ii - 1 ; jj >= 0 ; jj--) {
|
for (jj = ii - 1 ; jj >= 0 ; jj--) {
|
||||||
Factor = binomial_array[jj] * PolesArray[(ii-jj) * Dimension1 + Dimension];
|
Factor = binomial_array[jj] * PolesArray[(ii-jj) * Dimension1 + Dimension];
|
||||||
|
@ -586,7 +586,7 @@ static Standard_Integer OCC394 (Draw_Interpretor& di, Standard_Integer argc, con
|
|||||||
aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
|
aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
|
||||||
aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
|
aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
|
||||||
//aSfwr->FixSmallEdges();
|
//aSfwr->FixSmallEdges();
|
||||||
TopoDS_Shape resShape = aSfwr->Shape();;
|
TopoDS_Shape resShape = aSfwr->Shape();
|
||||||
DBRep::Set ( argv[1], resShape );
|
DBRep::Set ( argv[1], resShape );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1688,7 +1688,7 @@ static Standard_Integer OCC23951 (Draw_Interpretor& di, Standard_Integer argc, c
|
|||||||
di << "Usage: " << argv[0] << " invalid number of arguments\n";
|
di << "Usage: " << argv[0] << " invalid number of arguments\n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
Handle(TDocStd_Document) aDoc = new TDocStd_Document("dummy");;
|
Handle(TDocStd_Document) aDoc = new TDocStd_Document("dummy");
|
||||||
TopoDS_Shape s1 = BRepPrimAPI_MakeBox(1,1,1).Shape();
|
TopoDS_Shape s1 = BRepPrimAPI_MakeBox(1,1,1).Shape();
|
||||||
TDF_Label lab1 = XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->NewShape();
|
TDF_Label lab1 = XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->NewShape();
|
||||||
XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->SetShape(lab1, s1);
|
XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->SetShape(lab1, s1);
|
||||||
|
@ -2716,7 +2716,7 @@ template<typename T> void AllocDummyArr (Draw_Interpretor& theDI, int theN1, int
|
|||||||
|
|
||||||
if (aMem1 > aMem0)
|
if (aMem1 > aMem0)
|
||||||
theDI << "Error: memory increased by " << (int)(aMem1 - aMem0) << " bytes\n";
|
theDI << "Error: memory increased by " << (int)(aMem1 - aMem0) << " bytes\n";
|
||||||
};
|
}
|
||||||
|
|
||||||
static Standard_Integer OCC29064 (Draw_Interpretor& theDI, Standard_Integer theArgc, const char** theArgv)
|
static Standard_Integer OCC29064 (Draw_Interpretor& theDI, Standard_Integer theArgc, const char** theArgv)
|
||||||
{
|
{
|
||||||
|
@ -707,7 +707,7 @@ Standard_Boolean STEPConstruct_ValidationProps::GetPropPnt (const Handle(StepRep
|
|||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "Warning: Point " << Model()->StringLabel ( P )->String() << " is not valid for centroid" << std::endl;
|
std::cout << "Warning: Point " << Model()->StringLabel ( P )->String() << " is not valid for centroid" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
return Standard_False;;
|
return Standard_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
gp_Pnt pos ( P->CoordinatesValue(1), P->CoordinatesValue(2), P->CoordinatesValue(3) );
|
gp_Pnt pos ( P->CoordinatesValue(1), P->CoordinatesValue(2), P->CoordinatesValue(3) );
|
||||||
|
@ -629,7 +629,7 @@ static Standard_Integer fixsmalledges(Draw_Interpretor& di, Standard_Integer n,
|
|||||||
aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
|
aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
|
||||||
aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
|
aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
|
||||||
//aSfwr->FixSmallEdges();
|
//aSfwr->FixSmallEdges();
|
||||||
TopoDS_Shape resShape = aSfwr->Shape();;
|
TopoDS_Shape resShape = aSfwr->Shape();
|
||||||
DBRep::Set ( a[1], resShape );
|
DBRep::Set ( a[1], resShape );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -641,7 +641,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
|
|||||||
/*if(aSurf->IsVPeriodic()) {
|
/*if(aSurf->IsVPeriodic()) {
|
||||||
|
|
||||||
Standard_Real aDelta = (VL > VF ? VL - VF : VF - VL );
|
Standard_Real aDelta = (VL > VF ? VL - VF : VF - VL );
|
||||||
v1 = (aDelta > 2.*M_PI ? 0. : VF + ShapeAnalysis::AdjustByPeriod(VF,0.5*(UL+UF),2*M_PI)); ;
|
v1 = (aDelta > 2.*M_PI ? 0. : VF + ShapeAnalysis::AdjustByPeriod(VF,0.5*(UL+UF),2*M_PI));
|
||||||
v2 = (aDelta > 2.*M_PI ? 2.* M_PI : v1 + aDelta);
|
v2 = (aDelta > 2.*M_PI ? 2.* M_PI : v1 + aDelta);
|
||||||
}*/
|
}*/
|
||||||
if(!aSurf->IsVPeriodic()) {//else
|
if(!aSurf->IsVPeriodic()) {//else
|
||||||
|
@ -202,7 +202,7 @@ Standard_Boolean ShapeFix::SameParameter(const TopoDS_Shape& shape,
|
|||||||
if ( crv.IsNull() )
|
if ( crv.IsNull() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Handle(Geom2d_Curve) c2d = BRep_Tool::CurveOnSurface ( edge, face, f, l );;
|
Handle(Geom2d_Curve) c2d = BRep_Tool::CurveOnSurface ( edge, face, f, l );
|
||||||
if ( c2d.IsNull() ) continue;
|
if ( c2d.IsNull() ) continue;
|
||||||
Handle(Geom2dAdaptor_HCurve) GHPC = new Geom2dAdaptor_HCurve ( c2d, f, l );
|
Handle(Geom2dAdaptor_HCurve) GHPC = new Geom2dAdaptor_HCurve ( c2d, f, l );
|
||||||
Adaptor3d_CurveOnSurface ACS(GHPC,AS);
|
Adaptor3d_CurveOnSurface ACS(GHPC,AS);
|
||||||
|
@ -634,7 +634,7 @@ Standard_Integer ShapeFix_ComposeShell::ComputeCode (const Handle(ShapeExtend_Wi
|
|||||||
Standard_Integer i; // svv #1
|
Standard_Integer i; // svv #1
|
||||||
for ( i=begInd; ; i++ ) {
|
for ( i=begInd; ; i++ ) {
|
||||||
if ( i > nb ) i = 1;
|
if ( i > nb ) i = 1;
|
||||||
TopoDS_Edge edge = wire->Edge ( i );;
|
TopoDS_Edge edge = wire->Edge ( i );
|
||||||
|
|
||||||
Handle(Geom2d_Curve) c2d;
|
Handle(Geom2d_Curve) c2d;
|
||||||
Standard_Real f, l;
|
Standard_Real f, l;
|
||||||
|
@ -1421,7 +1421,7 @@ Standard_Boolean ShapeFix_Wire::FixShifted()
|
|||||||
|
|
||||||
ShapeBuild_Edge sbe;
|
ShapeBuild_Edge sbe;
|
||||||
Standard_Integer nb = sbwd->NbEdges();
|
Standard_Integer nb = sbwd->NbEdges();
|
||||||
Standard_Boolean end = (nb == 0), degstop = Standard_False;;
|
Standard_Boolean end = (nb == 0), degstop = Standard_False;
|
||||||
Standard_Integer stop = nb;
|
Standard_Integer stop = nb;
|
||||||
Standard_Integer degn2 = 0;
|
Standard_Integer degn2 = 0;
|
||||||
gp_Pnt pdeg;
|
gp_Pnt pdeg;
|
||||||
@ -2239,7 +2239,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersectingEdge (const Standard_Integer
|
|||||||
|
|
||||||
if (myRemoveLoopMode<1) {
|
if (myRemoveLoopMode<1) {
|
||||||
for ( Standard_Integer iter=0; iter < 30; iter++ ) {
|
for ( Standard_Integer iter=0; iter < 30; iter++ ) {
|
||||||
Standard_Boolean loopRemoved = Standard_False;;
|
Standard_Boolean loopRemoved = Standard_False;
|
||||||
Standard_Real prevFirst = 0 , prevLast = 0;
|
Standard_Real prevFirst = 0 , prevLast = 0;
|
||||||
for ( Standard_Integer i=1; i<=points2d.Length(); i++ ) {
|
for ( Standard_Integer i=1; i<=points2d.Length(); i++ ) {
|
||||||
gp_Pnt pint = points3d.Value(i);
|
gp_Pnt pint = points3d.Value(i);
|
||||||
|
@ -176,7 +176,7 @@ ShapeUpgrade_SplitSurfaceContinuity::ShapeUpgrade_SplitSurfaceContinuity()
|
|||||||
default :
|
default :
|
||||||
case GeomAbs_C1 : BasCriterion = GeomAbs_C2; break;
|
case GeomAbs_C1 : BasCriterion = GeomAbs_C2; break;
|
||||||
case GeomAbs_C2 : BasCriterion = GeomAbs_C3; break;
|
case GeomAbs_C2 : BasCriterion = GeomAbs_C3; break;
|
||||||
case GeomAbs_C3 : //if (ShapeUpgrade::Debug()) std::cout<<". this criterion is not suitable for a Offset Surface"<<std::endl;;
|
case GeomAbs_C3 : //if (ShapeUpgrade::Debug()) std::cout<<". this criterion is not suitable for a Offset Surface"<<std::endl;
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "Warning: ShapeUpgrade_SplitSurfaceContinuity: criterion C3 for Offset surface" << std::endl;
|
std::cout << "Warning: ShapeUpgrade_SplitSurfaceContinuity: criterion C3 for Offset surface" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
|
|
||||||
Standard_EXPORT Handle(TColgp_HArray1OfXYZ) Points() const;
|
Standard_EXPORT Handle(TColgp_HArray1OfXYZ) Points() const;
|
||||||
|
|
||||||
DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList,StepVisual_TessellatedItem);
|
DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList,StepVisual_TessellatedItem)
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ class Standard_Transient;
|
|||||||
|
|
||||||
typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
|
typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
|
||||||
|
|
||||||
DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem);
|
DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem)
|
||||||
|
|
||||||
|
|
||||||
class StepVisual_TessellatedCurveSet : public StepVisual_TessellatedItem
|
class StepVisual_TessellatedCurveSet : public StepVisual_TessellatedItem
|
||||||
@ -55,6 +55,6 @@ private:
|
|||||||
NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
|
NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
|
||||||
|
|
||||||
public :
|
public :
|
||||||
DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem);
|
DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem)
|
||||||
};
|
};
|
||||||
#endif // StepVisual_TessellatedCurveSet
|
#endif // StepVisual_TessellatedCurveSet
|
||||||
|
@ -32,6 +32,6 @@ public:
|
|||||||
//! Returns a DraughtingCalloutElement select type
|
//! Returns a DraughtingCalloutElement select type
|
||||||
Standard_EXPORT StepVisual_TessellatedItem();
|
Standard_EXPORT StepVisual_TessellatedItem();
|
||||||
|
|
||||||
DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedItem,StepGeom_GeometricRepresentationItem);
|
DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedItem,StepGeom_GeometricRepresentationItem)
|
||||||
};
|
};
|
||||||
#endif // StepVisual_TessellatedItem
|
#endif // StepVisual_TessellatedItem
|
||||||
|
@ -116,7 +116,7 @@ void TDF_Delta::BeforeOrAfterApply(const Standard_Boolean before) const
|
|||||||
std::cout<<"Undo(): dead lock between these attributes:"<<std::endl;
|
std::cout<<"Undo(): dead lock between these attributes:"<<std::endl;
|
||||||
for (itr.Initialize(ADlist); itr.More(); itr.Next()) {
|
for (itr.Initialize(ADlist); itr.More(); itr.Next()) {
|
||||||
std::cout<<"AttributeDelta type = "<<itr.Value()->DynamicType()->Name();
|
std::cout<<"AttributeDelta type = "<<itr.Value()->DynamicType()->Name();
|
||||||
std::cout<<" Attribute type = "<<itr.Value()->Attribute()->DynamicType()->Name()<<std::endl;;
|
std::cout<<" Attribute type = "<<itr.Value()->Attribute()->DynamicType()->Name()<<std::endl;
|
||||||
if (before)
|
if (before)
|
||||||
std::cout<<"BeforeUndo(): dead lock."<<std::endl;
|
std::cout<<"BeforeUndo(): dead lock."<<std::endl;
|
||||||
else
|
else
|
||||||
|
@ -1115,7 +1115,7 @@ void TPrsStd_ConstraintTools::ComputeConcentric(const Handle(TDataXtd_Constraint
|
|||||||
//ota : to allow concentric constraint display between vertex and edge
|
//ota : to allow concentric constraint display between vertex and edge
|
||||||
if (shape1.ShapeType() != TopAbs_EDGE && shape2.ShapeType() != TopAbs_EDGE) {
|
if (shape1.ShapeType() != TopAbs_EDGE && shape2.ShapeType() != TopAbs_EDGE) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: concentric between two vertexes : NOT DISPLAYED" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: concentric between two vertexes : NOT DISPLAYED" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
@ -1124,7 +1124,7 @@ void TPrsStd_ConstraintTools::ComputeConcentric(const Handle(TDataXtd_Constraint
|
|||||||
Handle(Geom_Plane) aplane = Handle(Geom_Plane)::DownCast(ageom3);
|
Handle(Geom_Plane) aplane = Handle(Geom_Plane)::DownCast(ageom3);
|
||||||
if (aplane.IsNull()) {
|
if (aplane.IsNull()) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: nul plane" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: nul plane" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
@ -1394,7 +1394,7 @@ void TPrsStd_ConstraintTools::ComputeEqualDistance(const Handle(TDataXtd_Constra
|
|||||||
Standard_Integer nbgeom = aConst->NbGeometries();
|
Standard_Integer nbgeom = aConst->NbGeometries();
|
||||||
if (nbgeom < 4) {
|
if (nbgeom < 4) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeEqual: at least four geometries are needed" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeEqual: at least four geometries are needed" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
@ -1547,7 +1547,7 @@ void TPrsStd_ConstraintTools::ComputeEqualRadius(const Handle(TDataXtd_Constrain
|
|||||||
Standard_Integer nbgeom = aConst->NbGeometries();
|
Standard_Integer nbgeom = aConst->NbGeometries();
|
||||||
if (nbgeom < 2) {
|
if (nbgeom < 2) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeEqualRadius: at least two geometries are needed" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeEqualRadius: at least two geometries are needed" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
@ -1639,7 +1639,7 @@ void TPrsStd_ConstraintTools::ComputeDiameter(const Handle(TDataXtd_Constraint)&
|
|||||||
Standard_Integer nbgeom = aConst->NbGeometries();
|
Standard_Integer nbgeom = aConst->NbGeometries();
|
||||||
if (nbgeom < 1) {
|
if (nbgeom < 1) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeDiameter: at least one constrainte is needed" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeDiameter: at least one constrainte is needed" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
@ -1700,14 +1700,14 @@ void TPrsStd_ConstraintTools::ComputeFix(const Handle(TDataXtd_Constraint)& aCon
|
|||||||
Standard_Integer nbgeom = aConst->NbGeometries();
|
Standard_Integer nbgeom = aConst->NbGeometries();
|
||||||
if (nbgeom < 1) {
|
if (nbgeom < 1) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeFix: at least one constrainte is needed" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeFix: at least one constrainte is needed" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!aConst->IsPlanar()) {
|
if (!aConst->IsPlanar()) {
|
||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
std::cout << "TPrsStd_ConstraintTools::ComputeFix: must be a planar constraint" << std::endl;;
|
std::cout << "TPrsStd_ConstraintTools::ComputeFix: must be a planar constraint" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
NullifyAIS(anAIS);
|
NullifyAIS(anAIS);
|
||||||
return;
|
return;
|
||||||
|
@ -390,7 +390,7 @@ void TopOpeBRep_FacesIntersector::PrepareLines()
|
|||||||
const Handle(IntPatch_Line)& L = myIntersector.Line(i);
|
const Handle(IntPatch_Line)& L = myIntersector.Line(i);
|
||||||
LI.SetLine(L,S1,S2);
|
LI.SetLine(L,S1,S2);
|
||||||
LI.Index(i);
|
LI.Index(i);
|
||||||
myLineNb++;;
|
myLineNb++;
|
||||||
}*/}
|
}*/}
|
||||||
|
|
||||||
if (newV) {
|
if (newV) {
|
||||||
|
@ -131,7 +131,7 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
|
|||||||
aFName+=postfix;
|
aFName+=postfix;
|
||||||
|
|
||||||
for (i=1; i<=n; i++) {
|
for (i=1; i<=n; i++) {
|
||||||
TCollection_AsciiString aI(i), aName;;
|
TCollection_AsciiString aI(i), aName;
|
||||||
aName+=aFName; aName+=aI;
|
aName+=aFName; aName+=aI;
|
||||||
|
|
||||||
const TopoDS_Shape& aShape=aMapOfShapeWithState.FindKey(i);
|
const TopoDS_Shape& aShape=aMapOfShapeWithState.FindKey(i);
|
||||||
|
@ -437,7 +437,7 @@ void TopOpeBRepBuild_Builder::SplitSectionEdges()
|
|||||||
if (tSPS) debsplitsemess(iE);
|
if (tSPS) debsplitsemess(iE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Standard_Boolean isspliton = IsSplit(E,TopAbs_ON);;
|
Standard_Boolean isspliton = IsSplit(E,TopAbs_ON);
|
||||||
if (!isspliton) continue;
|
if (!isspliton) continue;
|
||||||
|
|
||||||
const TopTools_ListOfShape& LESD = BDS.ShapeSameDomain(E);
|
const TopTools_ListOfShape& LESD = BDS.ShapeSameDomain(E);
|
||||||
|
@ -214,7 +214,7 @@ Standard_Boolean TopOpeBRepDS_Check::CheckDS(const Standard_Integer I,
|
|||||||
}
|
}
|
||||||
if(!myMapShapeStatus.IsBound(I))
|
if(!myMapShapeStatus.IsBound(I))
|
||||||
myMapShapeStatus.Bind(I,TopOpeBRepDS_OK);
|
myMapShapeStatus.Bind(I,TopOpeBRepDS_OK);
|
||||||
return Standard_True;;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -705,7 +705,7 @@ Standard_Boolean TopOpeBRepTool::CorrectONUVISO(const TopoDS_Face& Fin, TopoDS_F
|
|||||||
#ifdef OCCT_DEBUG
|
#ifdef OCCT_DEBUG
|
||||||
if (trc) {
|
if (trc) {
|
||||||
std::cout<<"CorrectONUVISO ";
|
std::cout<<"CorrectONUVISO ";
|
||||||
std::cout<<"iso faulty "<<tocorrectisoe<<" deg faulty "<<tocorrectdege<<std::endl;;
|
std::cout<<"iso faulty "<<tocorrectisoe<<" deg faulty "<<tocorrectdege<<std::endl;
|
||||||
}
|
}
|
||||||
debcorrUV();
|
debcorrUV();
|
||||||
#endif
|
#endif
|
||||||
|
@ -660,7 +660,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_Eshared(const TopoDS_Shape& v,const To
|
|||||||
Standard_EXPORT Standard_Boolean FUN_tool_parVonE(const TopoDS_Vertex& v,const TopoDS_Edge& E,Standard_Real& par)
|
Standard_EXPORT Standard_Boolean FUN_tool_parVonE(const TopoDS_Vertex& v,const TopoDS_Edge& E,Standard_Real& par)
|
||||||
{
|
{
|
||||||
Standard_Real tol = Precision::Confusion();
|
Standard_Real tol = Precision::Confusion();
|
||||||
Standard_Boolean isVofE = Standard_False;;
|
Standard_Boolean isVofE = Standard_False;
|
||||||
TopExp_Explorer ex;
|
TopExp_Explorer ex;
|
||||||
for (ex.Init(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
|
for (ex.Init(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
|
||||||
// for (TopExp_Explorer ex(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
|
// for (TopExp_Explorer ex(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
|
||||||
|
@ -50,7 +50,7 @@ inline void Units_UnitsDictionary::Dump(const Standard_Integer alevel) const
|
|||||||
std::cout<<" UNITS DICTIONARY : "<<std::endl;
|
std::cout<<" UNITS DICTIONARY : "<<std::endl;
|
||||||
for(;explorer.MoreQuantity();explorer.NextQuantity())
|
for(;explorer.MoreQuantity();explorer.NextQuantity())
|
||||||
{
|
{
|
||||||
std::cout<<explorer.Quantity()<<std::endl;;
|
std::cout<<explorer.Quantity()<<std::endl;
|
||||||
for(; explorer.MoreUnit(); explorer.NextUnit())
|
for(; explorer.MoreUnit(); explorer.NextUnit())
|
||||||
std::cout<<" "<<explorer.Unit()<<std::endl;
|
std::cout<<" "<<explorer.Unit()<<std::endl;
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ private:
|
|||||||
Standard_Boolean myHasAxis;
|
Standard_Boolean myHasAxis;
|
||||||
gp_Ax2 myPlane;
|
gp_Ax2 myPlane;
|
||||||
gp_Pnt myPnt;
|
gp_Pnt myPnt;
|
||||||
gp_Pnt myPntText;;
|
gp_Pnt myPntText;
|
||||||
Standard_Boolean myHasPlane;
|
Standard_Boolean myHasPlane;
|
||||||
Standard_Boolean myHasPnt;
|
Standard_Boolean myHasPnt;
|
||||||
Standard_Boolean myHasPntText;
|
Standard_Boolean myHasPntText;
|
||||||
|
@ -35,7 +35,7 @@ class XCAFDoc_AssemblyItemRef : public TDF_Attribute
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DEFINE_STANDARD_RTTIEXT(XCAFDoc_AssemblyItemRef, TDF_Attribute);
|
DEFINE_STANDARD_RTTIEXT(XCAFDoc_AssemblyItemRef, TDF_Attribute)
|
||||||
|
|
||||||
Standard_EXPORT static const Standard_GUID& GetID();
|
Standard_EXPORT static const Standard_GUID& GetID();
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ static IFSelect_ReturnStatus XSControl_twmode(const Handle(IFSelect_SessionPilot
|
|||||||
if (control->ModeWriteBounds (modemin,modemax)) {
|
if (control->ModeWriteBounds (modemin,modemax)) {
|
||||||
sout<<"Write Mode : allowed values "<<modemin<<" to "<<modemax<<Message_EndLine;
|
sout<<"Write Mode : allowed values "<<modemin<<" to "<<modemax<<Message_EndLine;
|
||||||
for (Standard_Integer modd = modemin; modd <= modemax; modd ++) {
|
for (Standard_Integer modd = modemin; modd <= modemax; modd ++) {
|
||||||
sout<<modd<<" : "<<control->ModeWriteHelp (modd)<<Message_EndLine;;
|
sout<<modd<<" : "<<control->ModeWriteHelp (modd)<<Message_EndLine;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sout<<"Write Mode : actual = "<<TW->TransferMode()<<Message_EndLine;
|
sout<<"Write Mode : actual = "<<TW->TransferMode()<<Message_EndLine;
|
||||||
|
@ -452,7 +452,7 @@ void math_BFGS::Perform(math_MultipleVarFunctionWithGradient& F,
|
|||||||
o << " Status = Done \n";
|
o << " Status = Done \n";
|
||||||
o <<" Location Vector = " << Location() << "\n";
|
o <<" Location Vector = " << Location() << "\n";
|
||||||
o <<" Minimum value = "<< Minimum()<<"\n";
|
o <<" Minimum value = "<< Minimum()<<"\n";
|
||||||
o <<" Number of iterations = "<<NbIterations() <<"\n";;
|
o <<" Number of iterations = "<<NbIterations() <<"\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
o<< " Status = not Done because " << (Standard_Integer)TheStatus << "\n";
|
o<< " Status = not Done because " << (Standard_Integer)TheStatus << "\n";
|
||||||
|
@ -459,7 +459,7 @@ void math_TrigonometricFunctionRoots::Perform(const Standard_Real A,
|
|||||||
if(NbSol<4) {
|
if(NbSol<4) {
|
||||||
Standard_Integer startIndex = NbSol + 1;
|
Standard_Integer startIndex = NbSol + 1;
|
||||||
for( Standard_Integer solIt = startIndex; solIt <= 4; solIt++) {
|
for( Standard_Integer solIt = startIndex; solIt <= 4; solIt++) {
|
||||||
Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;;
|
Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;
|
||||||
X = Teta - MyBorneInf;
|
X = Teta - MyBorneInf;
|
||||||
if ((X >= (-Epsilon(Delta))) && (X <= Delta + Epsilon(Delta))) {
|
if ((X >= (-Epsilon(Delta))) && (X <= Delta + Epsilon(Delta))) {
|
||||||
if (Abs(A-C+E) <= Eps) {
|
if (Abs(A-C+E) <= Eps) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user