1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024830: Remove redundant keyword 'mutable' in CDL declarations

Redundant keyword 'mutable' removed in CDL files.
In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed.
Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
This commit is contained in:
abv
2014-04-15 08:50:00 +04:00
committed by apn
parent 99c68ea35f
commit 6e33d3ced2
2421 changed files with 6557 additions and 6604 deletions

View File

@@ -40,17 +40,17 @@ uses Ax2d from gp,
is
Create (A : Ax2d) returns mutable AxisPlacement;
Create (A : Ax2d) returns AxisPlacement;
--- Purpose : Constructs an axis by conversion of the gp_Ax2d axis A.
Create (P : Pnt2d; V : Dir2d) returns mutable AxisPlacement;
Create (P : Pnt2d; V : Dir2d) returns AxisPlacement;
--- Purpose : Constructs an axis from a given origin P and unit vector V.
Reverse (me : mutable);
Reversed (me) returns mutable AxisPlacement is static;
Reversed (me) returns AxisPlacement is static;
---Purpose: Reverses the unit vector of this axis.
-- Note:
-- - Reverse assigns the result to this axis, while
@@ -99,7 +99,7 @@ is
---Purpose: Applies the transformation T to this axis.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this axis.
fields

View File

@@ -145,7 +145,7 @@ is
Degree : Integer;
Periodic : Boolean = Standard_False)
returns mutable BSplineCurve from Geom2d
returns BSplineCurve from Geom2d
---Purpose : Creates a non-rational B_spline curve on the
-- basis <Knots, Multiplicities> of degree <Degree>.
@@ -184,7 +184,7 @@ is
Degree : Integer;
Periodic : Boolean = Standard_False)
returns mutable BSplineCurve from Geom2d
returns BSplineCurve from Geom2d
---Purpose : Creates a rational B_spline curve on the basis
-- <Knots, Multiplicities> of degree <Degree>.
@@ -982,7 +982,7 @@ is
-- |f(t1) - f(t0)| < ToleranceUV
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this BSpline curve.
UpdateKnots(me : mutable)

View File

@@ -93,7 +93,7 @@ is
Create (CurvePoles : Array1OfPnt2d from TColgp) returns mutable BezierCurve
Create (CurvePoles : Array1OfPnt2d from TColgp) returns BezierCurve
--- Purpose :
-- Creates a non rational Bezier curve with a set of poles :
-- CurvePoles. The weights are defaulted to all being 1.
@@ -104,7 +104,7 @@ is
Create (CurvePoles : Array1OfPnt2d from TColgp;
PoleWeights : Array1OfReal from TColStd)
returns mutable BezierCurve
returns BezierCurve
--- Purpose :
-- Creates a rational Bezier curve with the set of poles
-- CurvePoles and the set of weights PoleWeights .
@@ -361,7 +361,7 @@ is
-- | t1 - t0| < Utolerance ===>
-- |f(t1) - f(t0)| < ToleranceUV
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this Bezier curve.
Init (me : mutable; Poles : HArray1OfPnt2d from TColgp;

View File

@@ -30,11 +30,11 @@ uses Ax2d from gp,
is
Create (P : Pnt2d) returns mutable CartesianPoint;
Create (P : Pnt2d) returns CartesianPoint;
--- Purpose : Returns a persistent copy of P.
Create (X, Y : Real) returns mutable CartesianPoint;
Create (X, Y : Real) returns CartesianPoint;
@@ -78,7 +78,7 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
fields

View File

@@ -59,13 +59,13 @@ raises ConstructionError from Standard,
is
Create (C : Circ2d) returns mutable Circle;
Create (C : Circ2d) returns Circle;
--- Purpose : Constructs a circle by conversion of the gp_Circ2d circle C.
Create (A : Ax2d; Radius : Real;
Sense: Boolean from Standard = Standard_True)
returns mutable Circle
returns Circle
--- Purpose : Constructs a circle of radius Radius, whose center is the origin of axis
-- A; A is the "X Axis" of the local coordinate system
-- of the circle; this coordinate system is direct if
@@ -75,7 +75,7 @@ is
raises ConstructionError;
Create (A : Ax22d; Radius : Real) returns mutable Circle
Create (A : Ax22d; Radius : Real) returns Circle
--- Purpose : Constructs a circle
-- of radius Radius, where the coordinate system A
-- locates the circle and defines its orientation in the plane such that:
@@ -168,7 +168,7 @@ is
---Purpose: Applies the transformation T to this circle.
Copy (me) returns mutable like me
Copy (me) returns like me
is redefined static;
---Purpose: Creates a new object which is a copy of this circle.

View File

@@ -99,7 +99,7 @@ is
-- redefined (for example, on a line).
is virtual;
Reversed (me) returns mutable like me
Reversed (me) returns like me
--- Purpose : Creates a reversed duplicate Changes the orientation of this curve. The first and
-- last parameters are not changed, but the parametric
-- direction of the curve is reversed.

View File

@@ -32,13 +32,13 @@ raises ConstructionError from Standard
is
Create (X, Y :Real) returns mutable Direction
Create (X, Y :Real) returns Direction
--- Purpose : Creates a unit vector with it 2 cartesian coordinates.
raises ConstructionError;
--- Purpose :
-- Raised if Sqrt( X*X + Y*Y) <= Resolution from gp.
Create (V : Dir2d) returns mutable Direction;
Create (V : Dir2d) returns Direction;
--- Purpose : Creates a persistent copy of <me>.
@@ -97,7 +97,7 @@ is
---Purpose: Applies the transformation T to this unit vector, then normalizes it.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this unit vector.
end;

View File

@@ -62,14 +62,14 @@ raises ConstructionError from Standard,
is
Create (E : Elips2d) returns mutable Ellipse;
Create (E : Elips2d) returns Ellipse;
--- Purpose :
-- Creates an ellipse by conversion of the gp_Elips2d ellipse E.
Create (MajorAxis : Ax2d; MajorRadius, MinorRadius : Real;
Sense: Boolean from Standard = Standard_True)
returns mutable Ellipse
returns Ellipse
--- Purpose : Creates an ellipse defined by its major and minor radii,
-- MajorRadius and MinorRadius, and positioned
-- in the plane by its major axis MajorAxis; the
@@ -89,7 +89,7 @@ is
Create (Axis : Ax22d; MajorRadius, MinorRadius : Real)
returns mutable Ellipse
returns Ellipse
--- Purpose : Creates an ellipse defined by its major and minor radii,
-- MajorRadius and MinorRadius, where the
-- coordinate system Axis locates the ellipse and
@@ -270,7 +270,7 @@ is
---Purpose: Applies the transformation T to this ellipse.
Copy (me) returns mutable like me
Copy (me) returns like me
is redefined static;
---Purpose: Creates a new object which is a copy of this ellipse.
fields

View File

@@ -102,28 +102,28 @@ is
Mirrored (me; P : Pnt2d) returns mutable like me
Mirrored (me; P : Pnt2d) returns like me
is static;
Mirrored (me; A : Ax2d) returns mutable like me
Mirrored (me; A : Ax2d) returns like me
is static;
Rotated (me; P : Pnt2d; Ang : Real) returns mutable like me
Rotated (me; P : Pnt2d; Ang : Real) returns like me
is static;
Scaled (me; P : Pnt2d; S : Real) returns mutable like me
Scaled (me; P : Pnt2d; S : Real) returns like me
is static;
Transformed (me; T : Trsf2d) returns mutable like me
Transformed (me; T : Trsf2d) returns like me
is static;
Translated (me; V : Vec2d) returns mutable like me
Translated (me; V : Vec2d) returns like me
is static;
Translated (me; P1, P2 : Pnt2d) returns mutable like me
Translated (me; P1, P2 : Pnt2d) returns like me
is static;
Copy (me) returns mutable like me is deferred;
Copy (me) returns like me is deferred;
end;

View File

@@ -84,13 +84,13 @@ raises ConstructionError from Standard,
is
Create (H : Hypr2d) returns mutable Hyperbola;
Create (H : Hypr2d) returns Hyperbola;
--- Purpose : Creates an Hyperbola from a non persistent one from package gp
Create (MajorAxis : Ax2d; MajorRadius, MinorRadius : Real;
Sense: Boolean from Standard = Standard_True)
returns mutable Hyperbola
returns Hyperbola
--- Purpose :
-- MajorAxis is the "XAxis" of the hyperbola.
-- The YAxis is in the direct sense if "Sense" is True;
@@ -100,7 +100,7 @@ is
--- Purpose : Raised if MajorRadius < 0.0 or if MinorRadius < 0.0
Create (Axis : Ax22d; MajorRadius, MinorRadius : Real)
returns mutable Hyperbola
returns Hyperbola
--- Purpose :
-- The XDirection of "Axis" is the "XAxis" of the hyperbola and
-- the YDirection of "Axis" is the "YAxis".
@@ -323,7 +323,7 @@ is
---Purpose: Applies the transformation T to this hyperbola.
Copy (me) returns mutable like me is redefined static;
Copy (me) returns like me is redefined static;
---Purpose: Creates a new object which is a copy of this hyperbola.
fields

View File

@@ -48,18 +48,18 @@ raises RangeError from Standard
is
Create (A : Ax2d) returns mutable Line;
Create (A : Ax2d) returns Line;
--- Purpose :
-- Creates a line located in 2D space with the axis placement A.
-- The Location of A is the origin of the line.
Create (L : Lin2d) returns mutable Line;
Create (L : Lin2d) returns Line;
--- Purpose :
-- Creates a line by conversion of the gp_Lin2d line L.
Create (P : Pnt2d; V : Dir2d) returns mutable Line;
Create (P : Pnt2d; V : Dir2d) returns Line;
--- Purpose : Constructs a line passing through point P and parallel to
-- vector V (P and V are, respectively, the origin
-- and the unit vector of the positioning axis of the line).
@@ -195,7 +195,7 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object, which is a copy of this line.
fields

View File

@@ -77,7 +77,7 @@ raises ConstructionError from Standard,
is
Create (C : Curve from Geom2d; Offset : Real) returns mutable OffsetCurve
Create (C : Curve from Geom2d; Offset : Real) returns OffsetCurve
--- Purpose : Constructs a curve offset from the basis curve C,
-- where Offset is the distance between the offset
-- curve and the basis curve at any point.
@@ -328,7 +328,7 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object, which is a copy of this offset curve.
fields

View File

@@ -60,13 +60,13 @@ is
Create (Prb : Parab2d) returns mutable Parabola;
Create (Prb : Parab2d) returns Parabola;
--- Purpose : Creates a parabola from a non persistent one.
Create (MirrorAxis : Ax2d; Focal : Real;
Sense: Boolean from Standard = Standard_True)
returns mutable Parabola
returns Parabola
--- Purpose :
-- Creates a parabola with its "MirrorAxis" and it's focal
-- length "Focal".
@@ -77,7 +77,7 @@ is
raises ConstructionError;
--- Purpose : Raised if Focal < 0.0
Create (Axis : Ax22d; Focal : Real) returns mutable Parabola
Create (Axis : Ax22d; Focal : Real) returns Parabola
--- Purpose :
-- Creates a parabola with its Axis and it's focal
-- length "Focal".
@@ -89,7 +89,7 @@ is
--- Purpose : Raised if Focal < 0.0
Create (D : Ax2d; F : Pnt2d) returns mutable Parabola;
Create (D : Ax2d; F : Pnt2d) returns Parabola;
--- Purpose :
-- D is the directrix of the parabola and F the focus point.
-- The symmetry axis "XAxis" of the parabola is normal to the
@@ -222,7 +222,7 @@ is
is redefined static;
Copy (me) returns mutable like me
Copy (me) returns like me
is redefined static;
---Purpose: Creates a new object, which is a copy of this parabola.
fields

View File

@@ -63,11 +63,11 @@ raises ConstructionError from Standard,
is
Create returns mutable Transformation;
Create returns Transformation;
--- Purpose : Creates an identity transformation.
Create (T : Trsf2d) returns mutable Transformation;
Create (T : Trsf2d) returns Transformation;
--- Purpose : Creates a persistent copy of T.
@@ -173,14 +173,14 @@ is
-- package gp.
Inverted (me) returns mutable Transformation
Inverted (me) returns Transformation
raises ConstructionError;
---Purpose: Computes the inverse of this transformation and creates a new one.
-- Raises ConstructionError if the the transformation is singular. This means that
-- the ScaleFactor is lower or equal to Resolution from package gp.
Multiplied (me; Other : Transformation) returns mutable Transformation;
Multiplied (me; Other : Transformation) returns Transformation;
--- Purpose :
-- Computes the transformation composed with Other and <me>.
-- <me> * Other.
@@ -229,7 +229,7 @@ is
Copy (me) returns mutable Transformation;
Copy (me) returns Transformation;
--- Purpose: Creates a new object, which is a copy of this transformation.
fields

View File

@@ -44,7 +44,7 @@ raises ConstructionError from Standard,
is
Create (C : Curve; U1, U2 : Real; Sense : Boolean = Standard_True)
returns mutable TrimmedCurve
returns TrimmedCurve
--- Purpose :
-- Creates a trimmed curve from the basis curve C limited between
-- U1 and U2.
@@ -280,7 +280,7 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose:
-- Creates a new object, which is a copy of this trimmed curve.

View File

@@ -36,7 +36,7 @@ is
--- Purpose : Reverses the vector <me>.
Reversed (me) returns mutable like me
Reversed (me) returns like me
--- Purpose : Returns a copy of <me> reversed.
is static;

View File

@@ -30,15 +30,15 @@ raises ConstructionError from Standard
is
Create (V : Vec2d) returns mutable VectorWithMagnitude;
Create (V : Vec2d) returns VectorWithMagnitude;
--- Purpose : Creates a persistent copy of V.
Create (X, Y : Real) returns mutable VectorWithMagnitude;
Create (X, Y : Real) returns VectorWithMagnitude;
--- Purpose : Creates a vector with two cartesian coordinates.
Create (P1, P2 : Pnt2d) returns mutable VectorWithMagnitude;
Create (P1, P2 : Pnt2d) returns VectorWithMagnitude;
--- Purpose :
-- Creates a vector from the point P1 to the point P2.
-- The magnitude of the vector is the distance between P1 and P2
@@ -75,7 +75,7 @@ is
---C++: alias operator +=
Added (me; Other : Vector) returns mutable VectorWithMagnitude
Added (me; Other : Vector) returns VectorWithMagnitude
--- Purpose :
-- Adds the vector Other to <me>.
---C++: alias operator +
@@ -94,14 +94,14 @@ is
---C++: alias operator /=
Divided (me; Scalar : Real) returns mutable VectorWithMagnitude
Divided (me; Scalar : Real) returns VectorWithMagnitude
--- Purpose :
-- Divides <me> by a scalar. A new vector is returned.
---C++: alias operator /
is static;
Multiplied (me; Scalar : Real) returns mutable VectorWithMagnitude
Multiplied (me; Scalar : Real) returns VectorWithMagnitude
--- Purpose :
-- Computes the product of the vector <me> by a scalar.
-- A new vector is returned.
@@ -125,7 +125,7 @@ is
-- Resolution from package gp.
Normalized (me) returns mutable VectorWithMagnitude
Normalized (me) returns VectorWithMagnitude
--- Purpose : Returns a copy of <me> Normalized.
raises ConstructionError
--- Purpose :
@@ -139,7 +139,7 @@ is
---C++: alias operator -=
Subtracted (me; Other : Vector) returns mutable VectorWithMagnitude
Subtracted (me; Other : Vector) returns VectorWithMagnitude
--- Purpose :
-- Subtracts the vector Other to <me>. A new vector is returned.
---C++: alias operator -
@@ -151,7 +151,7 @@ is
---Purpose: Applies the transformation T to this vector.
Copy (me) returns mutable like me;
Copy (me) returns like me;
--- Purpose: Creates a new object which is a copy of this vector.
end;