1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00

0024162: Eliminate CLang compiler warning

Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
omy 2013-09-11 15:49:07 +04:00 committed by abv
parent eafb234bf1
commit 258ff83bb6
77 changed files with 151 additions and 334 deletions

View File

@ -195,7 +195,6 @@ fields
myWire : Wire from TopoDS; myWire : Wire from TopoDS;
myPntAttach : Pnt from gp; myPntAttach : Pnt from gp;
haspos : Boolean from Standard;
end FixRelation; end FixRelation;

View File

@ -91,8 +91,7 @@ AIS_FixRelation::AIS_FixRelation(const TopoDS_Shape& aShape,
const Handle(Geom_Plane)& aPlane, const Handle(Geom_Plane)& aPlane,
const TopoDS_Wire& aWire) const TopoDS_Wire& aWire)
:AIS_Relation(), :AIS_Relation(),
myWire(aWire), myWire(aWire)
haspos(Standard_False)
{ {
myFShape = aShape; myFShape = aShape;
myPlane = aPlane; myPlane = aPlane;
@ -111,8 +110,7 @@ AIS_FixRelation::AIS_FixRelation(const TopoDS_Shape& aShape,
const gp_Pnt& aPosition, const gp_Pnt& aPosition,
const Standard_Real anArrowSize) const Standard_Real anArrowSize)
:AIS_Relation(), :AIS_Relation(),
myWire(aWire), myWire(aWire)
haspos(Standard_False)
{ {
myFShape = aShape; myFShape = aShape;
myPlane = aPlane; myPlane = aPlane;
@ -132,8 +130,7 @@ AIS_FixRelation::AIS_FixRelation(const TopoDS_Shape& aShape,
//======================================================================= //=======================================================================
AIS_FixRelation::AIS_FixRelation(const TopoDS_Shape& aShape, AIS_FixRelation::AIS_FixRelation(const TopoDS_Shape& aShape,
const Handle(Geom_Plane)& aPlane): const Handle(Geom_Plane)& aPlane)
haspos(Standard_False)
{ {
myFShape = aShape; myFShape = aShape;
myPlane = aPlane; myPlane = aPlane;
@ -150,8 +147,7 @@ AIS_FixRelation::AIS_FixRelation(
const TopoDS_Shape& aShape, const TopoDS_Shape& aShape,
const Handle(Geom_Plane)& aPlane, const Handle(Geom_Plane)& aPlane,
const gp_Pnt& aPosition, const gp_Pnt& aPosition,
const Standard_Real anArrowSize): const Standard_Real anArrowSize)
haspos(Standard_False)
{ {
myFShape = aShape; myFShape = aShape;
myPlane = aPlane; myPlane = aPlane;

View File

@ -152,7 +152,6 @@ is
fields fields
myName : AsciiString from TCollection; myName : AsciiString from TCollection;
mycuri : Integer from Standard;
-- SAV : OCC189 myresult : HArray1OfTransient from TColStd; -- SAV : OCC189 myresult : HArray1OfTransient from TColStd;
myresult : NListTransient from AIS; myresult : NListTransient from AIS;
myIterator : NListIteratorOfListTransient from AIS; myIterator : NListIteratorOfListTransient from AIS;

View File

@ -71,7 +71,6 @@ static TColStd_SequenceOfTransient& AIS_Sel_GetSelections()
//======================================================================= //=======================================================================
AIS_Selection::AIS_Selection(const Standard_CString aName) : AIS_Selection::AIS_Selection(const Standard_CString aName) :
myName(TCollection_AsciiString(aName)), myName(TCollection_AsciiString(aName)),
mycuri(0),
#if !defined USE_MAP && !defined OCC189 #if !defined USE_MAP && !defined OCC189
myresult(new TColStd_HArray1OfTransient(1,MaxSizeOfResult)), myresult(new TColStd_HArray1OfTransient(1,MaxSizeOfResult)),
#endif #endif

View File

@ -19,66 +19,37 @@
// and conditions governing the rights and limitations under the License. // and conditions governing the rights and limitations under the License.
#define OCC189 //SAV: 18/03/02 array was replaced with list. //SAV: 18/03/02 array was replaced with list.
//san : 18/04/03 USE_MAP - additional datamap is used to speed up access
#define USE_MAP //san : 18/04/03 USE_MAP - additional datamap is used to speed up access
//to certain owners in <myresult> list //to certain owners in <myresult> list
#if !defined( OCC189 ) && !defined( USE_MAP )
#include <TColStd_HArray1OfTransient.hxx>
#else
#include <TColStd_MapOfTransient.hxx> #include <TColStd_MapOfTransient.hxx>
#include <TColStd_MapIteratorOfMapOfTransient.hxx> #include <TColStd_MapIteratorOfMapOfTransient.hxx>
#endif
#if !defined( OCC189 ) && !defined( USE_MAP )
inline const Handle(TColStd_HArray1OfTransient)& AIS_Selection::Objects() const
#else
inline const AIS_NListTransient& AIS_Selection::Objects() const inline const AIS_NListTransient& AIS_Selection::Objects() const
#endif
{ {
return myresult; return myresult;
} }
inline void AIS_Selection::Init() inline void AIS_Selection::Init()
{ {
#if !defined( OCC189 ) && !defined( USE_MAP )
mycuri=1;
#else
myIterator = AIS_NListTransient::Iterator ( myresult ); myIterator = AIS_NListTransient::Iterator ( myresult );
#endif
} }
inline Standard_Boolean AIS_Selection::More() const inline Standard_Boolean AIS_Selection::More() const
{ {
#if !defined( OCC189 ) && !defined( USE_MAP )
return (myresult.IsNull() ? Standard_False : (mycuri<=myNb));
#else
return myIterator.More(); return myIterator.More();
#endif
} }
inline void AIS_Selection::Next () { inline void AIS_Selection::Next ()
#if !defined( OCC189 ) && !defined( USE_MAP ) {
mycuri++;
#else
myIterator.Next(); myIterator.Next();
#endif
} }
inline const Handle(Standard_Transient)& AIS_Selection::Value() const inline const Handle(Standard_Transient)& AIS_Selection::Value() const
{ {
#if !defined( OCC189 ) && !defined( USE_MAP )
return myresult->Value(mycuri);
#else
return myIterator.Value(); return myIterator.Value();
#endif
} }
inline Standard_Integer AIS_Selection::NbStored() const inline Standard_Integer AIS_Selection::NbStored() const
{ {
#if !defined( OCC189 ) && !defined( USE_MAP )
return myNb;
#else
return myresult.Extent(); return myresult.Extent();
#endif
} }

View File

@ -257,11 +257,5 @@ fields
myDeflection : Real from Standard; myDeflection : Real from Standard;
myAspect : AspectFillArea3d from Graphic3d; myAspect : AspectFillArea3d from Graphic3d;
mytexture : Texture2Dmanual from Graphic3d; mytexture : Texture2Dmanual from Graphic3d;
Umin : Real from Standard;
Umax : Real from Standard;
Vmin : Real from Standard;
Vmax : Real from Standard;
dUmax : Real from Standard;
dVmax : Real from Standard;
myModulate : Boolean from Standard; myModulate : Boolean from Standard;
end TexturedShape; end TexturedShape;

View File

@ -997,7 +997,7 @@ int mma1fer_(integer *,//ndimen,
/* 0 = constraints of passage to limits (i.e. C0), */ /* 0 = constraints of passage to limits (i.e. C0), */
/* 1 = C0 + constraintes of 1st derivatives (i.e. C1), */ /* 1 = C0 + constraintes of 1st derivatives (i.e. C1), */
/* 2 = C1 + constraintes of 2nd derivatives (i.e. C2). */ /* 2 = C1 + constraintes of 2nd derivatives (i.e. C2). */
/* NDGJAC: Degree of development in series to use for the calculation /* NDGJAC: Degree of development in series to use for the calculation */
/* in the base of Jacobi. */ /* in the base of Jacobi. */
/* CRVJAC: Table of coeff. of the curve of approximation in the */ /* CRVJAC: Table of coeff. of the curve of approximation in the */
/* base of Jacobi. */ /* base of Jacobi. */
@ -1022,7 +1022,7 @@ int mma1fer_(integer *,//ndimen,
/* =-1, warning, required tolerance can't be */ /* =-1, warning, required tolerance can't be */
/* met with coefficients NFCLIM. */ /* met with coefficients NFCLIM. */
/* = 1, order of constraints (IORDRE) is not within authorised values */ /* = 1, order of constraints (IORDRE) is not within authorised values */
/*
/* COMMONS USED : */ /* COMMONS USED : */
/* ------------------ */ /* ------------------ */
@ -1204,7 +1204,7 @@ int AdvApp2Var_ApproxF2var::mma1her_(const integer *iordre,
/* DESCRIPTION/NOTES/LIMITATIONS : */ /* DESCRIPTION/NOTES/LIMITATIONS : */
/* ----------------------------------- */ /* ----------------------------------- */
/* The part of HERMIT(*,2*i+j) table where j=1 or 2 and i=0 to IORDRE, /* The part of HERMIT(*,2*i+j) table where j=1 or 2 and i=0 to IORDRE, */
/* contains the coefficients of the polynom of degree 2*IORDRE+1 */ /* contains the coefficients of the polynom of degree 2*IORDRE+1 */
/* such as ALL values in -1 and in +1 of this polynom and its */ /* such as ALL values in -1 and in +1 of this polynom and its */
/* derivatives till order of derivation IORDRE are NULL, */ /* derivatives till order of derivation IORDRE are NULL, */
@ -1351,14 +1351,14 @@ int mma1jak_(integer *ndimen,
/* ------------------ */ /* ------------------ */
/* NDIMEN: Total dimension of the space (sum of dimensions */ /* NDIMEN: Total dimension of the space (sum of dimensions */
/* of sub-spaces) */ /* of sub-spaces) */
/* NBROOT: Nb of points of discretization of the iso, extremities not /* NBROOT: Nb of points of discretization of the iso, extremities not */
/* included. */ /* included. */
/* IORDRE: Order of constraint at the extremities of the boundary */ /* IORDRE: Order of constraint at the extremities of the boundary */
/* -1 = no constraints, */ /* -1 = no constraints, */
/* 0 = constraints of passage of limits (i.e. C0), */ /* 0 = constraints of passage of limits (i.e. C0), */
/* 1 = C0 + constraints of 1st derivatives (i.e. C1), */ /* 1 = C0 + constraints of 1st derivatives (i.e. C1), */
/* 2 = C1 + constraints of 2nd derivatives (i.e. C2). */ /* 2 = C1 + constraints of 2nd derivatives (i.e. C2). */
/* NDGJAC: Degree of development in series to be used for calculation in the /* NDGJAC: Degree of development in series to be used for calculation in the */
/* base of Jacobi. */ /* base of Jacobi. */
/* OUTPUT ARGUMENTS : */ /* OUTPUT ARGUMENTS : */
@ -1908,7 +1908,7 @@ int AdvApp2Var_ApproxF2var::mma2ac2_(const integer *ndimen,
/* ------------------- */ /* ------------------- */
/* PATJAC: Table of coefficients of the polynom P(u,v) by approximation */ /* PATJAC: Table of coefficients of the polynom P(u,v) by approximation */
/* of F(u,v) WITH taking into account of constraints. */ /* of F(u,v) WITH taking into account of constraints. */
/* > *//* /* > */
/* > */ /* > */
@ -2350,7 +2350,7 @@ int mma2cd1_(integer *ndimen,
*/ */
/* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */ /* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */
/* This is also the nb of root of Legendre polynom where discretization is done. */ /* This is also the nb of root of Legendre polynom where discretization is done. */
/* VROOTL: Table of discretization parameters on (-1,1) by V. /* VROOTL: Table of discretization parameters on (-1,1) by V. */
/* IORDRU: Order of constraint imposed at the extremities of iso-V */ /* IORDRU: Order of constraint imposed at the extremities of iso-V */
/* = 0, calculate the extremities of iso-V */ /* = 0, calculate the extremities of iso-V */
/* = 1, calculate, additionally, the 1st derivative in the direction of iso-V */ /* = 1, calculate, additionally, the 1st derivative in the direction of iso-V */
@ -2707,7 +2707,7 @@ int mma2cd2_(integer *ndimen,
*/ */
/* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */ /* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */
/* This is also the nb of root of Legendre polynom where discretization is done. */ /* This is also the nb of root of Legendre polynom where discretization is done. */
/* VROOTL: Table of discretization parameters on (-1,1) by V. /* VROOTL: Table of discretization parameters on (-1,1) by V. */
/* IORDRV: Order of constraint imposed at the extremities of iso-V */ /* IORDRV: Order of constraint imposed at the extremities of iso-V */
/* = 0, calculate the extremities of iso-V */ /* = 0, calculate the extremities of iso-V */
/* = 1, calculate, additionally, the 1st derivative in the direction of iso-V */ /* = 1, calculate, additionally, the 1st derivative in the direction of iso-V */
@ -3351,7 +3351,7 @@ int AdvApp2Var_ApproxF2var::mma2cdi_( integer *ndimen,
*/ */
/* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */ /* NBPNTV: Nb of INTERNAL parameters of discretisation by V. */
/* This is also the nb of root of Legendre polynom where discretization is done. */ /* This is also the nb of root of Legendre polynom where discretization is done. */
/* VROOTL: Table of parameters of discretisation ON (-1,1) by V. /* VROOTL: Table of parameters of discretisation ON (-1,1) by V.*/
/* IORDRV: Order of constraint imposed at the extremities of iso-U */ /* IORDRV: Order of constraint imposed at the extremities of iso-U */
/* = 0, calculate the extremities of iso-U */ /* = 0, calculate the extremities of iso-U */
@ -4323,7 +4323,7 @@ L300:
/* L320: */ /* L320: */
} }
/* ----- Contribution of calculated terms to the approximation error /* ----- Contribution of calculated terms to the approximation error */
/* for terms (I,J) with MINU <= I <= MAXU, MINV <= J <= MAXV. */ /* for terms (I,J) with MINU <= I <= MAXU, MINV <= J <= MAXV. */
idim = 1; idim = 1;
@ -4507,7 +4507,7 @@ L600:
/* L700: */ /* L700: */
} }
/* ----- Contribution of calculated terms to the approximation error /* ----- Contribution of calculated terms to the approximation error */
/* for terms (I,J) with MINU <= I <= MAXU, MINV <= J <= MAXV */ /* for terms (I,J) with MINU <= I <= MAXU, MINV <= J <= MAXV */
idim = 1; idim = 1;
@ -4690,7 +4690,7 @@ int mma2cfu_(integer *ndujac,
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
/* Calculate the terms connected to degree NDUJAC by U of the polynomial approximation */ /* Calculate the terms connected to degree NDUJAC by U of the polynomial approximation */
/* of function F(u,v), starting from its discretisation /* of function F(u,v), starting from its discretisation */
/* on the roots of Legendre polynom of degree */ /* on the roots of Legendre polynom of degree */
/* NBPNTU by U and NBPNTV by V. */ /* NBPNTU by U and NBPNTV by V. */
@ -4820,7 +4820,7 @@ int mma2cfu_(integer *ndujac,
} }
} }
/* ------- Add terms connected to the supplementary root (0.D0) ------ /* ------- Add terms connected to the supplementary root (0.D0) ------ */
/* ----------- of Legendre polynom of uneven degree NBPNTU ----------- /* ----------- of Legendre polynom of uneven degree NBPNTU -----------
*/ */
/* --> Only even NDUJAC terms are modified as GSSUTB(0) = 0 */ /* --> Only even NDUJAC terms are modified as GSSUTB(0) = 0 */
@ -4905,7 +4905,7 @@ int mma2cfv_(integer *ndvjac,
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
/* Calculate the coefficients of polynomial approximation of F(u,v) /* Calculate the coefficients of polynomial approximation of F(u,v) */
/* of degree NDVJAC by V and of degree by U varying from MINDGU to MAXDGU. /* of degree NDVJAC by V and of degree by U varying from MINDGU to MAXDGU.
*/ */
@ -4917,7 +4917,7 @@ int mma2cfv_(integer *ndvjac,
/* ------------------ */ /* ------------------ */
/* NDVJAC: Degree of the polynom of approximation by V. */ /* NDVJAC: Degree of the polynom of approximation by V. */
/* The representation in the orthogonal base starts from degre 0. /* The representation in the orthogonal base starts from degre 0. */
/* The polynomial base is the base of Jacobi of order -1 */ /* The polynomial base is the base of Jacobi of order -1 */
/* (Legendre), 0, 1 or 2 */ /* (Legendre), 0, 1 or 2 */
/* MINDGU: Degree minimum by U of coeff. to calculate. */ /* MINDGU: Degree minimum by U of coeff. to calculate. */
@ -4927,9 +4927,9 @@ int mma2cfv_(integer *ndvjac,
/* by Gauss method. It is reqired that NBPNTV = 30, 40, 50 or 61 and NDVJAC < NBPNTV. */ /* by Gauss method. It is reqired that NBPNTV = 30, 40, 50 or 61 and NDVJAC < NBPNTV. */
/* GSSVTB: Table of coefficients of integration by Gauss method */ /* GSSVTB: Table of coefficients of integration by Gauss method */
/* by V for NDVJAC fixed: j varies from 0 to NBPNTV/2. */ /* by V for NDVJAC fixed: j varies from 0 to NBPNTV/2. */
/* CHPAIR: Table of terms connected to degrees from MINDGU to MAXDGU by U to /* CHPAIR: Table of terms connected to degrees from MINDGU to MAXDGU by U to */
/* calculate the coeff. of approximation of EVEN degree NDVJAC by V. */ /* calculate the coeff. of approximation of EVEN degree NDVJAC by V. */
/* CHIMPR: Table of terms connected to degrees from MINDGU to MAXDGU by U to /* CHIMPR: Table of terms connected to degrees from MINDGU to MAXDGU by U to */
/* calculate the coeff. of approximation of UNEVEN degree NDVJAC by V. */ /* calculate the coeff. of approximation of UNEVEN degree NDVJAC by V. */
/* OUTPUT ARGUMENTS : */ /* OUTPUT ARGUMENTS : */
@ -6260,7 +6260,7 @@ int AdvApp2Var_ApproxF2var::mma2fnc_(integer *ndimen,
/* ERRMAX: Table of MAX errors (sub-space by sub-space) */ /* ERRMAX: Table of MAX errors (sub-space by sub-space) */
/* committed in the approximation of FONCNP by NBCRBE curves. */ /* committed in the approximation of FONCNP by NBCRBE curves. */
/* ERRMOY: Table of AVERAGE errors (sub-space by sub-space) */ /* ERRMOY: Table of AVERAGE errors (sub-space by sub-space) */
/* committed in the approximation of FONCNP by NBCRBE curves. /* committed in the approximation of FONCNP by NBCRBE curves. */
/* IERCOD: Error code: */ /* IERCOD: Error code: */
/* -1 = ERRMAX > EPSAPR for at least one sub-space. */ /* -1 = ERRMAX > EPSAPR for at least one sub-space. */
/* (the resulting curves of at least mathematic degree NCFLIM-1 */ /* (the resulting curves of at least mathematic degree NCFLIM-1 */
@ -7784,7 +7784,7 @@ int AdvApp2Var_ApproxF2var::mmapptt_(const integer *ndgjac,
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
/* Load the elements required for integration by */ /* Load the elements required for integration by */
/* Gauss method to obtain the coefficients in the base of /* Gauss method to obtain the coefficients in the base of */
/* Legendre of the approximation by the least squares of a */ /* Legendre of the approximation by the least squares of a */
/* function. The elements are stored in commons MMAPGSS */ /* function. The elements are stored in commons MMAPGSS */
/* (case without constraint), MMAPGS0 (constraints C0), MMAPGS1 */ /* (case without constraint), MMAPGS0 (constraints C0), MMAPGS1 */
@ -7797,7 +7797,7 @@ int AdvApp2Var_ApproxF2var::mmapptt_(const integer *ndgjac,
/* INPUT ARGUMENTS : */ /* INPUT ARGUMENTS : */
/* ------------------ */ /* ------------------ */
/* NDGJAC : Max degree of the polynom of approximation. */ /* NDGJAC : Max degree of the polynom of approximation. */
/* The representation in orthogonal base goes from degree /* The representation in orthogonal base goes from degree */
/* 0 to degree NDGJAC-2*(JORDRE+1). The polynomial base */ /* 0 to degree NDGJAC-2*(JORDRE+1). The polynomial base */
/* is the base of Jacobi of order -1 (Legendre), 0, 1 and 2 */ /* is the base of Jacobi of order -1 (Legendre), 0, 1 and 2 */
/* NBPNTS : Degree of the polynom of Legendre on the roots which of */ /* NBPNTS : Degree of the polynom of Legendre on the roots which of */

View File

@ -736,7 +736,7 @@ int mmaper2_(integer *ncofmx,
/* KEYWORDS : */ /* KEYWORDS : */
/* ----------- */ /* ----------- */
/* JACOBI, POLYGON, APPROXIMATION, ERROR. */ /* JACOBI, POLYGON, APPROXIMATION, ERROR. */
/* /**/
/* INPUT ARGUMENTS : */ /* INPUT ARGUMENTS : */
/* ------------------ */ /* ------------------ */
/* NCOFMX : Max. degree of the curve. */ /* NCOFMX : Max. degree of the curve. */
@ -1793,7 +1793,7 @@ int mmatvec_(integer *nligne,
/* GNSTOC: Number of coefficients in the profile of matrix GMATRI */ /* GNSTOC: Number of coefficients in the profile of matrix GMATRI */
/* GPOSIT: Table of positioning of terms of storage */ /* GPOSIT: Table of positioning of terms of storage */
/* GPOSIT(1,I) contains the number of terms-1 on the line I /* GPOSIT(1,I) contains the number of terms-1 on the line I */
/* in the profile of the matrix. */ /* in the profile of the matrix. */
/* GPOSIT(2,I) contains the index of storage of diagonal term*/ /* GPOSIT(2,I) contains the index of storage of diagonal term*/
/* of line I */ /* of line I */
@ -1804,7 +1804,7 @@ int mmatvec_(integer *nligne,
/* GMATRI : Matrix of constraints in form of profile */ /* GMATRI : Matrix of constraints in form of profile */
/* VECIN : Input vector */ /* VECIN : Input vector */
/* DEBLIG : Line indexusing which the vector matrix is calculated */ /* DEBLIG : Line indexusing which the vector matrix is calculated */
/* /**/
/* OUTPUT ARGUMENTS */ /* OUTPUT ARGUMENTS */
/* --------------------- */ /* --------------------- */
/* VECOUT : VECTOR PRODUCT */ /* VECOUT : VECTOR PRODUCT */
@ -3322,7 +3322,7 @@ int mmdrvcb_(integer *ideriv,
integer ndeg, i__, j, nd, ndgcrb, iptpnt, ibb; integer ndeg, i__, j, nd, ndgcrb, iptpnt, ibb;
/* *********************************************************************** /* *********************************************************************** */
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
@ -3731,7 +3731,7 @@ int AdvApp2Var_MathBase::mmeps1_(doublereal *epsilo)
/* DEMSCRIPTION/NOTES/LIMITATIONS : */ /* DEMSCRIPTION/NOTES/LIMITATIONS : */
/* ----------------------------------- */ /* ----------------------------------- */
/* INITIALISATION : profile , **VIA MPRFTX** at input in stream /* INITIALISATION : profile , **VIA MPRFTX** at input in stream */
/* loading of default values of the profile in MPRFTX at input */ /* loading of default values of the profile in MPRFTX at input */
/* in stream. They are preserved in local variables of MPRFTX */ /* in stream. They are preserved in local variables of MPRFTX */
@ -3812,7 +3812,7 @@ int mmexthi_(integer *ndegre,
/* DESCRIPTION/NOTES/LIMITATIONS : */ /* DESCRIPTION/NOTES/LIMITATIONS : */
/* ----------------------------------- */ /* ----------------------------------- */
/* ATTENTION: The condition on NDEGRE ( 2 <= NDEGRE <= 61) is not */ /* ATTENTION: The condition on NDEGRE ( 2 <= NDEGRE <= 61) is not */
/* tested. The caller should make the test. /* tested. The caller should make the test. */
/* Name of the routine */ /* Name of the routine */
@ -4415,7 +4415,7 @@ int AdvApp2Var_MathBase::mmfmcar_(integer *ndimen,
/* ---> The max number of coeff by u and v of PATOLD is 61 */ /* ---> The max number of coeff by u and v of PATOLD is 61 */
/* ---> If NCOEFU < NCOFMX, the data is compressed by MMFMCA9 before /* ---> If NCOEFU < NCOFMX, the data is compressed by MMFMCA9 before */
/* limitation by v to get time during the execution */ /* limitation by v to get time during the execution */
/* of MMARC41 that follows (the square is processed as a curve of /* of MMARC41 that follows (the square is processed as a curve of
*/ */
@ -4783,7 +4783,7 @@ int AdvApp2Var_MathBase::mmfmtb1_(integer *maxsz1,
/* OUTPUT ARGUMENTS : */ /* OUTPUT ARGUMENTS : */
/* ------------------- */ /* ------------------- */
/* TABLE2: Table of reals by two dimensions, containing the transposition /* TABLE2: Table of reals by two dimensions, containing the transposition */
/* of the rectangular table TABLE1. */ /* of the rectangular table TABLE1. */
/* ISIZE2: Nb of useful elements of TABLE2 on the 1st dimension */ /* ISIZE2: Nb of useful elements of TABLE2 on the 1st dimension */
/* JSIZE2: Nb of useful elements of TABLE2 on the 2nd dimension */ /* JSIZE2: Nb of useful elements of TABLE2 on the 2nd dimension */
@ -4922,7 +4922,7 @@ int AdvApp2Var_MathBase::mmgaus1_(integer *ndimf,
/* between limits XD and XF . */ /* between limits XD and XF . */
/* The function should be calculated for any value */ /* The function should be calculated for any value */
/* of the variable in the given interval.. */ /* of the variable in the given interval.. */
/* The method GAUSS-LEGENDRE is used. /* The method GAUSS-LEGENDRE is used. */
/* For explications refer to the book : */ /* For explications refer to the book : */
/* Complements de mathematiques a l'usage des Ingenieurs de */ /* Complements de mathematiques a l'usage des Ingenieurs de */
/* l'electrotechnique et des telecommunications. */ /* l'electrotechnique et des telecommunications. */
@ -4994,7 +4994,7 @@ int AdvApp2Var_MathBase::mmgaus1_(integer *ndimf,
/* If you wish to calculate the integral with a given precision, */ /* If you wish to calculate the integral with a given precision, */
/* loop on k varying from 1 to 10 and test the difference of 2 /* loop on k varying from 1 to 10 and test the difference of 2
*/ */
/* consecutive iterations. Stop the loop if this difference is less that /* consecutive iterations. Stop the loop if this difference is less that */
/* an epsilon value set to 10E-6 for example. */ /* an epsilon value set to 10E-6 for example. */
/* If S1 and S2 are 2 successive iterations, test following this example : /* If S1 and S2 are 2 successive iterations, test following this example :
*/ */
@ -5166,7 +5166,7 @@ int mmherm0_(doublereal *debfin,
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
/* Used to STORE coefficients of Hermit interpolation polynoms /* Used to STORE coefficients of Hermit interpolation polynoms */
/* KEYWORDS : */ /* KEYWORDS : */
/* ----------- */ /* ----------- */
@ -5458,7 +5458,7 @@ int mmherm1_(doublereal *debfin,
/* there is no choice : ORDRMX should be equal to the value */ /* there is no choice : ORDRMX should be equal to the value */
/* of PARAMETER IORDMX of INCLUDE MMCMHER, or 2 for the moment */ /* of PARAMETER IORDMX of INCLUDE MMCMHER, or 2 for the moment */
/* IORDRE (2) : Orders of constraints in each corresponding parameter DEBFIN(I) /* IORDRE (2) : Orders of constraints in each corresponding parameter DEBFIN(I) */
/* should be between -1 (no constraints) and ORDRMX. */ /* should be between -1 (no constraints) and ORDRMX. */
@ -5504,7 +5504,7 @@ int mmherm1_(doublereal *debfin,
/* FUNCTION : */ /* FUNCTION : */
/* ---------- */ /* ---------- */
/* Serves to STORE the coefficients of Hermit interpolation polynoms /* Serves to STORE the coefficients of Hermit interpolation polynoms */
/* KEYWORDS : */ /* KEYWORDS : */
/* ----------- */ /* ----------- */
@ -5940,7 +5940,7 @@ L9999:
/* . Level of de debug = 3 */ /* . Level of de debug = 3 */
/* /**/
/* DECLARATIONS , CONTROL OF INPUT ARGUMENTS , INITIALIZATION */ /* DECLARATIONS , CONTROL OF INPUT ARGUMENTS , INITIALIZATION */
/* *********************************************************************** /* ***********************************************************************
*/ */
@ -6371,8 +6371,8 @@ int mmloncv_(integer *ndimax,
/* FUNCTION : Length of an arc of curve on a given interval */ /* FUNCTION : Length of an arc of curve on a given interval */
/* ---------- for a function the mathematic representation */ /* ---------- for a function the mathematic representation */
/* which of is a multidimensional polynom. */ /* which of is a multidimensional polynom. */
/* The polynom is a set of polynoms the coefficients which of are ranked /* The polynom is a set of polynoms the coefficients which of are ranked */
/* in a table with 2 indices, each line relative to 1 polynom. */ /* in a table with 2 indices, each line relative to 1 polynom. */
/* The polynom is defined by its coefficients ordered by increasing /* The polynom is defined by its coefficients ordered by increasing
* power of the variable. */ * power of the variable. */
/* All polynoms have the same number of coefficients (and the same degree). */ /* All polynoms have the same number of coefficients (and the same degree). */
@ -7358,9 +7358,9 @@ L9999:
/* NISTOC: NUMBER OF COEFFICIENTS IN THE PROFILE */ /* NISTOC: NUMBER OF COEFFICIENTS IN THE PROFILE */
/* DIMMAT: NUMBER OF LINE OF THE SYMMETRIC SQUARE MATRIX */ /* DIMMAT: NUMBER OF LINE OF THE SYMMETRIC SQUARE MATRIX */
/* APOSIT: TABLE OF POSITIONING OF STORAGE TERMS */ /* APOSIT: TABLE OF POSITIONING OF STORAGE TERMS */
/* APOSIT(1,I) CONTAINS THE NUMBER OF TERMES-1 ON LINE /* APOSIT(1,I) CONTAINS THE NUMBER OF TERMES-1 ON LINE */
/* I IN THE PROFILE OF THE MATRIX */ /* I IN THE PROFILE OF THE MATRIX */
/* APOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF DIAGONAL TERM /* APOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF DIAGONAL TERM */
/* OF LINE I */ /* OF LINE I */
@ -7538,7 +7538,7 @@ L9999:
/* GNSTOC: NOMBERS OF TERMS IN THE PROFILE OF THE MATRIX OF CONSTRAINTS */ /* GNSTOC: NOMBERS OF TERMS IN THE PROFILE OF THE MATRIX OF CONSTRAINTS */
/* MNSTOC: NOMBERS OF TERMS IN THE PROFILE OF THE MATRIX M= G H t(G) */ /* MNSTOC: NOMBERS OF TERMS IN THE PROFILE OF THE MATRIX M= G H t(G) */
/* where H IS THE HESSIAN MATRIX AND G IS THE MATRIX OF CONSTRAINTS */ /* where H IS THE HESSIAN MATRIX AND G IS THE MATRIX OF CONSTRAINTS */
/* MATSYH: TRIANGULAR INFERIOR PART OF THE HESSIAN MATRIX /* MATSYH: TRIANGULAR INFERIOR PART OF THE HESSIAN MATRIX */
/* IN FORM OF PROFILE */ /* IN FORM OF PROFILE */
/* MATSYG: MATRIX OF CONSTRAINTS IN FORM OF PROFILE */ /* MATSYG: MATRIX OF CONSTRAINTS IN FORM OF PROFILE */
/* VECSYH: VECTOR OF THE SECOND MEMBER ASSOCIATED TO MATSYH */ /* VECSYH: VECTOR OF THE SECOND MEMBER ASSOCIATED TO MATSYH */
@ -7557,11 +7557,11 @@ L9999:
/* GPOSIT: TABLE OF POSITIONING OF THE MATRIX OF CONSTRAINTS */ /* GPOSIT: TABLE OF POSITIONING OF THE MATRIX OF CONSTRAINTS */
/* GPOSIT(1,I) CONTAINS THE NUMBER OF TERMS OF LINE I */ /* GPOSIT(1,I) CONTAINS THE NUMBER OF TERMS OF LINE I */
/* WHICH ARE IN THE PROFILE */ /* WHICH ARE IN THE PROFILE */
/* GPOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF THE LAST TERM /* GPOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF THE LAST TERM */
/* OF LINE I WHICH IS IN THE PROFILE */ /* OF LINE I WHICH IS IN THE PROFILE */
/* GPOSIT(3,I) CONTAINS THE NUMBER OF COLUMN CORRESPONDING */ /* GPOSIT(3,I) CONTAINS THE NUMBER OF COLUMN CORRESPONDING */
/* TO THE FIRST TERM OF LINE I WHICH IS IN THE PROFILE */ /* TO THE FIRST TERM OF LINE I WHICH IS IN THE PROFILE */
/* MMPOSUI, MPOSIT: SAME STRUCTURE AS HPOSUI, BUT FOR MATRIX /* MMPOSUI, MPOSIT: SAME STRUCTURE AS HPOSUI, BUT FOR MATRIX */
/* M=G H t(G) */ /* M=G H t(G) */
@ -8207,7 +8207,7 @@ int mmrslw_(integer *normax,
} }
goto L9999; goto L9999;
/* ------If the absolute value of a pivot is smaller than -------- /* ------If the absolute value of a pivot is smaller than -------- */
/* ---------- EPSPIV: return the code of error. ------------ /* ---------- EPSPIV: return the code of error. ------------
*/ */
@ -8620,7 +8620,7 @@ L1000:
goto L1000; goto L1000;
/* -------------- TEST IF TPARAM IS NOT A VALUE --------- /* -------------- TEST IF TPARAM IS NOT A VALUE --------- */
/* ------------------------OF TABLEV UP TO EPSIL ---------------------- /* ------------------------OF TABLEV UP TO EPSIL ----------------------
*/ */
@ -8689,11 +8689,11 @@ int mmtmave_(integer *nligne,
/* NLIGNE : NUMBER OF LINE OF THE MATRIX */ /* NLIGNE : NUMBER OF LINE OF THE MATRIX */
/* NCOLON : NOMBER OF COLUMN OF THE MATRIX */ /* NCOLON : NOMBER OF COLUMN OF THE MATRIX */
/* GPOSIT: TABLE OF POSITIONING OF TERMS OF STORAGE */ /* GPOSIT: TABLE OF POSITIONING OF TERMS OF STORAGE */
/* GPOSIT(1,I) CONTAINS THE NUMBER of TERMS-1 ON LINE /* GPOSIT(1,I) CONTAINS THE NUMBER of TERMS-1 ON LINE */
I IN THE PROFILE OF THE MATRIX */ /* I IN THE PROFILE OF THE MATRIX */
/* GPOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF THE DIAGONAL TERM /* GPOSIT(2,I) CONTAINS THE INDEX OF STORAGE OF THE DIAGONAL TERM*/
/* OF LINE I */ /* OF LINE I */
/* GPOSIT(3,I) CONTAINS THE INDEX COLUMN OF THE FIRST TERM OF /* GPOSIT(3,I) CONTAINS THE INDEX COLUMN OF THE FIRST TERM OF */
/* PROFILE OF LINE I */ /* PROFILE OF LINE I */
/* GNSTOC : NOMBER OF TERM IN THE PROFILE OF GMATRI */ /* GNSTOC : NOMBER OF TERM IN THE PROFILE OF GMATRI */
/* GMATRI : MATRIX OF CONSTRAINTS IN FORM OF PROFILE */ /* GMATRI : MATRIX OF CONSTRAINTS IN FORM OF PROFILE */
@ -9433,7 +9433,7 @@ int mmtrpj6_(integer *ncofmx,
/* OUTPUT ARGUMENTS : */ /* OUTPUT ARGUMENTS : */
/* ------------------- */ /* ------------------- */
/* YCVMAX : Auxiliary table (max error on each dimension). /* YCVMAX : Auxiliary table (max error on each dimension). */
/* EPSTRC : Precision of the approximation. */ /* EPSTRC : Precision of the approximation. */
/* NCFNEW : Degree +1 of the resulting polynom. */ /* NCFNEW : Degree +1 of the resulting polynom. */
@ -9685,7 +9685,7 @@ L9999:
/* ----------------------------------- */ /* ----------------------------------- */
/* VECTOR and VECNRM can be identic. */ /* VECTOR and VECNRM can be identic. */
/* The norm of vector is calculated and each component is divided by /* The norm of vector is calculated and each component is divided by */
/* this norm. After this it is checked if all componentes of the */ /* this norm. After this it is checked if all componentes of the */
/* vector except for one cost 0 with machine precision. In */ /* vector except for one cost 0 with machine precision. In */
/* this case the quasi-null components are set to 0.D0. */ /* this case the quasi-null components are set to 0.D0. */
@ -10727,7 +10727,7 @@ int mvgaus0_(integer *kindic,
/* to 40 directly (ATTENTION to overload - to avoid it, */ /* to 40 directly (ATTENTION to overload - to avoid it, */
/* preview UROOTL and HILTAB dimensioned at least to 20). */ /* preview UROOTL and HILTAB dimensioned at least to 20). */
/* The value of coefficients was calculated with quadruple precision /* The value of coefficients was calculated with quadruple precision */
/* by JJM with help of GD. */ /* by JJM with help of GD. */
/* Checking of roots was done by GD. */ /* Checking of roots was done by GD. */

View File

@ -1548,7 +1548,7 @@ int mamdlng_(char *,//cmdlng,
/* CHL10N*4 : LIST OF POSSIBLE VALUES OF THE LOCALIZATION : */ /* CHL10N*4 : LIST OF POSSIBLE VALUES OF THE LOCALIZATION : */
/* 'FRA ','DEU ','ENG ', 'JIS ' */ /* 'FRA ','DEU ','ENG ', 'JIS ' */
/* B) CHCOUR*4, CHPREC*4, CHSUIV*4 : CURRENT, PREVIOUS AND NEXT APPLICATION /* B) CHCOUR*4, CHPREC*4, CHSUIV*4 : CURRENT, PREVIOUS AND NEXT APPLICATION */
/* C) CHMODE*4 : CURRENT MODE (NOT USED) */ /* C) CHMODE*4 : CURRENT MODE (NOT USED) */
@ -1737,7 +1737,7 @@ int maoverf_(integer *nbentr,
/* The idea is to minimize the number of calls */ /* The idea is to minimize the number of calls */
/* to the routine of transfer of numeric zones, */ /* to the routine of transfer of numeric zones, */
/* ---------- for the reason of performance. */ /* ---------- for the reason of performance. */
/* ! buffer ! For this a table of NLONGR /* ! buffer ! For this a table of NLONGR */
/* !__________! DOUBLE PRECISIONs is reserved. This buffer is initialized by */ /* !__________! DOUBLE PRECISIONs is reserved. This buffer is initialized by */
/* <----------> the instruction DATA. The overflow is accessed in a */ /* <----------> the instruction DATA. The overflow is accessed in a */
/* NLONGR*8 specific COMMON not by a routine as */ /* NLONGR*8 specific COMMON not by a routine as */

View File

@ -176,7 +176,6 @@ fields
myColor: Color from Quantity is protected; myColor: Color from Quantity is protected;
myTenthColor: Color from Quantity is protected; myTenthColor: Color from Quantity is protected;
myIsActive :Boolean from Standard; myIsActive :Boolean from Standard;
myIsDisplayed: Boolean from Standard;
myDrawMode: GridDrawMode from Aspect; myDrawMode: GridDrawMode from Aspect;
end Grid from Aspect; end Grid from Aspect;

View File

@ -523,7 +523,7 @@ class BOPDS_InterfFF : public BOPDS_Interf {
* @param theAllocator * @param theAllocator
* allocator to manage the memory * allocator to manage the memory
*/ */
/** /*
BOPDS_InterfFF(const Handle(NCollection_BaseAllocator)& theAllocator) BOPDS_InterfFF(const Handle(NCollection_BaseAllocator)& theAllocator)
: :
BOPDS_Interf(theAllocator), BOPDS_Interf(theAllocator),
@ -533,6 +533,7 @@ class BOPDS_InterfFF : public BOPDS_Interf {
myCurves(myAllocator), myCurves(myAllocator),
myPoints(myAllocator) { myPoints(myAllocator) {
}; };
*/
// //
/** /**
* Destructor * Destructor

View File

@ -34,8 +34,8 @@
//======================================================================= //=======================================================================
inline BOPDS_ShapeInfo::BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)& theAllocator) inline BOPDS_ShapeInfo::BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)& theAllocator)
: :
mySubShapes(theAllocator),
myType(TopAbs_SHAPE), myType(TopAbs_SHAPE),
mySubShapes(theAllocator),
myReference(-1), myReference(-1),
myFlag(-1) myFlag(-1)
{ {

View File

@ -256,7 +256,6 @@ fields
myLine : Line from BRepBlend; myLine : Line from BRepBlend;
myFunc : Address; myFunc : Address;
mydimension : Integer;
myTolerance : Vector; myTolerance : Vector;
myPnt : Point from Blend; myPnt : Point from Blend;
myBary : Pnt from gp; myBary : Pnt from gp;

View File

@ -129,7 +129,6 @@ is
fields fields
myGTrsf : GTrsf from gp; myGTrsf : GTrsf from gp;
myUseModif : Boolean from Standard;
myHist : Collect from BRepBuilderAPI; myHist : Collect from BRepBuilderAPI;
end Transform; end Transform;

View File

@ -128,7 +128,6 @@ void BRepExtrema_DistShapeShape::DistanceMapMap(const TopTools_IndexedMapOfShape
BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape() BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape()
: myDistRef(0.), : myDistRef(0.),
myDistValue(0.),
myIsDone(Standard_False), myIsDone(Standard_False),
myInnerSol(Standard_False), myInnerSol(Standard_False),
myEps(Precision::Confusion()), myEps(Precision::Confusion()),
@ -146,7 +145,6 @@ BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape(const TopoDS_Shape& Shape
const Extrema_ExtFlag F, const Extrema_ExtFlag F,
const Extrema_ExtAlgo A) const Extrema_ExtAlgo A)
: myDistRef(0.), : myDistRef(0.),
myDistValue(0.),
myIsDone(Standard_False), myIsDone(Standard_False),
myInnerSol(Standard_False), myInnerSol(Standard_False),
myEps(Precision::Confusion()), myEps(Precision::Confusion()),
@ -169,7 +167,6 @@ BRepExtrema_DistShapeShape::BRepExtrema_DistShapeShape(const TopoDS_Shape& Shape
const Extrema_ExtFlag F, const Extrema_ExtFlag F,
const Extrema_ExtAlgo A) const Extrema_ExtAlgo A)
: myDistRef(0.), : myDistRef(0.),
myDistValue(0.),
myIsDone(Standard_False), myIsDone(Standard_False),
myInnerSol(Standard_False), myInnerSol(Standard_False),
myEps(theDeflection), myEps(theDeflection),

View File

@ -182,7 +182,6 @@ private:
Standard_EXPORT void DistanceMapMap(const TopTools_IndexedMapOfShape& Map1,const TopTools_IndexedMapOfShape& Map2,const Bnd_SeqOfBox& LBox1,const Bnd_SeqOfBox& LBox2); Standard_EXPORT void DistanceMapMap(const TopTools_IndexedMapOfShape& Map1,const TopTools_IndexedMapOfShape& Map2,const Bnd_SeqOfBox& LBox1,const Bnd_SeqOfBox& LBox2);
Standard_Real myDistRef; Standard_Real myDistRef;
Standard_Real myDistValue;
Standard_Boolean myIsDone; Standard_Boolean myIsDone;
BRepExtrema_SeqOfSolution mySolutionsShape1; BRepExtrema_SeqOfSolution mySolutionsShape1;
BRepExtrema_SeqOfSolution mySolutionsShape2; BRepExtrema_SeqOfSolution mySolutionsShape2;

View File

@ -147,6 +147,5 @@ fields
mySpine : Wire from TopoDS; mySpine : Wire from TopoDS;
myCurves : SequenceOfCurve from TColGeom; myCurves : SequenceOfCurve from TColGeom;
myBCurve : Curve from Geom; myBCurve : Curve from Geom;
myStatusError : StatusError from BRepFeat;
end MakePipe; end MakePipe;

View File

@ -30,7 +30,7 @@ class ComparatorOfVertexOfDelaun from BRepMesh
XY from gp XY from gp
is Create (theDir : XY from gp; TheTol: Real from Standard) is Create (theDir : XY from gp)
returns ComparatorOfVertexOfDelaun; returns ComparatorOfVertexOfDelaun;

View File

@ -26,9 +26,8 @@
//purpose : //purpose :
//======================================================================= //=======================================================================
BRepMesh_ComparatorOfVertexOfDelaun::BRepMesh_ComparatorOfVertexOfDelaun(const gp_XY& theDir, BRepMesh_ComparatorOfVertexOfDelaun::BRepMesh_ComparatorOfVertexOfDelaun(const gp_XY& theDir)
const Standard_Real theTol) : DirectionOfSort(theDir)
: DirectionOfSort(theDir), Tolerance(theTol)
{} {}
//======================================================================= //=======================================================================

View File

@ -2030,7 +2030,7 @@ void BRepMesh_Delaun::RemoveVertex( const BRepMesh_Vertex& theVertex )
void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices ) void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices )
{ {
BRepMesh_HeapSortVertexOfDelaun::Sort( theVertices, BRepMesh_HeapSortVertexOfDelaun::Sort( theVertices,
BRepMesh_ComparatorOfVertexOfDelaun( SortingDirection, Precision ) ); BRepMesh_ComparatorOfVertexOfDelaun( SortingDirection ) );
Standard_Integer aLower = theVertices.Lower(); Standard_Integer aLower = theVertices.Lower();
Standard_Integer anUpper = theVertices.Upper(); Standard_Integer anUpper = theVertices.Upper();

View File

@ -106,8 +106,6 @@ fields
surf1 : HSurface from Adaptor3d; surf1 : HSurface from Adaptor3d;
surf2 : HSurface from Adaptor3d; surf2 : HSurface from Adaptor3d;
dis1 : Real from Standard;
dis2 : Real from Standard;
curv : HCurve from Adaptor3d; curv : HCurve from Adaptor3d;
csurf : HCurve2d from Adaptor2d; csurf : HCurve2d from Adaptor2d;
choix : Integer from Standard; choix : Integer from Standard;

View File

@ -53,7 +53,5 @@ fields
myCol : Color from Draw; myCol : Color from Draw;
myTyp : MarkerShape from Draw; myTyp : MarkerShape from Draw;
mySiz : Integer; mySiz : Integer;
myRSiz : Real;
myIsRSiz : Boolean;
end Marker2D; end Marker2D;

View File

@ -40,8 +40,8 @@ Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
//======================================================================= //=======================================================================
Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T, Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
const Draw_Color& C, const Standard_Real RSize) : const Draw_Color& C, const Standard_Real /*RSize*/) :
myPos(P), myCol(C), myTyp(T), myRSiz(RSize), myIsRSiz(Standard_True) myPos(P), myCol(C), myTyp(T)
{ {
} }
@ -72,9 +72,8 @@ gp_Pnt2d& Draw_Marker2D::ChangePos()
//======================================================================= //=======================================================================
Standard_Boolean Draw_Marker2D::PickReject(const Standard_Real, Standard_Boolean Draw_Marker2D::PickReject(const Standard_Real,
const Standard_Real, const Standard_Real,
const Standard_Real) const const Standard_Real) const
{ {
return Standard_False; return Standard_False;
} }

View File

@ -409,15 +409,15 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed())));
aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed())));
//-------------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------------
//| MARKING OF THE SYMMETRY AXIS | | MARKING OF THE SYMMETRY AXIS |
//-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
// ____ ____
// \ / :Cursor \ / :Cursor
// \/ \/
// /\ /\
// /__\ /__\
*/
Standard_Real Dist = (aAxis.Distance(AttachmentPoint1)+aAxis.Distance(AttachmentPoint2))/75; Standard_Real Dist = (aAxis.Distance(AttachmentPoint1)+aAxis.Distance(AttachmentPoint2))/75;
gp_Vec vs(aDirectionAxis); gp_Vec vs(aDirectionAxis);
gp_Vec vsym(vs.Divided(vs.Magnitude()).Multiplied(Dist).XYZ()); gp_Vec vsym(vs.Divided(vs.Magnitude()).Multiplied(Dist).XYZ());
@ -647,15 +647,15 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed())));
aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed())));
//-------------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------------
//| MARKING OF THE AXIS OF SYMMETRY | | MARKING OF THE AXIS OF SYMMETRY |
//-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
// ____ ____
// \ / :Cursor \ / :Cursor
// \/ \/
// /\ /\
// /__\ /__\
*/
Standard_Real Dist = aAxis.Distance(Center1)/37; Standard_Real Dist = aAxis.Distance(Center1)/37;
gp_Dir aDirectionAxis = aAxis.Direction(); gp_Dir aDirectionAxis = aAxis.Direction();
gp_Vec vs(aDirectionAxis); gp_Vec vs(aDirectionAxis);
@ -886,15 +886,15 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Added(vec2.Reversed())));
aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed()))); aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed())));
//-------------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------------
//| MARKING OF THE AXIS OF SYMMETRY | | MARKING OF THE AXIS OF SYMMETRY |
//-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
// ____ ____
// \ / :Cursor \ / :Cursor
// \/ \/
// /\ /\
// /__\ /__\
*/
Standard_Real Dist = P1.Distance(P2)/75; Standard_Real Dist = P1.Distance(P2)/75;
gp_Dir aDirectionAxis = aAxis.Direction(); gp_Dir aDirectionAxis = aAxis.Direction();
gp_Vec vs(aDirectionAxis); gp_Vec vs(aDirectionAxis);

View File

@ -403,7 +403,7 @@ Extrema_ExtElC::Extrema_ExtElC (const gp_Lin& C1,
// //
aTol=1.e-12; aTol=1.e-12;
// //
/*
if(fabs(A5) <= aTol) { if(fabs(A5) <= aTol) {
A5 = 0.; A5 = 0.;
} }

View File

@ -110,8 +110,6 @@ fields
myvsup : Real from Standard; myvsup : Real from Standard;
mytolv : Real from Standard; mytolv : Real from Standard;
myVRange : Real from Standard;
myF : FuncExtPS from Extrema; myF : FuncExtPS from Extrema;
myC : HCurve from Adaptor3d; myC : HCurve from Adaptor3d;
myS : SurfacePtr from Adaptor3d; myS : SurfacePtr from Adaptor3d;

View File

@ -161,8 +161,6 @@ fields
mynbext: Integer; mynbext: Integer;
inverse: Boolean; inverse: Boolean;
myC: Address from Standard; myC: Address from Standard;
myu1: Real;
myu2: Real;
myv1: Real; myv1: Real;
myv2: Real; myv2: Real;
mytolc1: Real; mytolc1: Real;

View File

@ -157,8 +157,7 @@ fields
mypoints2 : HArray2OfPnt from TColgp; mypoints2 : HArray2OfPnt from TColgp;
mytol1 : Real; mytol1 : Real;
mytol2 : Real; mytol2 : Real;
myF : FuncExtCS from Extrema; myF : FuncExtCS from Extrema;
myC : CurvePtr from Adaptor3d;
myS : SurfacePtr from Adaptor3d; myS : SurfacePtr from Adaptor3d;
end GenExtCS; end GenExtCS;

View File

@ -146,8 +146,7 @@ fields
mypoints2 : HArray2OfPnt from TColgp; mypoints2 : HArray2OfPnt from TColgp;
mytol1 : Real; mytol1 : Real;
mytol2 : Real; mytol2 : Real;
myF : FuncExtSS from Extrema; myF : FuncExtSS from Extrema;
myS1 : SurfacePtr from Adaptor3d;
myS2 : SurfacePtr from Adaptor3d; myS2 : SurfacePtr from Adaptor3d;
end GenExtSS; end GenExtSS;

View File

@ -87,7 +87,6 @@ is
fields fields
myNbElements : Integer; myNbElements : Integer;
myDimension : Integer; myDimension : Integer;
myTolerance : Real;
myBase : Base from PLib; myBase : Base from PLib;
myKnots : HArray1OfReal; myKnots : HArray1OfReal;
myDegree : Array1OfInteger; myDegree : Array1OfInteger;

View File

@ -33,11 +33,10 @@
//purpose : //purpose :
//======================================================================= //=======================================================================
FEmTool_Curve::FEmTool_Curve(const Standard_Integer Dimension, FEmTool_Curve::FEmTool_Curve(const Standard_Integer Dimension,
const Standard_Integer NbElements, const Standard_Integer NbElements,
const Handle(PLib_Base)& TheBase, const Handle(PLib_Base)& TheBase,
const Standard_Real Tolerance) : const Standard_Real) :
myNbElements(NbElements), myDimension(Dimension), myNbElements(NbElements), myDimension(Dimension),
myTolerance(Tolerance),
myBase(TheBase), myDegree(1, myNbElements), myBase(TheBase), myDegree(1, myNbElements),
myCoeff(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)), myCoeff(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)),
myPoly(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)), myPoly(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)),

View File

@ -80,7 +80,6 @@ is
fields fields
MyLengthSliding : Real; MyLengthSliding : Real;
OriginalSliding : Real; OriginalSliding : Real;
MyFreeSliding : Boolean;
MyBattenLaw : BattenLaw; MyBattenLaw : BattenLaw;
MyTension : DistributionOfTension; MyTension : DistributionOfTension;
MySagging : DistributionOfSagging; MySagging : DistributionOfSagging;

View File

@ -43,10 +43,9 @@ FairCurve_EnergyOfBatten::FairCurve_EnergyOfBatten(const Standard_Integer BSplOr
const Standard_Real Angle2) const Standard_Real Angle2)
//======================================================================= //=======================================================================
: FairCurve_Energy( Poles, ContrOrder1, ContrOrder2, : FairCurve_Energy( Poles, ContrOrder1, ContrOrder2,
FreeSliding, Angle1, Angle2), FreeSliding, Angle1, Angle2),
MyLengthSliding(LengthSliding), MyLengthSliding(LengthSliding),
OriginalSliding(LengthSliding), OriginalSliding(LengthSliding),
MyFreeSliding(FreeSliding),
MyBattenLaw(Law), MyBattenLaw(Law),
MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding, Law, FreeSliding), MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding, Law, FreeSliding),
MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding) MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding)

View File

@ -86,7 +86,6 @@ is
fields fields
MyLengthSliding : Real; MyLengthSliding : Real;
OriginalSliding : Real; OriginalSliding : Real;
MyFreeSliding : Boolean;
MyBattenLaw : BattenLaw; MyBattenLaw : BattenLaw;
MyPhysicalRatio : Real; MyPhysicalRatio : Real;
MyTension : DistributionOfTension; MyTension : DistributionOfTension;

View File

@ -41,19 +41,18 @@ FairCurve_EnergyOfMVC::FairCurve_EnergyOfMVC(const Standard_Integer BSplOrder,
const Standard_Real Curvature2 ) const Standard_Real Curvature2 )
//===================================================================================== //=====================================================================================
: FairCurve_Energy( Poles, ContrOrder1, ContrOrder2, : FairCurve_Energy( Poles, ContrOrder1, ContrOrder2,
FreeSliding, Angle1, Angle2, FreeSliding, Angle1, Angle2,
BSplOrder-1, Curvature1, Curvature2), BSplOrder-1, Curvature1, Curvature2),
MyLengthSliding(LengthSliding), MyLengthSliding(LengthSliding),
OriginalSliding(LengthSliding), OriginalSliding(LengthSliding),
MyFreeSliding(FreeSliding),
MyBattenLaw(Law), MyBattenLaw(Law),
MyPhysicalRatio(PhysicalRatio), MyPhysicalRatio(PhysicalRatio),
MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding, Law, FreeSliding, Standard_True), MyTension(BSplOrder, FlatKnots, Poles, 1, LengthSliding, Law, FreeSliding, Standard_True),
MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding), MySagging(BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding),
MyJerk( BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding) MyJerk( BSplOrder, FlatKnots, Poles, 1, Law, FreeSliding)
{ {
Standard_DomainError_Raise_if(PhysicalRatio < 0 || PhysicalRatio > 1, Standard_DomainError_Raise_if(PhysicalRatio < 0 || PhysicalRatio > 1,
"FairCurve_EnergyOfMVC: PhysicalRatio error" ); "FairCurve_EnergyOfMVC: PhysicalRatio error" );
} }

View File

@ -178,7 +178,6 @@ fields
-- stores the number of points computed with the -- stores the number of points computed with the
-- requested Abscissa else stores the requested -- requested Abscissa else stores the requested
-- number of points -- number of points
myAbscissa : Real;
myParams : HArray1OfReal from TColStd ; myParams : HArray1OfReal from TColStd ;
-- the size of this array will be be bigger than myNbPoints -- the size of this array will be be bigger than myNbPoints
-- by one or two -- by one or two

View File

@ -18,19 +18,12 @@
#include <StdFail_NotDone.hxx> #include <StdFail_NotDone.hxx>
#include <TColStd_HArray1OfReal.hxx> #include <TColStd_HArray1OfReal.hxx>
//#include <GCPnts_QuasiUniformAbscissa.hxx>
inline Standard_Boolean GCPnts_QuasiUniformAbscissa::IsDone () const inline Standard_Boolean GCPnts_QuasiUniformAbscissa::IsDone () const
{ {
return myDone; return myDone;
} }
//inline Standard_Real GCPnts_QuasiUniformAbscissa::Abscissa () const
//{
// StdFail_NotDone_Raise_if(!myDone,
// "GCPnts_QuasiUniformAbscissa::Abscissa()");
// return myAbscissa;
//}
inline Standard_Integer GCPnts_QuasiUniformAbscissa::NbPoints () const inline Standard_Integer GCPnts_QuasiUniformAbscissa::NbPoints () const
{ {

View File

@ -113,7 +113,16 @@ static Standard_Integer FillIntervalBounds(Standard_Real A,
for(; i <= iEnd; i++){ for(; i <= iEnd; i++){
Standard_Real kn = Knots(i); Standard_Real kn = Knots(i);
if(A < kn) if(A < kn)
if(kn < B) VA(j++) = VB(k++) = kn; else break; {
if(kn < B)
{
VA(j++) = VB(k++) = kn;
}
else
{
break;
}
}
} }
VB(k) = B; VB(k) = B;
return k; return k;

View File

@ -82,7 +82,16 @@ static Standard_Integer FillIntervalBounds(Standard_Real A, Standard_Real B, con
for(; i <= iEnd; i++){ for(; i <= iEnd; i++){
Standard_Real kn = Knots(i); Standard_Real kn = Knots(i);
if(A < kn) if(A < kn)
if(kn < B) VA(j++) = VB(k++) = kn; else break; {
if(kn < B)
{
VA(j++) = VB(k++) = kn;
}
else
{
break;
}
}
} }
VB(k) = B; VB(k) = B;
return k; return k;

View File

@ -732,9 +732,6 @@ fields
-- the cache -- the cache
ucachespanlenght : Real ; ucachespanlenght : Real ;
vcachespanlenght : Real ; vcachespanlenght : Real ;
-- Always 1. for the moment.
ucachespanindex : Integer ;
vcachespanindex : Integer ;
-- the span for which the cache is valid if -- the span for which the cache is valid if
-- validcache is 1 -- validcache is 1
validcache : Integer ; validcache : Integer ;

View File

@ -221,7 +221,6 @@ fields
myBary : Pnt from gp; myBary : Pnt from gp;
myRadius : Real; myRadius : Real;
myMinW : Real;
maxang : Real; maxang : Real;
minang : Real; minang : Real;
distmin : Real; distmin : Real;

View File

@ -226,8 +226,6 @@ fields
-- result curves of aproximation. -- result curves of aproximation.
appdone : Boolean from Standard; appdone : Boolean from Standard;
tolapp3d : Real from Standard[4];
tolappang : Real from Standard[4];
degree : Integer from Standard [2]; degree : Integer from Standard [2];
curvpol : HArray1OfPnt from TColgp [4]; curvpol : HArray1OfPnt from TColgp [4];
tgtepol : HArray1OfPnt from TColgp [4]; tgtepol : HArray1OfPnt from TColgp [4];

View File

@ -103,7 +103,6 @@ fields
-- the corners. -- the corners.
c : Pnt from gp [4]; c : Pnt from gp [4];
gap : Real from Standard [4];
-- the blending functions. -- the blending functions.
a : Function from Law [2]; a : Function from Law [2];

View File

@ -329,7 +329,6 @@ fields
myG1Error : Real from Standard; myG1Error : Real from Standard;
myG2Error : Real from Standard; myG2Error : Real from Standard;
myNbPtsOnCur : Integer from Standard; myNbPtsOnCur : Integer from Standard;
mySurfInitIsPlane : Boolean from Standard;
mySurfInitIsGive : Boolean from Standard; mySurfInitIsGive : Boolean from Standard;
myNbIter : Integer from Standard; myNbIter : Integer from Standard;
myProj : ExtPS from Extrema; myProj : ExtPS from Extrema;
@ -338,7 +337,6 @@ fields
myTol2d : Real from Standard; myTol2d : Real from Standard;
myTol3d : Real from Standard; myTol3d : Real from Standard;
myTolAng : Real from Standard; myTolAng : Real from Standard;
myTolCurv : Real from Standard;
myTolU : Real from Standard; myTolU : Real from Standard;
myTolV : Real from Standard; myTolV : Real from Standard;

View File

@ -121,7 +121,7 @@ GeomPlate_BuildPlateSurface::GeomPlate_BuildPlateSurface (
const Standard_Real Tol2d, const Standard_Real Tol2d,
const Standard_Real Tol3d, const Standard_Real Tol3d,
const Standard_Real TolAng, const Standard_Real TolAng,
const Standard_Real TolCurv, const Standard_Real ,
const Standard_Boolean Anisotropie const Standard_Boolean Anisotropie
) : ) :
myAnisotropie(Anisotropie), myAnisotropie(Anisotropie),
@ -131,7 +131,6 @@ myProj(),
myTol2d(Tol2d), myTol2d(Tol2d),
myTol3d(Tol3d), myTol3d(Tol3d),
myTolAng(TolAng), myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0) myNbBounds(0)
{ Standard_Integer NTCurve=TabCurve->Length();// Nombre de contraintes lineaires { Standard_Integer NTCurve=TabCurve->Length();// Nombre de contraintes lineaires
myNbPtsOnCur = 0; // Debrayage du calcul du nombre de points myNbPtsOnCur = 0; // Debrayage du calcul du nombre de points
@ -190,7 +189,6 @@ myProj(),
myTol2d(Tol2d), myTol2d(Tol2d),
myTol3d(Tol3d), myTol3d(Tol3d),
myTolAng(TolAng), myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0) myNbBounds(0)
{ if (myNbIter<1) { if (myNbIter<1)
Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1"); Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1");
@ -225,7 +223,6 @@ myProj(),
myTol2d(Tol2d), myTol2d(Tol2d),
myTol3d(Tol3d), myTol3d(Tol3d),
myTolAng(TolAng), myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0) myNbBounds(0)
{ if (myNbIter<1) { if (myNbIter<1)
Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1"); Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1");

View File

@ -572,7 +572,6 @@ fields
myEMap : IndexedMapOfShape from TopTools; myEMap : IndexedMapOfShape from TopTools;
myFMap : IndexedMapOfShape from TopTools; myFMap : IndexedMapOfShape from TopTools;
myAlgo : PolyAlgo from HLRAlgo; myAlgo : PolyAlgo from HLRAlgo;
myHide : Integer from Standard;
myDebug : Boolean from Standard; myDebug : Boolean from Standard;
myAngle : Real from Standard; myAngle : Real from Standard;
myTolSta : Real from Standard; myTolSta : Real from Standard;

View File

@ -107,7 +107,6 @@ is
fields fields
thecnum : Integer; -- current entity number for recognize
thectyp : IGESType; -- its IGESType (for purpose of optimization) thectyp : IGESType; -- its IGESType (for purpose of optimization)
thestar : HSequenceOfHAsciiString; -- start section thestar : HSequenceOfHAsciiString; -- start section
theparh : ParamSet; -- ParamSet reading global parameters theparh : ParamSet; -- ParamSet reading global parameters

View File

@ -234,10 +234,6 @@ fields
RestrictedInf : Boolean from Standard; RestrictedInf : Boolean from Standard;
RestrictedSup : Boolean from Standard; RestrictedSup : Boolean from Standard;
LastZ : Real from Standard;
LastDZ : Real from Standard;
firstbounded : Boolean from Standard; firstbounded : Boolean from Standard;
lastbounded : Boolean from Standard; lastbounded : Boolean from Standard;

View File

@ -84,7 +84,6 @@ fields
quad1 : Quadric from IntSurf; quad1 : Quadric from IntSurf;
quad2 : Quadric from IntSurf; quad2 : Quadric from IntSurf;
deflectionmax : Real from Standard; deflectionmax : Real from Standard;
pasuvmax : Real from Standard;
nbpointsmax : Integer from Standard; nbpointsmax : Integer from Standard;
type : Integer from Standard; -- 0: Constant Parameter type : Integer from Standard; -- 0: Constant Parameter
-- 1: Uniform Abscissa -- 1: Uniform Abscissa

View File

@ -106,7 +106,6 @@ static
quad1(Quad1), quad1(Quad1),
quad2(Quad2), quad2(Quad2),
deflectionmax(0.01), deflectionmax(0.01),
pasuvmax(0.05),
nbpointsmax(200), nbpointsmax(200),
type(0), type(0),
myTolParam(1.e-12), myTolParam(1.e-12),
@ -122,13 +121,12 @@ static
IntPatch_ALineToWLine::IntPatch_ALineToWLine(const IntSurf_Quadric& Quad1, IntPatch_ALineToWLine::IntPatch_ALineToWLine(const IntSurf_Quadric& Quad1,
const IntSurf_Quadric& Quad2, const IntSurf_Quadric& Quad2,
const Standard_Real Deflection, const Standard_Real Deflection,
const Standard_Real PasUVMax, const Standard_Real ,
const Standard_Integer NbMaxPoints) const Standard_Integer NbMaxPoints)
: :
quad1(Quad1), quad1(Quad1),
quad2(Quad2), quad2(Quad2),
deflectionmax(Deflection), deflectionmax(Deflection),
pasuvmax(PasUVMax),
nbpointsmax(NbMaxPoints), nbpointsmax(NbMaxPoints),
myTolParam(1.e-12), myTolParam(1.e-12),
myTolOpenDomain(1.e-9), myTolOpenDomain(1.e-9),

View File

@ -180,7 +180,6 @@ fields
empt : Boolean from Standard; empt : Boolean from Standard;
tgte : Boolean from Standard; tgte : Boolean from Standard;
oppo : Boolean from Standard; oppo : Boolean from Standard;
reverse: Boolean from Standard;
spnt : SequenceOfPoint from IntPatch; spnt : SequenceOfPoint from IntPatch;
slin : SequenceOfLine from IntPatch; slin : SequenceOfLine from IntPatch;
solrst : TheSOnBounds from IntPatch; solrst : TheSOnBounds from IntPatch;

View File

@ -360,9 +360,6 @@ fields
done : Boolean from Standard; done : Boolean from Standard;
empt : Boolean from Standard; empt : Boolean from Standard;
Preci : Real from Standard;
Fleche : Real from Standard;
Pas : Real from Standard;
SLin : SequenceOfLine from IntPatch; SLin : SequenceOfLine from IntPatch;
end PrmPrmIntersection; end PrmPrmIntersection;

View File

@ -274,7 +274,6 @@ fields
myPar1 : Real from Standard; myPar1 : Real from Standard;
myParallel : Boolean from Standard; myParallel : Boolean from Standard;
myAllNullFlag : Boolean from Standard;
myRange : Range from IntTools; myRange : Range from IntTools;

View File

@ -205,7 +205,6 @@ is
fields fields
thenum0 : Integer; -- current data for access to parameters thenum0 : Integer; -- current data for access to parameters
thenump0 : Integer;
therrload : Integer; therrload : Integer;
theparams : ParamSet; -- the general set of parameters theparams : ParamSet; -- the general set of parameters
thenumpar : Array1OfInteger from TColStd; -- beginning of each one thenumpar : Array1OfInteger from TColStd; -- beginning of each one

View File

@ -84,25 +84,11 @@ fields
thename : AsciiString; thename : AsciiString;
thedef : AsciiString; thedef : AsciiString;
thelabel : AsciiString; thelabel : AsciiString;
thetype : ParamType from Interface;
theotyp : Type from Standard; -- for object theotyp : Type from Standard; -- for object
thelims : Integer; -- status for integer/enum/real limits
themaxlen : Integer;
theintlow : Integer;
theintup : Integer;
therealow : Real;
therealup : Real;
theunidef : AsciiString; theunidef : AsciiString;
theenums : HArray1OfAsciiString from TColStd; theenums : HArray1OfAsciiString from TColStd;
theeadds : DictionaryOfInteger; theeadds : DictionaryOfInteger;
theinterp : ValueInterpret;
thesatisf : ValueSatisfies;
thesatisn : AsciiString; thesatisn : AsciiString;
theival : Integer;
thehval : HAsciiString from TCollection; thehval : HAsciiString from TCollection;
theoval : Transient; theoval : Transient;

View File

@ -279,7 +279,6 @@ fields
myContC0 : Real from Standard; myContC0 : Real from Standard;
myContC1 : Real from Standard; myContC1 : Real from Standard;
myContC2 : Real from Standard; myContC2 : Real from Standard;
myContG0 : Real from Standard;
myContG1 : Real from Standard; myContG1 : Real from Standard;
myContG2 : Real from Standard; myContG2 : Real from Standard;
myCourbC1 : Real from Standard; myCourbC1 : Real from Standard;

View File

@ -147,8 +147,6 @@ fields
firstArcRight : Address from Standard; firstArcRight : Address from Standard;
secondArcRight : Address from Standard; secondArcRight : Address from Standard;
secondArcLeft : Address from Standard; secondArcLeft : Address from Standard;
firstParameter : Real;
secondParameter : Real;
end Arc; end Arc;

View File

@ -81,7 +81,6 @@ is
fields fields
myDeflection: Real; myDeflection: Real;
myNbNodes: Integer;
myNodes: Array1OfPnt2d from TColgp; myNodes: Array1OfPnt2d from TColgp;
end Polygon2D; end Polygon2D;

View File

@ -111,5 +111,5 @@ fields
mytype : TypeOfSensitivity; mytype : TypeOfSensitivity;
myautointer : Boolean; myautointer : Boolean;
myDetectedIndex : Integer from Standard;
end SensitiveFace; end SensitiveFace;

View File

@ -54,8 +54,7 @@ Select3D_SensitiveFace(const Handle(SelectBasics_EntityOwner)& OwnerId,
const TColgp_Array1OfPnt& ThePoints, const TColgp_Array1OfPnt& ThePoints,
const Select3D_TypeOfSensitivity aType): const Select3D_TypeOfSensitivity aType):
Select3D_SensitivePoly(OwnerId, ThePoints), Select3D_SensitivePoly(OwnerId, ThePoints),
mytype (aType), mytype (aType)
myDetectedIndex(-1)
{ {
AutoInitFlags(myautointer); AutoInitFlags(myautointer);
} }
@ -70,8 +69,7 @@ Select3D_SensitiveFace(const Handle(SelectBasics_EntityOwner)& OwnerId,
const Handle(TColgp_HArray1OfPnt)& ThePoints, const Handle(TColgp_HArray1OfPnt)& ThePoints,
const Select3D_TypeOfSensitivity aType): const Select3D_TypeOfSensitivity aType):
Select3D_SensitivePoly(OwnerId, ThePoints), Select3D_SensitivePoly(OwnerId, ThePoints),
mytype (aType), mytype (aType)
myDetectedIndex(-1)
{ {
AutoInitFlags(myautointer); AutoInitFlags(myautointer);
} }

View File

@ -122,7 +122,6 @@ is
---Purpose:returns <mymaxrect> ---Purpose:returns <mymaxrect>
fields fields
mymaxrect : Integer;
mysensitive : SensitiveEntitySequence from Select3D; mysensitive : SensitiveEntitySequence from Select3D;
myDetectedIndex : Integer from Standard; myDetectedIndex : Integer from Standard;
end SensitiveWire; end SensitiveWire;

View File

@ -39,9 +39,8 @@
Select3D_SensitiveWire:: Select3D_SensitiveWire::
Select3D_SensitiveWire(const Handle(SelectBasics_EntityOwner)& OwnerId, Select3D_SensitiveWire(const Handle(SelectBasics_EntityOwner)& OwnerId,
const Standard_Integer MaxRect): const Standard_Integer /*MaxRect*/):
Select3D_SensitiveEntity(OwnerId), Select3D_SensitiveEntity(OwnerId),
mymaxrect(MaxRect),
myDetectedIndex(-1) myDetectedIndex(-1)
{} {}

View File

@ -102,7 +102,6 @@ fields
mynew : MapOfInteger from TColStd; mynew : MapOfInteger from TColStd;
myhimap : IndexedDataMapOfOwnerPrs; myhimap : IndexedDataMapOfOwnerPrs;
mynbpick : Integer;
mylastindex : Integer; mylastindex : Integer;
myManager : TransientManager from Visual3d; myManager : TransientManager from Visual3d;
end BRepHilighter; end BRepHilighter;

View File

@ -58,7 +58,6 @@ is
Set (myclass; label: Label from TDF; string : ExtendedString from TCollection) Set (myclass; label: Label from TDF; string : ExtendedString from TCollection)
---Purpose: Creates (if does not exist) and sets the name in the name attribute. ---Purpose: Creates (if does not exist) and sets the name in the name attribute.
-- myEmpty becomes False
returns Name from TDataStd; returns Name from TDataStd;
@ -158,11 +157,6 @@ is
-- Returns the name contained in this name attribute. -- Returns the name contained in this name attribute.
---C++: return const & ---C++: return const &
--SetEmpty(me: mutable);
---Purpose: Set myEmpty field
--IsEmpty(me) returns Boolean from Standard;
---Category: TDF_Attribute methods ---Category: TDF_Attribute methods
-- ===================== -- =====================
@ -186,6 +180,5 @@ is
fields fields
myString : ExtendedString from TCollection; --To store name myString : ExtendedString from TCollection; --To store name
myEmpty : Boolean from Standard; --Is set to True if name isn't set
end Name; end Name;

View File

@ -123,26 +123,7 @@ Handle(TDataStd_Name) TDataStd_Name::Set
//purpose : Empty Constructor //purpose : Empty Constructor
//======================================================================= //=======================================================================
TDataStd_Name::TDataStd_Name () TDataStd_Name::TDataStd_Name () { }
: myEmpty(Standard_True) { }
//=======================================================================
//function : Father
//purpose :
//=======================================================================
// Standard_Boolean TDataStd_Name::Father (Handle(TDataStd_Name)& name) const
// {
// Handle(TDataStd_Name) father;
// TDF_Label L = Label();
// while (!L.IsRoot()) {
// L = L.Father();
// if (L.FindAttribute (TDataStd_Name::GetID(), father)) {
// name = father;
// return Standard_True;
// }
// }
// return Standard_False;
// }
//======================================================================= //=======================================================================
//function : Set //function : Set
@ -150,15 +131,10 @@ TDataStd_Name::TDataStd_Name ()
//======================================================================= //=======================================================================
void TDataStd_Name::Set (const TCollection_ExtendedString& S) void TDataStd_Name::Set (const TCollection_ExtendedString& S)
{ {
// OCC2932 correction
if(myString == S) return; if(myString == S) return;
Backup(); Backup();
myString = S; myString = S;
//TCollection_ExtendedString tmpS(S);
//tmpS.RemoveAll(':');
//myString = tmpS;
//myEmpty = Standard_False;
} }
@ -172,24 +148,6 @@ const TCollection_ExtendedString& TDataStd_Name::Get () const
return myString; return myString;
} }
//=======================================================================
//function : SetEmpty
//purpose :
//=======================================================================
// void TDataStd_Name::SetEmpty()
// {
// Backup();
// myEmpty = Standard_True;
// myString.Clear();
// }
//=======================================================================
//function : IsEmpty
//purpose :
//=======================================================================
//Standard_Boolean TDataStd_Name::IsEmpty() const {return myEmpty;}
// TDF_Attribute methods // TDF_Attribute methods
//======================================================================= //=======================================================================
@ -200,8 +158,6 @@ const TCollection_ExtendedString& TDataStd_Name::Get () const
const Standard_GUID& TDataStd_Name::ID () const { return GetID(); } const Standard_GUID& TDataStd_Name::ID () const { return GetID(); }
//======================================================================= //=======================================================================
//function : NewEmpty //function : NewEmpty
//purpose : //purpose :

View File

@ -102,7 +102,6 @@ fields
myTDFAcces : Label from TDF; myTDFAcces : Label from TDF;
myShape : Shape from TopoDS; myShape : Shape from TopoDS;
myOneOnly : Boolean from Standard;
myDone : Boolean from Standard; myDone : Boolean from Standard;

View File

@ -76,10 +76,9 @@ static void ModDbgTools_WriteCurrentShape(const Handle(TNaming_NamedShape) & NS)
TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces, TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces,
const TopoDS_Shape& S, const TopoDS_Shape& S,
const TopoDS_Shape& Context, const TopoDS_Shape& Context,
const Standard_Boolean OneOnly) const Standard_Boolean /*OneOnly*/)
:myTDFAcces(LabAcces), myShape(S), myOneOnly(OneOnly), :myTDFAcces(LabAcces), myShape(S),
myDone(Standard_False),myIsFeature(Standard_False) myDone(Standard_False),myIsFeature(Standard_False)
{ {
Init(Context); Init(Context);
} }
@ -92,10 +91,9 @@ myDone(Standard_False),myIsFeature(Standard_False)
TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces, TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces,
const TopoDS_Shape& S, const TopoDS_Shape& S,
const Handle(TNaming_NamedShape)& ContextNS, const Handle(TNaming_NamedShape)& ContextNS,
const Standard_Boolean OneOnly) const Standard_Boolean /*OneOnly*/)
:myTDFAcces(LabAcces), myShape(S), myOneOnly(OneOnly), :myTDFAcces(LabAcces), myShape(S),
myDone(Standard_False),myIsFeature(Standard_False) myDone(Standard_False),myIsFeature(Standard_False)
{ {
const TopoDS_Shape& aContext = TNaming_Tool::GetShape (ContextNS); const TopoDS_Shape& aContext = TNaming_Tool::GetShape (ContextNS);
Init(aContext); Init(aContext);

View File

@ -43,12 +43,10 @@ fields
myEdge1 : Edge from TopoDS; myEdge1 : Edge from TopoDS;
myCurve1 : Curve from Geom2dAdaptor; myCurve1 : Curve from Geom2dAdaptor;
myCurveType1 : CurveType from GeomAbs;
myDomain1 : Domain from IntRes2d; myDomain1 : Domain from IntRes2d;
myEdge2 : Edge from TopoDS; myEdge2 : Edge from TopoDS;
myCurve2 : Curve from Geom2dAdaptor; myCurve2 : Curve from Geom2dAdaptor;
myCurveType2 : CurveType from GeomAbs;
myDomain2 : Domain from IntRes2d; myDomain2 : Domain from IntRes2d;
end Hctxee2d from TopOpeBRep; end Hctxee2d from TopOpeBRep;

View File

@ -117,7 +117,6 @@ void TopOpeBRep_Hctxee2d::SetEdges(const TopoDS_Edge& E1,const TopoDS_Edge& E2,
if (apex) { if (apex) {
TopoDS_Vertex vf,vl; TopExp::Vertices(myEdge1,vf,vl); TopoDS_Vertex vf,vl; TopExp::Vertices(myEdge1,vf,vl);
gp_Pnt ptf = BRep_Tool::Pnt(vf); Standard_Real df = pt2.Distance(ptf); gp_Pnt ptf = BRep_Tool::Pnt(vf); Standard_Real df = pt2.Distance(ptf);
gp_Pnt ptl = BRep_Tool::Pnt(vl);
Standard_Real tolf = BRep_Tool::Tolerance(vf); Standard_Real tolf = BRep_Tool::Tolerance(vf);
Standard_Boolean onf = (df < tolf); Standard_Boolean onf = (df < tolf);
TopoDS_Vertex v1 = onf ? vf : vl; TopoDS_Vertex v1 = onf ? vf : vl;

View File

@ -69,8 +69,6 @@ fields
myEdge : Edge from TopoDS; myEdge : Edge from TopoDS;
myVertices : ListOfPave from TopOpeBRepBuild; myVertices : ListOfPave from TopOpeBRepBuild;
myVerticesIt : ListIteratorOfListOfPave from TopOpeBRepBuild; myVerticesIt : ListIteratorOfListOfPave from TopOpeBRepBuild;
myEdgeVertexIndex : Integer from Standard;
myEdgeVertexCount : Integer from Standard;
myHasEqualParameters : Boolean from Standard; myHasEqualParameters : Boolean from Standard;
myEqualParameters : Real from Standard; myEqualParameters : Real from Standard;

View File

@ -99,6 +99,5 @@ is
fields fields
myFace:Face from TopoDS; myFace:Face from TopoDS;
myDEBVertexIndex:Integer;
end WireEdgeSet from TopOpeBRepBuild; end WireEdgeSet from TopOpeBRepBuild;

View File

@ -137,15 +137,10 @@ is
fields fields
myHDS : HDataStructure from TopOpeBRepDS; myHDS : HDataStructure from TopOpeBRepDS;
myMapSurfaceStatus : DataMapOfCheckStatus from TopOpeBRepDS; myMapSurfaceStatus : DataMapOfCheckStatus from TopOpeBRepDS;
mySurfaceDone : Boolean from Standard;
myMapCurveStatus : DataMapOfCheckStatus from TopOpeBRepDS; myMapCurveStatus : DataMapOfCheckStatus from TopOpeBRepDS;
myCurveDone : Boolean from Standard;
myMapPointStatus : DataMapOfCheckStatus from TopOpeBRepDS; myMapPointStatus : DataMapOfCheckStatus from TopOpeBRepDS;
myPointDone : Boolean from Standard;
myMapShapeStatus : DataMapOfCheckStatus from TopOpeBRepDS; myMapShapeStatus : DataMapOfCheckStatus from TopOpeBRepDS;
myShapeDone : Boolean from Standard;
myDone : Boolean from Standard;
end Check from TopOpeBRepDS; end Check from TopOpeBRepDS;

View File

@ -50,11 +50,6 @@
//======================================================================= //=======================================================================
TopOpeBRepDS_Check::TopOpeBRepDS_Check(const Handle(TopOpeBRepDS_HDataStructure)& HDS) TopOpeBRepDS_Check::TopOpeBRepDS_Check(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
: mySurfaceDone(Standard_False),
myCurveDone(Standard_False),
myPointDone(Standard_False),
myShapeDone (Standard_False),
myDone(Standard_False)
{ {
myHDS = HDS; myHDS = HDS;
myMapSurfaceStatus.Clear(); myMapSurfaceStatus.Clear();
@ -69,11 +64,6 @@ TopOpeBRepDS_Check::TopOpeBRepDS_Check(const Handle(TopOpeBRepDS_HDataStructure)
//======================================================================= //=======================================================================
TopOpeBRepDS_Check::TopOpeBRepDS_Check() TopOpeBRepDS_Check::TopOpeBRepDS_Check()
: mySurfaceDone(Standard_False),
myCurveDone(Standard_False),
myPointDone(Standard_False),
myShapeDone (Standard_False),
myDone(Standard_False)
{ {
myMapSurfaceStatus.Clear(); myMapSurfaceStatus.Clear();
myMapCurveStatus.Clear(); myMapCurveStatus.Clear();

View File

@ -1504,7 +1504,7 @@ is
-- extension must be one of ".png",".bmp",".jpg",".gif". -- extension must be one of ".png",".bmp",".jpg",".gif".
-- Returns FALSE when the dump has failed -- Returns FALSE when the dump has failed
Print (me; hPrnDC: Handle from Aspect = NULL; Print (me; hPrnDC: Handle from Aspect = 0;
showDialog: Boolean = Standard_True; showDialog: Boolean = Standard_True;
showBackground : Boolean = Standard_True; showBackground : Boolean = Standard_True;
filename: CString = NULL; filename: CString = NULL;

View File

@ -15,11 +15,11 @@
// purpose or non-infringement. Please see the License for the specific terms // purpose or non-infringement. Please see the License for the specific terms
// and conditions governing the rights and limitations under the License. // and conditions governing the rights and limitations under the License.
/*********************************************************************** /***********************************************************************/
FONCTION : /* FUNCTION :
---------- ----------
File V3d_View_1.cxx : File V3d_View_1.cxx : */
/*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/

View File

@ -65,11 +65,11 @@
#define FSR_DEBUG(arg) #define FSR_DEBUG(arg)
// Uncomment the following code to have debug output to cout // Uncomment the following code to have debug output to cout
/* * / /*
static Standard_Boolean mydebug = Standard_False; static Standard_Boolean mydebug = Standard_False;
#undef FSR_DEBUG #undef FSR_DEBUG
#define FSR_DEBUG(arg) {if (mydebug) { cout << arg << endl; }} #define FSR_DEBUG(arg) {if (mydebug) { cout << arg << endl; }}
/* */ */
class MyDirFunction : public math_Function class MyDirFunction : public math_Function
{ {

View File

@ -88,7 +88,6 @@ is
fields fields
Done: Boolean; Done: Boolean;
Singular: Boolean;
U: Matrix; U: Matrix;
V: Matrix; V: Matrix;
Diag: Vector; Diag: Vector;