1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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,11 +40,11 @@ uses Ax1 from gp,
is
Create (A1 : Ax1) returns mutable Axis1Placement;
Create (A1 : Ax1) returns Axis1Placement;
---Purpose : Returns a transient copy of A1.
Create (P : Pnt; V : Dir) returns mutable Axis1Placement;
Create (P : Pnt; V : Dir) returns Axis1Placement;
---Purpose :
-- P is the origin of the axis placement and V is the direction
-- of the axis placement.
@@ -56,7 +56,7 @@ is
Reverse (me : mutable);
---Purpose : Reverses the direction of the axis placement.
Reversed (me) returns mutable Axis1Placement
Reversed (me) returns Axis1Placement
---Purpose : Returns a copy of <me> reversed.
is static;
@@ -67,7 +67,7 @@ is
Transform (me : mutable; T : Trsf);
---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.

View File

@@ -55,11 +55,11 @@ raises ConstructionError from Standard
is
Create (A2 : Ax2) returns mutable Axis2Placement;
Create (A2 : Ax2) returns Axis2Placement;
---Purpose : Returns a transient copy of A2.
Create (P : Pnt; N, Vx : Dir) returns mutable Axis2Placement
Create (P : Pnt; N, Vx : Dir) returns Axis2Placement
---Purpose :
-- P is the origin of the axis placement, N is the main
-- direction of the axis placement and Vx is the "XDirection".
@@ -139,11 +139,11 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this coordinate system.
Create (P : Pnt; Vz, Vx, Vy : Dir) returns mutable Axis2Placement
Create (P : Pnt; Vz, Vx, Vy : Dir) returns Axis2Placement
is private;

View File

@@ -140,7 +140,7 @@ is
Degree : Integer;
Periodic : Boolean = Standard_False)
returns mutable BSplineCurve from Geom
returns BSplineCurve from Geom
---Purpose : Creates a non-rational B_spline curve on the
-- basis <Knots, Multiplicities> of degree <Degree>.
@@ -181,7 +181,7 @@ is
Periodic : Boolean = Standard_False;
CheckRational : Boolean = Standard_True)
returns mutable BSplineCurve from Geom
returns BSplineCurve from Geom
---Purpose : Creates a rational B_spline curve on the basis
-- <Knots, Multiplicities> of degree <Degree>.
@@ -971,7 +971,7 @@ is
-- |f(t1) - f(t0)| < Tolerance3D
;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this BSpline curve.
InvalidateCache(me : mutable)

View File

@@ -170,7 +170,7 @@ is
UDegree, VDegree : Integer;
UPeriodic : Boolean = Standard_False;
VPeriodic : Boolean = Standard_False)
returns mutable BSplineSurface
returns BSplineSurface
---Purpose : Creates a non-rational b-spline surface (weights
-- default value is 1.).
@@ -203,7 +203,7 @@ is
UDegree, VDegree : Integer;
UPeriodic : Boolean = Standard_False;
VPeriodic : Boolean = Standard_False)
returns mutable BSplineSurface
returns BSplineSurface
---Purpose : Creates a non-rational b-spline surface (weights
-- default value is 1.).
@@ -1317,26 +1317,26 @@ is
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose :
-- Computes the U isoparametric curve.
-- A B-spline curve is returned.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose :
-- Computes the V isoparametric curve.
-- A B-spline curve is returned.
UIso (me; U : Real; CheckRational : Boolean) returns mutable Curve;
UIso (me; U : Real; CheckRational : Boolean) returns Curve;
---Purpose :
-- Computes the U isoparametric curve.
-- If CheckRational=False, no try to make it non-rational.
-- A B-spline curve is returned.
VIso (me; V : Real; CheckRational : Boolean) returns mutable Curve;
VIso (me; V : Real; CheckRational : Boolean) returns Curve;
---Purpose :
-- Computes the V isoparametric curve.
-- If CheckRational=False, no try to make it non-rational.
@@ -1374,7 +1374,7 @@ is
-- ====> |f (u1,v1) - f (u0,v0)| < Tolerance3D
;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this BSpline surface.

View File

@@ -90,7 +90,7 @@ raises ConstructionError from Standard,
is
Create (CurvePoles : Array1OfPnt from TColgp)
returns mutable BezierCurve
returns BezierCurve
---Purpose : Creates a non rational Bezier curve with a set of poles
-- CurvePoles. The weights are defaulted to all being 1.
-- Raises ConstructionError if the number of poles is greater than MaxDegree + 1
@@ -101,7 +101,7 @@ is
Create (CurvePoles : Array1OfPnt 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 .
-- If all the weights are identical the curve is considered
@@ -379,7 +379,7 @@ is
-- UTolerance ensures that:
-- |t1-t0| < UTolerance ===> |f(t1)-f(t0)| < Tolerance3D
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 : HArray1OfPnt from TColgp;

View File

@@ -112,7 +112,7 @@ raises ConstructionError from Standard,
is
Create (SurfacePoles : Array2OfPnt from TColgp)
returns mutable BezierSurface
returns BezierSurface
---Purpose :
-- Creates a non-rational Bezier surface with a set of poles.
-- Control points representation :
@@ -133,7 +133,7 @@ is
Create (SurfacePoles : Array2OfPnt from TColgp;
PoleWeights : Array2OfReal from TColStd)
returns mutable BezierSurface
returns BezierSurface
---Purpose
-- Creates a rational Bezier surface with a set of poles and a
-- set of weights.
@@ -571,7 +571,7 @@ is
-- NbUPoles - 1
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose :
-- Computes the U isoparametric curve. For a Bezier surface the
-- UIso curve is a Bezier curve.
@@ -583,7 +583,7 @@ is
-- NbVPoles - 1
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose :
-- Computes the V isoparametric curve. For a Bezier surface the
-- VIso curve is a Bezier curve.
@@ -667,7 +667,7 @@ is
Create (SurfacePoles, SurfaceCoefficients : HArray2OfPnt from TColgp;
PoleWeights, CoefficientWeights : HArray2OfReal from TColStd;
IsURational, IsVRational : Boolean)
returns mutable BezierSurface
returns BezierSurface
is private;
@@ -687,7 +687,7 @@ is
-- ====> |f (u1,v1) - f (u0,v0)| < Tolerance3D
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this Bezier surface.
Init (me : mutable; Poles : HArray2OfPnt from TColgp;

View File

@@ -30,11 +30,11 @@ uses Ax1 from gp,
is
Create (P : Pnt) returns mutable CartesianPoint;
Create (P : Pnt) returns CartesianPoint;
---Purpose : Returns a transient copy of P.
Create (X, Y, Z : Real) returns mutable CartesianPoint;
Create (X, Y, Z : Real) returns CartesianPoint;
---Purpose: Constructs a point defined by its three Cartesian coordinates X, Y and Z.
@@ -85,7 +85,7 @@ is
Transform (me : mutable; T : Trsf);
---Purpose: Applies the transformation T to this point.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this point.
fields

View File

@@ -63,11 +63,11 @@ is
Create (C : Circ) returns mutable Circle;
Create (C : Circ) returns Circle;
---Purpose : Constructs a circle by conversion of the gp_Circ circle C.
Create (A2 : Ax2; Radius : Real) returns mutable Circle
Create (A2 : Ax2; Radius : Real) returns Circle
---Purpose : Constructs a circle of radius Radius, where A2 locates the circle and
-- defines its orientation in 3D space such that:
-- - the center of the circle is the origin of A2,
@@ -170,7 +170,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

@@ -65,7 +65,7 @@ raises ConstructionError from Standard,
is
Create (A3 : Ax3; Ang : Real; Radius : Real)
returns mutable ConicalSurface
returns ConicalSurface
---Purpose :
-- A3 defines the local coordinate system of the conical surface.
-- Ang is the conical surface semi-angle ]0, PI/2[.
@@ -84,7 +84,7 @@ is
-- Ang >= PI/2 - Resolution
Create (C : Cone) returns mutable ConicalSurface;
Create (C : Cone) returns ConicalSurface;
---Purpose :
-- Creates a ConicalSurface from a non transient Cone from
-- package gp.
@@ -233,14 +233,14 @@ is
---Purpose : Returns False.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose : Builds the U isoparametric line of this cone. The
-- origin of this line is on the reference plane of this
-- cone (i.e. the plane defined by the origin, "X Direction"
-- and "Y Direction" of the local coordinate system of this cone).
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose : Builds the V isoparametric circle of this cone. It is the
-- circle on this cone, located in the plane of Z
-- coordinate V*cos(Semi-Angle) in the local coordinate system of this
@@ -297,7 +297,7 @@ is
Transform (me : mutable; T : Trsf);
---Purpose: Applies the transformation T to this cone.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this cone.
fields

View File

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

View File

@@ -56,7 +56,7 @@ raises ConstructionError from Standard,
is
Create (A3 : Ax3; Radius : Real) returns mutable CylindricalSurface
Create (A3 : Ax3; Radius : Real) returns CylindricalSurface
---Purpose :
-- A3 defines the local coordinate system of the cylindrical surface.
-- The "ZDirection" of A3 defines the direction of the surface's
@@ -72,7 +72,7 @@ is
Create (C : Cylinder) returns mutable CylindricalSurface;
Create (C : Cylinder) returns CylindricalSurface;
---Purpose :
-- Creates a CylindricalSurface from a non transient Cylinder
-- from package gp.
@@ -168,14 +168,14 @@ is
---Purpose : Returns False.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose :
-- The UIso curve is a Line. The location point of this line is
-- on the placement plane (XAxis, YAxis) of the surface.
-- This line is parallel to the axis of symmetry of the surface.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose :
-- The VIso curve is a circle. The start point of this circle
-- (U = 0) is defined with the "XAxis" of the surface.
@@ -222,7 +222,7 @@ is
Transform (me : mutable; T : Trsf);
---Purpose: Applies the transformation T to this cylinder.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this cylinder.
fields

View File

@@ -32,13 +32,13 @@ raises ConstructionError from Standard
is
Create (X, Y, Z :Real) returns mutable Direction
Create (X, Y, Z :Real) returns Direction
---Purpose : Creates a unit vector with it 3 cartesian coordinates.
raises ConstructionError;
---Purpose :
-- Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp.
Create (V : Dir) returns mutable Direction;
Create (V : Dir) returns Direction;
---Purpose : Creates a transient copy of <me>.
@@ -105,7 +105,7 @@ is
-- parallel
Crossed (me; Other : Vector) returns mutable like me
Crossed (me; Other : Vector) returns like me
---Purpose :
-- Computes the cross product between <me> and <Other>.
-- A new direction is returned.
@@ -117,7 +117,7 @@ is
is static;
CrossCrossed (me; V1, V2 : Vector) returns mutable like me
CrossCrossed (me; V1, V2 : Vector) returns like me
---Purpose :
-- Computes the triple vector product <me> ^(V1 ^ V2).
raises ConstructionError
@@ -130,7 +130,7 @@ is
Transform (me : mutable; T : Trsf);
---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

@@ -64,11 +64,11 @@ raises ConstructionError from Standard,
is
Create (E : Elips) returns mutable Ellipse;
Create (E : Elips) returns Ellipse;
---Purpose : Constructs an ellipse by conversion of the gp_Elips ellipse E.
Create (A2 : Ax2; MajorRadius, MinorRadius : Real)
returns mutable Ellipse
returns Ellipse
---Purpose : Constructs an ellipse
-- defined by its major and minor radii, MajorRadius
-- and MinorRadius, where A2 locates the ellipse
@@ -247,7 +247,7 @@ is
---Purpose: Applies the transformation T to this ellipse.
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 ellipse.

View File

@@ -115,38 +115,38 @@ is
-- itself. A copy of the object is returned.
Mirrored (me; P : Pnt) returns mutable like me
Mirrored (me; P : Pnt) returns like me
is static;
Mirrored (me; A1 : Ax1) returns mutable like me
Mirrored (me; A1 : Ax1) returns like me
is static;
Mirrored (me; A2 : Ax2) returns mutable like me
Mirrored (me; A2 : Ax2) returns like me
is static;
Rotated (me; A1 : Ax1; Ang : Real) returns mutable like me
Rotated (me; A1 : Ax1; Ang : Real) returns like me
is static;
Scaled (me; P : Pnt; S : Real) returns mutable like me
Scaled (me; P : Pnt; S : Real) returns like me
is static;
Transformed (me; T : Trsf) returns mutable like me
Transformed (me; T : Trsf) returns like me
is static;
Translated (me; V : Vec) returns mutable like me
Translated (me; V : Vec) returns like me
is static;
Translated (me; P1, P2 : Pnt) returns mutable like me
Translated (me; P1, P2 : Pnt) returns like me
is static;
Copy (me) returns mutable like me is deferred;
Copy (me) returns like me is deferred;
---Purpose: Creates a new object which is a copy of this geometric object.

View File

@@ -84,12 +84,12 @@ raises ConstructionError from Standard,
is
Create (H : Hypr) returns mutable Hyperbola;
Create (H : Hypr) returns Hyperbola;
---Purpose : Constructs a hyperbola by conversion of the gp_Hypr hyperbola H.
Create (A2 : Ax2; MajorRadius, MinorRadius : Real)
returns mutable Hyperbola
returns Hyperbola
---Purpose : Constructs a hyperbola defined by its major and
-- minor radii, MajorRadius and MinorRadius, where A2 locates the
-- hyperbola and defines its orientation in 3D space such that:
@@ -306,7 +306,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

@@ -46,18 +46,18 @@ is
Create (A1 : Ax1) returns mutable Line;
Create (A1 : Ax1) returns Line;
---Purpose :
-- Creates a line located in 3D space with the axis placement A1.
-- The Location of A1 is the origin of the line.
Create (L : Lin) returns mutable Line;
Create (L : Lin) returns Line;
---Purpose :
-- Creates a line from a non transient line from package gp.
Create (P : Pnt; V : Dir) returns mutable Line;
Create (P : Pnt; V : Dir) 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
@@ -199,7 +199,7 @@ is
is redefined;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this line.

View File

@@ -85,7 +85,7 @@ is
Create (C : Curve from Geom; Offset : Real; V : Dir)
returns mutable OffsetCurve
returns OffsetCurve
---Purpose :
-- C is the basis curve, Offset is the distance between <me> and
-- the basis curve at any point. V defines the fixed reference
@@ -345,7 +345,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

@@ -68,7 +68,7 @@ is
Create (S : Surface from Geom; Offset : Real) returns mutable OffsetSurface
Create (S : Surface from Geom; Offset : Real) returns OffsetSurface
---Purpose : Constructs a surface offset from the basis surface
-- S, where Offset is the distance between the offset
-- surface and the basis surface at any point.
@@ -232,10 +232,10 @@ is
---Purpose: raises if the surface is not vperiodic.
is redefined;
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose : Computes the U isoparametric curve.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose : Computes the V isoparametric curve.
@@ -457,10 +457,10 @@ is
-- This methods calls the basis surface method.
is redefined;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this offset surface.
Surface (me) returns mutable Surface from Geom;
Surface (me) returns Surface from Geom;
---Purpose: returns an equivalent surface of the offset surface
-- when the basis surface is a canonic surface or a
-- rectangular limited surface on canonic surface or if

View File

@@ -68,7 +68,7 @@ is
BuildOsculatingSurface (me ; Param : Real;
UKnot,VKnot : Integer;
BS : BSplineSurface from Geom ;
L : out mutable BSplineSurface from Geom)
L : out BSplineSurface from Geom)
---Purpose: returns False if the osculating surface can't be built
--
returns Boolean from Standard

View File

@@ -65,11 +65,11 @@ raises ConstructionError from Standard,
is
Create (Prb : Parab) returns mutable Parabola;
Create (Prb : Parab) returns Parabola;
---Purpose : Creates a parabola from a non transient one.
Create (A2 : Ax2; Focal : Real) returns mutable Parabola
Create (A2 : Ax2; Focal : Real) returns Parabola
---Purpose :
-- Creates a parabola with its local coordinate system "A2"
-- and it's focal length "Focal".
@@ -81,7 +81,7 @@ is
---Purpose : Raised if Focal < 0.0
Create (D : Ax1; F : Pnt) returns mutable Parabola;
Create (D : Ax1; F : Pnt) 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
@@ -240,7 +240,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

@@ -62,7 +62,7 @@ is
Create (A3 : Ax3) returns mutable Plane;
Create (A3 : Ax3) returns Plane;
---Purpose :
-- Creates a plane located in 3D space with an axis placement
-- three axis. The "ZDirection" of "A3" is the direction normal
@@ -72,18 +72,18 @@ is
-- curves.
Create (Pl : Pln) returns mutable Plane;
Create (Pl : Pln) returns Plane;
---Purpose :
-- Creates a plane from a non transient plane from package gp.
Create (P : Pnt; V : Dir) returns mutable Plane;
Create (P : Pnt; V : Dir) returns Plane;
---Purpose :
-- P is the "Location" point or origin of the plane.
-- V is the direction normal to the plane.
Create (A, B, C ,D : Real) returns mutable Plane
Create (A, B, C ,D : Real) returns Plane
---Purpose :
-- Creates a plane from its cartesian equation :
-- Ax + By + Cz + D = 0.0
@@ -185,13 +185,13 @@ is
---Purpose : return False.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose :
-- Computes the U isoparametric curve.
-- This is a Line parallel to the YAxis of the plane.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose :
-- Computes the V isoparametric curve.
-- This is a Line parallel to the XAxis of the plane.
@@ -238,7 +238,7 @@ is
---Purpose: Applies the transformation T to this plane.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this plane.
end;

View File

@@ -59,7 +59,7 @@ is
Create (S : Surface from Geom;
U1, U2, V1, V2 : Real;
USense, VSense : Boolean = Standard_True)
returns mutable RectangularTrimmedSurface
returns RectangularTrimmedSurface
---Purpose :
-- The U parametric direction of the surface is oriented from U1
-- to U2. The V parametric direction of the surface is oriented
@@ -85,7 +85,7 @@ is
Param1, Param2 : Real;
UTrim : Boolean;
Sense : Boolean = Standard_True)
returns mutable RectangularTrimmedSurface
returns RectangularTrimmedSurface
---Purpose :
-- The basis surface S is only trim in one parametric direction.
-- If UTrim = True the surface is trimmed in the U parametric
@@ -266,11 +266,11 @@ is
---Purpose : value and derivatives
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose : computes the U isoparametric curve.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose : Computes the V isoparametric curve.
@@ -360,7 +360,7 @@ is
-- This methods calls the basis surface method.
is redefined;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this patch.
fields

View File

@@ -69,7 +69,7 @@ raises ConstructionError from Standard,
is
Create (A3 : Ax3; Radius : Real) returns mutable SphericalSurface
Create (A3 : Ax3; Radius : Real) returns SphericalSurface
--- Purpose :
-- A3 is the local coordinate system of the surface.
-- At the creation the parametrization of the surface is defined
@@ -87,7 +87,7 @@ is
--- Purpose : Raised if Radius < 0.0.
Create (S : Sphere) returns mutable SphericalSurface;
Create (S : Sphere) returns SphericalSurface;
--- Purpose :
-- Creates a SphericalSurface from a non persistent Sphere from
-- package gp.
@@ -168,7 +168,7 @@ is
--- Purpose : Returns False.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
--- Purpose : Computes the U isoparametric curve.
-- The U isoparametric curves of the surface are defined by the
-- section of the spherical surface with plane obtained by rotation
@@ -178,7 +178,7 @@ is
-- Warnings : The radius of this circle can be zero.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
--- Purpose : Computes the V isoparametric curve.
-- The V isoparametric curves of the surface are defined by
-- the section of the spherical surface with plane parallel to the
@@ -230,7 +230,7 @@ is
Transform (me : mutable; T : Trsf) ;
---Purpose: Applies the transformation T to this sphere.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this sphere.
fields

View File

@@ -66,7 +66,7 @@ is
is deferred;
UReversed (me) returns mutable like me
UReversed (me) returns like me
---Purpose :
-- Reverses the U direction of parametrization of <me>.
-- The bounds of the surface are not modified.
@@ -91,7 +91,7 @@ is
is deferred;
VReversed (me) returns mutable like me
VReversed (me) returns like me
---Purpose :
-- Reverses the V direction of parametrization of <me>.
-- The bounds of the surface are not modified.
@@ -222,12 +222,12 @@ is
is virtual;
UIso (me; U : Real) returns mutable Curve
UIso (me; U : Real) returns Curve
---Purpose : Computes the U isoparametric curve.
is deferred;
VIso (me; V : Real) returns mutable Curve
VIso (me; V : Real) returns Curve
---Purpose : Computes the V isoparametric curve.
is deferred;

View File

@@ -64,7 +64,7 @@ raises RangeError from Standard,
is
Create (C : Curve; V : Dir) returns mutable SurfaceOfLinearExtrusion;
Create (C : Curve; V : Dir) returns SurfaceOfLinearExtrusion;
--- Purpose :
-- V is the direction of extrusion.
-- C is the extruded curve.
@@ -165,14 +165,14 @@ is
--- Purpose : IsVPeriodic always returns false.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
--- Purpose : Computes the U isoparametric curve of this surface
-- of linear extrusion. This is the line parallel to the
-- direction of extrusion, passing through the point of
-- parameter U of the basis curve.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
--- Purpose : Computes the V isoparametric curve of this surface
-- of linear extrusion. This curve is obtained by
-- translating the extruded curve in the direction of
@@ -295,7 +295,7 @@ is
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this surface of linear extrusion.
end;

View File

@@ -76,7 +76,7 @@ raises ConstructionError from Standard,
is
Create (C : Curve; A1 : Ax1) returns mutable SurfaceOfRevolution;
Create (C : Curve; A1 : Ax1) returns SurfaceOfRevolution;
---Purpose :
-- C : is the meridian or the referenced curve.
-- A1 is the axis of revolution.
@@ -263,13 +263,13 @@ is
-- surface of revolution is periodic.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose : Computes the U isoparametric curve of this surface
-- of revolution. It is the curve obtained by rotating the
-- meridian through an angle U about the axis of revolution.
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose : Computes the U isoparametric curve of this surface
-- of revolution. It is the curve obtained by rotating the
-- meridian through an angle U about the axis of revolution.
@@ -349,7 +349,7 @@ is
Transform (me : mutable; T : Trsf);
---Purpose: Applies the transformation T to this surface of revolution.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this surface of revolution.
fields

View File

@@ -78,7 +78,7 @@ raises ConstructionError from Standard,
is
Create (A3 : Ax3; MajorRadius, MinorRadius : Real)
returns mutable ToroidalSurface
returns ToroidalSurface
---Purpose :
-- A3 is the local coordinate system of the surface.
-- The orientation of increasing V parametric value is defined
@@ -94,7 +94,7 @@ is
-- Raised if MinorRadius < 0.0 or if MajorRadius < 0.0
Create (T : Torus) returns mutable ToroidalSurface;
Create (T : Torus) returns ToroidalSurface;
---Purpose :
-- Creates a ToroidalSurface from a non transient Torus from
-- package gp.
@@ -195,7 +195,7 @@ is
---Purpose : Returns True.
UIso (me; U : Real) returns mutable Curve;
UIso (me; U : Real) returns Curve;
---Purpose : Computes the U isoparametric curve.
--
-- For a toroidal surface the UIso curve is a circle.
@@ -206,7 +206,7 @@ is
-- MinorRadius = 0.0
VIso (me; V : Real) returns mutable Curve;
VIso (me; V : Real) returns Curve;
---Purpose : Computes the V isoparametric curve.
--
-- For a ToroidalSurface the VIso curve is a circle.
@@ -262,7 +262,7 @@ is
---Purpose: Applies the transformation T to this torus.
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this torus.
fields

View File

@@ -67,11 +67,11 @@ raises ConstructionError from Standard,
is
Create returns mutable Transformation;
Create returns Transformation;
---Purpose : Creates an identity transformation.
Create (T : Trsf) returns mutable Transformation;
Create (T : Trsf) returns Transformation;
---Purpose : Creates a transient copy of T.
@@ -194,7 +194,7 @@ is
-- package gp.
Inverted (me) returns mutable Transformation
Inverted (me) returns Transformation
raises ConstructionError;
---Purpose :
-- Raised if the the transformation is singular. This means that
@@ -206,7 +206,7 @@ is
Multiplied (me; Other : Transformation) returns mutable Transformation;
Multiplied (me; Other : Transformation) returns Transformation;
---Purpose :
-- Computes the transformation composed with Other and <me>.
-- <me> * Other.
@@ -251,7 +251,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

@@ -47,7 +47,7 @@ is
Create (C : Curve; U1, U2 : Real; Sense : Boolean = Standard_True)
returns mutable TrimmedCurve
returns TrimmedCurve
---Purpose : Constructs a trimmed curve from the basis curve C
-- which is limited between parameter values U1 and U2.
-- Note: - U1 can be greater or less than U2; in both cases,
@@ -284,7 +284,7 @@ is
-- This methods calls the basis curve method.
is redefined;
Copy (me) returns mutable like me;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this trimmed curve.
fields

View File

@@ -38,7 +38,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;
@@ -111,7 +111,7 @@ is
is deferred;
Crossed (me; Other : Vector) returns mutable like me
Crossed (me; Other : Vector) returns like me
---Purpose :
-- Computes the cross product between <me> and <Other>.
-- A new direction is returned.
@@ -134,7 +134,7 @@ is
is deferred;
CrossCrossed (me; V1, V2 : Vector) returns mutable like me
CrossCrossed (me; V1, V2 : Vector) returns like me
---Purpose :
-- Computes the triple vector product <me> ^(V1 ^ V2).
raises ConstructionError

View File

@@ -29,15 +29,15 @@ raises ConstructionError from Standard
is
Create (V : Vec) returns mutable VectorWithMagnitude;
Create (V : Vec) returns VectorWithMagnitude;
---Purpose : Creates a transient copy of V.
Create (X, Y, Z : Real) returns mutable VectorWithMagnitude;
Create (X, Y, Z : Real) returns VectorWithMagnitude;
---Purpose : Creates a vector with three cartesian coordinates.
Create (P1, P2 : Pnt) returns mutable VectorWithMagnitude;
Create (P1, P2 : Pnt) 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
@@ -77,7 +77,7 @@ is
-- Adds the Vector Other to <me>.
Added (me; Other : Vector) returns mutable VectorWithMagnitude
Added (me; Other : Vector) returns VectorWithMagnitude
---Purpose :
-- Adds the vector Other to <me>.
@@ -90,7 +90,7 @@ is
-- <me> ^ Other.
Crossed (me; Other : Vector) returns mutable like me
Crossed (me; Other : Vector) returns like me
---Purpose :
-- Computes the cross product between <me> and Other
-- <me> ^ Other. A new vector is returned.
@@ -102,7 +102,7 @@ is
-- Computes the triple vector product <me> ^ (V1 ^ V2).
CrossCrossed (me; V1, V2 : Vector) returns mutable like me
CrossCrossed (me; V1, V2 : Vector) returns like me
---Purpose :
-- Computes the triple vector product <me> ^ (V1 ^ V2).
-- A new vector is returned.
@@ -113,13 +113,13 @@ is
---Purpose : Divides <me> by a scalar.
Divided (me; Scalar : Real) returns mutable VectorWithMagnitude
Divided (me; Scalar : Real) returns VectorWithMagnitude
---Purpose :
-- Divides <me> by a scalar. A new vector is returned.
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.
@@ -139,7 +139,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 :
@@ -152,7 +152,7 @@ is
---Purpose : Subtracts the Vector Other to <me>.
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.
@@ -165,7 +165,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;