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

0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]

This commit is contained in:
abv
2015-11-20 21:04:11 +03:00
committed by bugmaster
parent 4d8eca1dce
commit 79104795a1
700 changed files with 2920 additions and 2904 deletions

View File

@@ -96,10 +96,10 @@ public:
Standard_EXPORT gp_Pnt2d Location() const;
//! Applies the transformation T to this axis.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Creates a new object which is a copy of this axis.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -341,14 +341,14 @@ public:
//! point of the reversed curve;
//! - the end point of the initial curve becomes the start
//! point of the reversed curve.
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Computes the parameter on the reversed curve for
//! the point of parameter U on this BSpline curve.
//! The returned value is: UFirst + ULast - U,
//! where UFirst and ULast are the values of the
//! first and last parameters of this BSpline curve.
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const;
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
//! Modifies this BSpline curve by segmenting it
//! between U1 and U2. Either of these values can be
@@ -514,7 +514,7 @@ public:
//! Returns true if the degree of continuity of this
//! BSpline curve is at least N. A BSpline curve is at least GeomAbs_C0.
//! Exceptions Standard_RangeError if N is negative.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;
//! Check if curve has at least G1 continuity in interval [theTf, theTl]
@@ -532,10 +532,10 @@ public:
//! Warnings :
//! The first and the last point can be different from the first
//! pole and the last pole of the curve.
Standard_EXPORT Standard_Boolean IsClosed() const;
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Returns True if the curve is periodic.
Standard_EXPORT Standard_Boolean IsPeriodic() const;
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns True if the weights are not identical.
@@ -555,7 +555,7 @@ public:
//! than Cd-p where p is the maximum multiplicity of the interior
//! Knots. In the interior of a knot span the curve is infinitely
//! continuously differentiable.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! Returns the degree of this BSpline curve.
//! In this class the degree of the basis normalized B-spline
@@ -563,13 +563,13 @@ public:
//! Computation of value and derivatives
Standard_EXPORT Standard_Integer Degree() const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
//! Raised if the continuity of the curve is not C1.
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
//! Raised if the continuity of the curve is not C2.
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const Standard_OVERRIDE;
//! For this BSpline curve, computes
//! - the point P of parameter U, or
@@ -583,7 +583,7 @@ public:
//! defined by the parameter with a value greater than U,
//! i.e. the part of the curve to the "right" of the singularity.
//! Raises UndefinedDerivative if the continuity of the curve is not C3.
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const Standard_OVERRIDE;
//! For the point of parameter U of this BSpline curve,
//! computes the vector corresponding to the Nth derivative.
@@ -606,7 +606,7 @@ public:
//! the same as if we consider the whole definition of the
//! curve. Of course the evaluations are different outside
//! this parametric domain.
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const;
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE;
//! Raised if FromK1 = ToK2.
//!
@@ -659,7 +659,7 @@ public:
//! The last point of the curve is different from the last
//! pole of the curve if the multiplicity of the last knot
//! is lower than Degree.
Standard_EXPORT gp_Pnt2d EndPoint() const;
Standard_EXPORT gp_Pnt2d EndPoint() const Standard_OVERRIDE;
//! For a B-spline curve the first parameter (which gives the start
@@ -672,7 +672,7 @@ public:
//! Computes the parametric value of the start point of the curve.
//! It is a knot value.
Standard_EXPORT Standard_Real FirstParameter() const;
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the knot of range Index. When there is a knot
@@ -732,7 +732,7 @@ public:
//! Computes the parametric value of the end point of the curve.
//! It is a knot value.
Standard_EXPORT Standard_Real LastParameter() const;
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Locates the parametric value U in the sequence of knots.
@@ -786,7 +786,7 @@ public:
//! Warnings :
//! This point is different from the first pole of the curve if the
//! multiplicity of the first knot is lower than Degree.
Standard_EXPORT gp_Pnt2d StartPoint() const;
Standard_EXPORT gp_Pnt2d StartPoint() const Standard_OVERRIDE;
//! Returns the weight of the pole of range Index .
//! Raised if Index < 1 or Index > NbPoles.
@@ -801,7 +801,7 @@ public:
Standard_EXPORT const TColStd_Array1OfReal* Weights() const;
//! Applies the transformation T to this BSpline curve.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Returns the value of the maximum degree of the normalized
@@ -818,7 +818,7 @@ public:
Standard_EXPORT void Resolution (const Standard_Real ToleranceUV, Standard_Real& UTolerance);
//! Creates a new object which is a copy of this BSpline curve.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -153,13 +153,13 @@ public:
//! Reverses the direction of parametrization of <me>
//! Value (NewU) = Value (1 - OldU)
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
//!
//! returns 1-U
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const;
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
//! Segments the curve between U1 and U2 which can be out
@@ -206,15 +206,15 @@ public:
//! Returns True if the distance between the first point
//! and the last point of the curve is lower or equal to
//! the Resolution from package gp.
Standard_EXPORT Standard_Boolean IsClosed() const;
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Continuity of the curve, returns True.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;
//! Returns False. A BezierCurve cannot be periodic in this
//! package
Standard_EXPORT Standard_Boolean IsPeriodic() const;
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns false if all the weights are identical. The tolerance
@@ -222,7 +222,7 @@ public:
Standard_EXPORT Standard_Boolean IsRational() const;
//! Returns GeomAbs_CN, which is the continuity of any Bezier curve.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! Returns the polynomial degree of the curve. It is the number
@@ -230,13 +230,13 @@ public:
//! curve cannot be greater than "MaxDegree".
Standard_EXPORT Standard_Integer Degree() const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const Standard_OVERRIDE;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const Standard_OVERRIDE;
//! For this Bezier curve, computes
//! - the point P of parameter U, or
@@ -246,18 +246,18 @@ public:
//! - V3, the third derivative vector.
//! Note: the parameter U can be outside the bounds of the curve.
//! Raises RangeError if N < 1.
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const;
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE;
//! Returns the end point or start point of this Bezier curve.
Standard_EXPORT gp_Pnt2d EndPoint() const;
Standard_EXPORT gp_Pnt2d EndPoint() const Standard_OVERRIDE;
//! Returns the value of the first parameter of this
//! Bezier curve. This is 0.0, which gives the start point of this Bezier curve.
Standard_EXPORT Standard_Real FirstParameter() const;
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the value of the last parameter of this
//! Bezier curve. This is 1.0, which gives the end point of this Bezier curve.
Standard_EXPORT Standard_Real LastParameter() const;
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns the number of poles for this Bezier curve.
Standard_EXPORT Standard_Integer NbPoles() const;
@@ -274,7 +274,7 @@ public:
//! Returns Value (U=1), it is the first control point
//! of the curve.
Standard_EXPORT gp_Pnt2d StartPoint() const;
Standard_EXPORT gp_Pnt2d StartPoint() const Standard_OVERRIDE;
//! Returns the weight of range Index.
//! Raised if Index is not in the range [1, NbPoles]
@@ -286,7 +286,7 @@ public:
Standard_EXPORT void Weights (TColStd_Array1OfReal& W) const;
//! Applies the transformation T to this Bezier curve.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Returns the value of the maximum polynomial degree of a
@@ -303,7 +303,7 @@ public:
Standard_EXPORT void Resolution (const Standard_Real ToleranceUV, Standard_Real& UTolerance);
//! Creates a new object which is a copy of this Bezier curve.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -58,23 +58,23 @@ public:
Standard_EXPORT void SetY (const Standard_Real Y);
//! Returns the coordinates of <me>.
Standard_EXPORT void Coord (Standard_Real& X, Standard_Real& Y) const;
Standard_EXPORT void Coord (Standard_Real& X, Standard_Real& Y) const Standard_OVERRIDE;
//! Returns a non persistent cartesian point with
//! the same coordinates as <me>.
//! -C++: return const&
Standard_EXPORT gp_Pnt2d Pnt2d() const;
Standard_EXPORT gp_Pnt2d Pnt2d() const Standard_OVERRIDE;
//! Returns the X coordinate of <me>.
Standard_EXPORT Standard_Real X() const;
Standard_EXPORT Standard_Real X() const Standard_OVERRIDE;
//! Returns the Y coordinate of <me>.
Standard_EXPORT Standard_Real Y() const;
Standard_EXPORT Standard_Real Y() const Standard_OVERRIDE;
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -111,18 +111,18 @@ public:
//! Reverses the direction of parameterization of <me>.
//! The local coordinate system of the conic is modified.
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
Standard_EXPORT virtual Standard_Real ReversedParameter (const Standard_Real U) const = 0;
Standard_EXPORT virtual Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE = 0;
//! Returns GeomAbs_CN which is the global continuity of any conic.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! Returns True, the order of continuity of a conic is infinite.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;

View File

@@ -78,23 +78,23 @@ public:
Standard_EXPORT gp_Dir2d Dir2d() const;
//! returns 1.0
Standard_EXPORT Standard_Real Magnitude() const;
Standard_EXPORT Standard_Real Magnitude() const Standard_OVERRIDE;
//! returns 1.0
Standard_EXPORT Standard_Real SquareMagnitude() const;
Standard_EXPORT Standard_Real SquareMagnitude() const Standard_OVERRIDE;
//! Computes the cross product between <me> and <Other>.
Standard_EXPORT Standard_Real Crossed (const Handle(Geom2d_Vector)& Other) const;
Standard_EXPORT Standard_Real Crossed (const Handle(Geom2d_Vector)& Other) const Standard_OVERRIDE;
Standard_Real operator ^ (const Handle(Geom2d_Vector)& Other) const
{
return Crossed(Other);
}
//! Applies the transformation T to this unit vector, then normalizes it.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Creates a new object which is a copy of this unit vector.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -106,62 +106,62 @@ public:
//! Changes the orientation of this line. As a result, the
//! unit vector of the positioning axis of this line is reversed.
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Computes the parameter on the reversed line for the
//! point of parameter U on this line.
//! For a line, the returned value is -U.
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const;
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
//! Returns RealFirst from Standard.
Standard_EXPORT Standard_Real FirstParameter() const;
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns RealLast from Standard
Standard_EXPORT Standard_Real LastParameter() const;
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns False
Standard_EXPORT Standard_Boolean IsClosed() const;
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Returns False
Standard_EXPORT Standard_Boolean IsPeriodic() const;
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns GeomAbs_CN, which is the global continuity of any line.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! Computes the distance between <me> and the point P.
Standard_EXPORT Standard_Real Distance (const gp_Pnt2d& P) const;
//! Returns True.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;
//! Returns in P the point of parameter U.
//! P (U) = O + U * Dir where O is the "Location" point of the
//! line and Dir the direction of the line.
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
//! Returns the point P of parameter u and the first derivative V1.
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
//! Returns the point P of parameter U, the first and second
//! derivatives V1 and V2. V2 is a vector with null magnitude
//! for a line.
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const Standard_OVERRIDE;
//! V2 and V3 are vectors with null magnitude for a line.
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const Standard_OVERRIDE;
//! For the point of parameter U of this line, computes
//! the vector corresponding to the Nth derivative.
//! Note: if N is greater than or equal to 2, the result is a
//! vector with null magnitude.
//! Exceptions Standard_RangeError if N is less than 1.
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const;
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE;
//! Applies the transformation T to this line.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Computes the parameter on the line transformed by
//! T for the point of parameter U on this line.
@@ -179,7 +179,7 @@ public:
Standard_EXPORT virtual Standard_Real ParametricTransformation (const gp_Trsf2d& T) const Standard_OVERRIDE;
//! Creates a new object, which is a copy of this line.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -115,11 +115,11 @@ public:
//! - the end point of the initial curve becomes the start
//! point of the reversed curve, and
//! - the first and last parameters are recomputed.
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Computes the parameter on the reversed curve for
//! the point of parameter U on this offset curve.
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const;
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
//! Changes this offset curve by assigning C as the
//! basis curve from which it is built.
@@ -161,30 +161,30 @@ public:
//! the offset curve.
//! No check is done at the creation time and we suppose
//! in this package that the offset curve is well defined.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! Warning! this should not be called
//! if the basis curve is not at least C1. Nevertheless
//! if used on portion where the curve is C1, it is OK
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
//! Warning! this should not be called
//! if the continuity of the basis curve is not C2.
//! Nevertheless, it's OK to use it on portion
//! where the curve is C2
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
//! Warning! This should not be called
//! if the continuity of the basis curve is not C3.
//! Nevertheless, it's OK to use it on portion
//! where the curve is C3
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const Standard_OVERRIDE;
//! Warning! This should not be called
//! if the continuity of the basis curve is not C4.
//! Nevertheless, it's OK to use it on portion
//! where the curve is C4
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const Standard_OVERRIDE;
//! The returned vector gives the value of the derivative
//! for the order of derivation N.
@@ -202,7 +202,7 @@ public:
//! Warnings :
//! The exception UndefinedValue or UndefinedDerivative is
//! raised if it is not possible to compute a unique offset direction.
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const;
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE;
//! Warning! this should not be called
//! if the basis curve is not at least C1. Nevertheless
@@ -221,7 +221,7 @@ public:
//! where the curve is C3
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Pnt2d& Pbasis, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V1basis, gp_Vec2d& V2basis, gp_Vec2d& V3basis) const;
Standard_EXPORT Standard_Real FirstParameter() const;
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns the value of the first or last parameter of this
//! offset curve. The first parameter corresponds to the
@@ -229,7 +229,7 @@ public:
//! corresponds to the end point.
//! Note: the first and last parameters of this offset curve
//! are also the ones of its basis curve.
Standard_EXPORT Standard_Real LastParameter() const;
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns the offset value of this offset curve.
Standard_EXPORT Standard_Real Offset() const;
@@ -238,7 +238,7 @@ public:
//! Returns True if the distance between the start point
//! and the end point of the curve is lower or equal to
//! Resolution from package gp.
Standard_EXPORT Standard_Boolean IsClosed() const;
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Is the order of continuity of the curve N ?
//! Warnings :
@@ -247,13 +247,13 @@ public:
//! to the basis curve (used to compute the offset curve) is
//! defined at any point on the basis curve.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;
//! Is the parametrization of a curve is periodic ?
//! If the basis curve is a circle or an ellipse the corresponding
//! OffsetCurve is periodic. If the basis curve can't be periodic
//! (for example BezierCurve) the OffsetCurve can't be periodic.
Standard_EXPORT Standard_Boolean IsPeriodic() const;
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns the period of this offset curve, i.e. the period
//! of the basis curve of this offset curve.
@@ -263,7 +263,7 @@ public:
//! Applies the transformation T to this offset curve.
//! Note: the basis curve is also modified.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Returns the parameter on the transformed curve for
//! the transform of the point of parameter U on <me>.
@@ -291,7 +291,7 @@ public:
Standard_EXPORT virtual Standard_Real ParametricTransformation (const gp_Trsf2d& T) const Standard_OVERRIDE;
//! Creates a new object, which is a copy of this offset curve.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;
//! Returns continuity of the basis curve.
Standard_EXPORT GeomAbs_Shape GetBasisCurveContinuity() const;

View File

@@ -102,13 +102,13 @@ public:
//! - the reversed basis curve, whose parameter range is still [ 0.,1. ], and
//! - the two trim values 1. - U2 (first parameter)
//! and 1. - U1 (last parameter).
Standard_EXPORT void Reverse();
Standard_EXPORT void Reverse() Standard_OVERRIDE;
//! Returns the parameter on the reversed curve for
//! the point of parameter U on <me>.
//!
//! returns UFirst + ULast - U
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const;
Standard_EXPORT Standard_Real ReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
//! Changes this trimmed curve, by redefining the
//! parameter values U1 and U2, which limit its basis curve.
@@ -143,7 +143,7 @@ public:
//! C2 : continuity of the second derivative all along the Curve,
//! C3 : continuity of the third derivative all along the Curve,
//! CN : the order of continuity is infinite.
Standard_EXPORT GeomAbs_Shape Continuity() const;
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
//! --- Purpose
//! Returns True if the order of continuity of the
@@ -153,27 +153,27 @@ public:
//! the continuity of the basis curve because you consider
//! only a part of the basis curve.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const;
Standard_EXPORT Standard_Boolean IsCN (const Standard_Integer N) const Standard_OVERRIDE;
//! Returns the end point of <me>. This point is the
//! evaluation of the curve for the "LastParameter".
Standard_EXPORT gp_Pnt2d EndPoint() const;
Standard_EXPORT gp_Pnt2d EndPoint() const Standard_OVERRIDE;
//! Returns the value of the first parameter of <me>.
//! The first parameter is the parameter of the "StartPoint"
//! of the trimmed curve.
Standard_EXPORT Standard_Real FirstParameter() const;
Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
//! Returns True if the distance between the StartPoint and
//! the EndPoint is lower or equal to Resolution from package
//! gp.
Standard_EXPORT Standard_Boolean IsClosed() const;
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Returns true if the basis curve of this trimmed curve is periodic.
Standard_EXPORT Standard_Boolean IsPeriodic() const;
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns the period of the basis curve of this trimmed curve.
//! Exceptions
@@ -184,7 +184,7 @@ public:
//! Returns the value of the last parameter of <me>.
//! The last parameter is the parameter of the "EndPoint" of the
//! trimmed curve.
Standard_EXPORT Standard_Real LastParameter() const;
Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
//! Returns the start point of <me>.
@@ -194,22 +194,22 @@ public:
//! Warnings :
//! The returned derivatives have the same orientation as the
//! derivatives of the basis curve.
Standard_EXPORT gp_Pnt2d StartPoint() const;
Standard_EXPORT gp_Pnt2d StartPoint() const Standard_OVERRIDE;
//! If the basis curve is an OffsetCurve sometimes it is not
//! possible to do the evaluation of the curve at the parameter
//! U (see class OffsetCurve).
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const;
Standard_EXPORT void D0 (const Standard_Real U, gp_Pnt2d& P) const Standard_OVERRIDE;
//! Raised if the continuity of the curve is not C1.
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const;
Standard_EXPORT void D1 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const Standard_OVERRIDE;
//! Raised if the continuity of the curve is not C2.
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const;
Standard_EXPORT void D2 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const Standard_OVERRIDE;
//! Raised if the continuity of the curve is not C3.
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const;
Standard_EXPORT void D3 (const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) const Standard_OVERRIDE;
//! For the point of parameter U of this trimmed curve,
//! computes the vector corresponding to the Nth derivative.
@@ -221,11 +221,11 @@ public:
//! Exceptions
//! Standard_RangeError if N is less than 1.
//! geometric transformations
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const;
Standard_EXPORT gp_Vec2d DN (const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE;
//! Applies the transformation T to this trimmed curve.
//! Warning The basis curve is also modified.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Returns the parameter on the transformed curve for
//! the transform of the point of parameter U on <me>.
@@ -254,7 +254,7 @@ public:
//! Creates a new object, which is a copy of this trimmed curve.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;

View File

@@ -65,10 +65,10 @@ public:
Standard_EXPORT void SetY (const Standard_Real Y);
//! Returns the magnitude of <me>.
Standard_EXPORT Standard_Real Magnitude() const;
Standard_EXPORT Standard_Real Magnitude() const Standard_OVERRIDE;
//! Returns the square magnitude of <me>.
Standard_EXPORT Standard_Real SquareMagnitude() const;
Standard_EXPORT Standard_Real SquareMagnitude() const Standard_OVERRIDE;
//! Adds the Vector Other to <me>.
@@ -89,7 +89,7 @@ Handle(Geom2d_VectorWithMagnitude) operator + (const Handle(Geom2d_Vector)& Othe
//! Computes the cross product between <me> and Other
//! <me> ^ Other. A new vector is returned.
Standard_EXPORT Standard_Real Crossed (const Handle(Geom2d_Vector)& Other) const;
Standard_EXPORT Standard_Real Crossed (const Handle(Geom2d_Vector)& Other) const Standard_OVERRIDE;
Standard_Real operator ^ (const Handle(Geom2d_Vector)& Other) const
{
return Crossed(Other);
@@ -154,10 +154,10 @@ Handle(Geom2d_VectorWithMagnitude) operator - (const Handle(Geom2d_Vector)& Othe
}
//! Applies the transformation T to this vector.
Standard_EXPORT void Transform (const gp_Trsf2d& T);
Standard_EXPORT void Transform (const gp_Trsf2d& T) Standard_OVERRIDE;
//! Creates a new object which is a copy of this vector.
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const;
Standard_EXPORT Handle(Geom2d_Geometry) Copy() const Standard_OVERRIDE;