From 6ed44b1ca93a2961d06157195a00b16c7b94e4e0 Mon Sep 17 00:00:00 2001 From: abv Date: Mon, 7 Oct 2019 21:32:21 +0300 Subject: [PATCH] 0031044: Coding - Standard_NODISCARD should be placed before Standard_EXPORT Standard_NODISCARD is put before Standard_EXPORT in all places throughout OCCT code --- src/Bnd/Bnd_B2d.hxx | 2 +- src/Bnd/Bnd_B2f.hxx | 2 +- src/Bnd/Bnd_B3d.hxx | 2 +- src/Bnd/Bnd_B3f.hxx | 2 +- src/Bnd/Bnd_Box.hxx | 2 +- src/Bnd/Bnd_Box2d.hxx | 2 +- src/Geom/Geom_Axis1Placement.hxx | 2 +- src/Geom/Geom_Curve.hxx | 2 +- src/Geom/Geom_Geometry.hxx | 16 ++++++++-------- src/Geom/Geom_Surface.hxx | 4 ++-- src/Geom/Geom_Transformation.hxx | 4 ++-- src/Geom/Geom_Vector.hxx | 2 +- src/Geom/Geom_VectorWithMagnitude.hxx | 10 +++++----- src/Geom2d/Geom2d_AxisPlacement.hxx | 2 +- src/Geom2d/Geom2d_Curve.hxx | 2 +- src/Geom2d/Geom2d_Geometry.hxx | 14 +++++++------- src/Geom2d/Geom2d_Transformation.hxx | 4 ++-- src/Geom2d/Geom2d_Vector.hxx | 2 +- src/Geom2d/Geom2d_VectorWithMagnitude.hxx | 10 +++++----- src/TopLoc/TopLoc_Location.hxx | 10 +++++----- src/Units/Units_Token.hxx | 4 ++-- src/gp/gp_Ax1.hxx | 6 +++--- src/gp/gp_Ax2.hxx | 6 +++--- src/gp/gp_Ax22d.hxx | 4 ++-- src/gp/gp_Ax2d.hxx | 4 ++-- src/gp/gp_Ax3.hxx | 6 +++--- src/gp/gp_Circ.hxx | 6 +++--- src/gp/gp_Circ2d.hxx | 4 ++-- src/gp/gp_Cone.hxx | 6 +++--- src/gp/gp_Cylinder.hxx | 6 +++--- src/gp/gp_Dir.hxx | 6 +++--- src/gp/gp_Dir2d.hxx | 4 ++-- src/gp/gp_Elips.hxx | 6 +++--- src/gp/gp_Elips2d.hxx | 4 ++-- src/gp/gp_Hypr.hxx | 6 +++--- src/gp/gp_Hypr2d.hxx | 4 ++-- src/gp/gp_Lin.hxx | 6 +++--- src/gp/gp_Lin2d.hxx | 4 ++-- src/gp/gp_Parab.hxx | 6 +++--- src/gp/gp_Parab2d.hxx | 4 ++-- src/gp/gp_Pln.hxx | 6 +++--- src/gp/gp_Pnt.hxx | 6 +++--- src/gp/gp_Pnt2d.hxx | 4 ++-- src/gp/gp_Sphere.hxx | 6 +++--- src/gp/gp_Torus.hxx | 6 +++--- src/gp/gp_Vec.hxx | 6 +++--- src/gp/gp_Vec2d.hxx | 4 ++-- src/math/math_IntegerVector.hxx | 10 +++++----- src/math/math_Matrix.hxx | 16 ++++++++-------- src/math/math_Vector.hxx | 16 ++++++++-------- 50 files changed, 139 insertions(+), 139 deletions(-) diff --git a/src/Bnd/Bnd_B2d.hxx b/src/Bnd/Bnd_B2d.hxx index 6dfd2f7f0f..939a670bcc 100644 --- a/src/Bnd/Bnd_B2d.hxx +++ b/src/Bnd/Bnd_B2d.hxx @@ -83,7 +83,7 @@ public: //! Transform the bounding box with the given transformation. //! The resulting box will be larger if theTrsf contains rotation. - Standard_EXPORT Standard_NODISCARD Bnd_B2d Transformed (const gp_Trsf2d& theTrsf) const; + Standard_NODISCARD Standard_EXPORT Bnd_B2d Transformed (const gp_Trsf2d& theTrsf) const; //! Check the given point for the inclusion in the Box. //! Returns True if the point is outside. diff --git a/src/Bnd/Bnd_B2f.hxx b/src/Bnd/Bnd_B2f.hxx index bf1acad00b..6b7a02d533 100644 --- a/src/Bnd/Bnd_B2f.hxx +++ b/src/Bnd/Bnd_B2f.hxx @@ -84,7 +84,7 @@ public: //! Transform the bounding box with the given transformation. //! The resulting box will be larger if theTrsf contains rotation. - Standard_EXPORT Standard_NODISCARD Bnd_B2f Transformed (const gp_Trsf2d& theTrsf) const; + Standard_NODISCARD Standard_EXPORT Bnd_B2f Transformed (const gp_Trsf2d& theTrsf) const; //! Check the given point for the inclusion in the Box. //! Returns True if the point is outside. diff --git a/src/Bnd/Bnd_B3d.hxx b/src/Bnd/Bnd_B3d.hxx index 5f72d6bb2c..6c162563b5 100644 --- a/src/Bnd/Bnd_B3d.hxx +++ b/src/Bnd/Bnd_B3d.hxx @@ -84,7 +84,7 @@ public: //! Transform the bounding box with the given transformation. //! The resulting box will be larger if theTrsf contains rotation. - Standard_EXPORT Standard_NODISCARD Bnd_B3d Transformed (const gp_Trsf& theTrsf) const; + Standard_NODISCARD Standard_EXPORT Bnd_B3d Transformed (const gp_Trsf& theTrsf) const; //! Check the given point for the inclusion in the Box. //! Returns True if the point is outside. diff --git a/src/Bnd/Bnd_B3f.hxx b/src/Bnd/Bnd_B3f.hxx index e625ca33bd..e391590881 100644 --- a/src/Bnd/Bnd_B3f.hxx +++ b/src/Bnd/Bnd_B3f.hxx @@ -85,7 +85,7 @@ public: //! Transform the bounding box with the given transformation. //! The resulting box will be larger if theTrsf contains rotation. - Standard_EXPORT Standard_NODISCARD Bnd_B3f Transformed (const gp_Trsf& theTrsf) const; + Standard_NODISCARD Standard_EXPORT Bnd_B3f Transformed (const gp_Trsf& theTrsf) const; //! Check the given point for the inclusion in the Box. //! Returns True if the point is outside. diff --git a/src/Bnd/Bnd_Box.hxx b/src/Bnd/Bnd_Box.hxx index 4d220df02a..5467e5520f 100644 --- a/src/Bnd/Bnd_Box.hxx +++ b/src/Bnd/Bnd_Box.hxx @@ -219,7 +219,7 @@ public: //! Applying a geometric transformation (for example, a //! rotation) to a bounding box generally increases its //! dimensions. This is not optimal for algorithms which use it. - Standard_EXPORT Standard_NODISCARD Bnd_Box Transformed (const gp_Trsf& T) const; + Standard_NODISCARD Standard_EXPORT Bnd_Box Transformed (const gp_Trsf& T) const; //! Adds the box to . Standard_EXPORT void Add (const Bnd_Box& Other); diff --git a/src/Bnd/Bnd_Box2d.hxx b/src/Bnd/Bnd_Box2d.hxx index a7541f61ed..3e1ae44a5e 100644 --- a/src/Bnd/Bnd_Box2d.hxx +++ b/src/Bnd/Bnd_Box2d.hxx @@ -160,7 +160,7 @@ public: //! Applying a geometric transformation (for example, a //! rotation) to a bounding box generally increases its //! dimensions. This is not optimal for algorithms which use it. - Standard_EXPORT Standard_NODISCARD Bnd_Box2d Transformed (const gp_Trsf2d& T) const; + Standard_NODISCARD Standard_EXPORT Bnd_Box2d Transformed (const gp_Trsf2d& T) const; //! Adds the 2d box to . Standard_EXPORT void Add (const Bnd_Box2d& Other); diff --git a/src/Geom/Geom_Axis1Placement.hxx b/src/Geom/Geom_Axis1Placement.hxx index 601d53d59b..2104db170e 100644 --- a/src/Geom/Geom_Axis1Placement.hxx +++ b/src/Geom/Geom_Axis1Placement.hxx @@ -65,7 +65,7 @@ public: Standard_EXPORT void Reverse(); //! Returns a copy of reversed. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Axis1Placement) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Axis1Placement) Reversed() const; //! Assigns V to the unit vector of this axis. Standard_EXPORT void SetDirection (const gp_Dir& V) Standard_OVERRIDE; diff --git a/src/Geom/Geom_Curve.hxx b/src/Geom/Geom_Curve.hxx index 4ec6137d2c..ab28dde1ef 100644 --- a/src/Geom/Geom_Curve.hxx +++ b/src/Geom/Geom_Curve.hxx @@ -117,7 +117,7 @@ public: Standard_EXPORT virtual Standard_Real ParametricTransformation (const gp_Trsf& T) const; //! Returns a copy of reversed. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Curve) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Curve) Reversed() const; //! Returns the value of the first parameter. //! Warnings : diff --git a/src/Geom/Geom_Geometry.hxx b/src/Geom/Geom_Geometry.hxx index 4b6799a550..1049773383 100644 --- a/src/Geom/Geom_Geometry.hxx +++ b/src/Geom/Geom_Geometry.hxx @@ -99,21 +99,21 @@ public: //! (see class Transformation of the package Geom). Standard_EXPORT virtual void Transform (const gp_Trsf& T) = 0; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Mirrored (const gp_Pnt& P) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Mirrored (const gp_Ax1& A1) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Mirrored (const gp_Ax2& A2) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Rotated (const gp_Ax1& A1, const Standard_Real Ang) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Rotated (const gp_Ax1& A1, const Standard_Real Ang) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Scaled (const gp_Pnt& P, const Standard_Real S) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Scaled (const gp_Pnt& P, const Standard_Real S) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Transformed (const gp_Trsf& T) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Transformed (const gp_Trsf& T) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Translated (const gp_Vec& V) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Translated (const gp_Vec& V) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom_Geometry) Translated (const gp_Pnt& P1, const gp_Pnt& P2) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Geometry) Translated (const gp_Pnt& P1, const gp_Pnt& P2) const; //! Creates a new object which is a copy of this geometric object. Standard_EXPORT virtual Handle(Geom_Geometry) Copy() const = 0; diff --git a/src/Geom/Geom_Surface.hxx b/src/Geom/Geom_Surface.hxx index 4e84b58448..2bf81cacee 100644 --- a/src/Geom/Geom_Surface.hxx +++ b/src/Geom/Geom_Surface.hxx @@ -68,7 +68,7 @@ public: //! Reverses the U direction of parametrization of . //! The bounds of the surface are not modified. //! A copy of is returned. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Surface) UReversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) UReversed() const; //! Returns the parameter on the Ureversed surface for //! the point of parameter U on . @@ -89,7 +89,7 @@ public: //! Reverses the V direction of parametrization of . //! The bounds of the surface are not modified. //! A copy of is returned. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Surface) VReversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) VReversed() const; //! Returns the parameter on the Vreversed surface for //! the point of parameter V on . diff --git a/src/Geom/Geom_Transformation.hxx b/src/Geom/Geom_Transformation.hxx index 69c261a3ab..bfa3af47c6 100644 --- a/src/Geom/Geom_Transformation.hxx +++ b/src/Geom/Geom_Transformation.hxx @@ -160,12 +160,12 @@ public: //! Raised if the the transformation is singular. This means that //! the ScaleFactor is lower or equal to Resolution from //! package gp. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Transformation) Inverted() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Transformation) Inverted() const; //! Computes the transformation composed with Other and . //! * Other. //! Returns a new transformation - Standard_EXPORT Standard_NODISCARD Handle(Geom_Transformation) Multiplied (const Handle(Geom_Transformation)& Other) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Transformation) Multiplied (const Handle(Geom_Transformation)& Other) const; //! Computes the transformation composed with Other and . //! = * Other. diff --git a/src/Geom/Geom_Vector.hxx b/src/Geom/Geom_Vector.hxx index 1c45b0e006..f060d26627 100644 --- a/src/Geom/Geom_Vector.hxx +++ b/src/Geom/Geom_Vector.hxx @@ -47,7 +47,7 @@ public: //! Returns a copy of reversed. - Standard_EXPORT Standard_NODISCARD Handle(Geom_Vector) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_Vector) Reversed() const; //! Computes the angular value, in radians, between this //! vector and vector Other. The result is a value between 0 and Pi. diff --git a/src/Geom/Geom_VectorWithMagnitude.hxx b/src/Geom/Geom_VectorWithMagnitude.hxx index bf8b57434a..32a4db422a 100644 --- a/src/Geom/Geom_VectorWithMagnitude.hxx +++ b/src/Geom/Geom_VectorWithMagnitude.hxx @@ -80,7 +80,7 @@ public: //! Adds the vector Other to . - Standard_EXPORT Standard_NODISCARD Handle(Geom_VectorWithMagnitude) Added (const Handle(Geom_Vector)& Other) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_VectorWithMagnitude) Added (const Handle(Geom_Vector)& Other) const; //! Computes the cross product between and Other @@ -106,12 +106,12 @@ public: //! Divides by a scalar. A new vector is returned. - Standard_EXPORT Standard_NODISCARD Handle(Geom_VectorWithMagnitude) Divided (const Standard_Real Scalar) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_VectorWithMagnitude) Divided (const Standard_Real Scalar) const; //! Computes the product of the vector by a scalar. //! A new vector is returned. - Standard_EXPORT Standard_NODISCARD Handle(Geom_VectorWithMagnitude) Multiplied (const Standard_Real Scalar) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_VectorWithMagnitude) Multiplied (const Standard_Real Scalar) const; //! Computes the product of the vector by a scalar. @@ -127,14 +127,14 @@ public: //! //! Raised if the magnitude of the vector is lower or equal to //! Resolution from package gp. - Standard_EXPORT Standard_NODISCARD Handle(Geom_VectorWithMagnitude) Normalized() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom_VectorWithMagnitude) Normalized() const; //! Subtracts the Vector Other to . Standard_EXPORT void Subtract (const Handle(Geom_Vector)& Other); //! Subtracts the vector Other to . A new vector is returned. - Standard_EXPORT Standard_NODISCARD + Standard_NODISCARD Standard_EXPORT Handle(Geom_VectorWithMagnitude) Subtracted (const Handle(Geom_Vector)& Other) const; //! Applies the transformation T to this vector. diff --git a/src/Geom2d/Geom2d_AxisPlacement.hxx b/src/Geom2d/Geom2d_AxisPlacement.hxx index 5a570c365d..eb68666931 100644 --- a/src/Geom2d/Geom2d_AxisPlacement.hxx +++ b/src/Geom2d/Geom2d_AxisPlacement.hxx @@ -64,7 +64,7 @@ public: //! Note: //! - Reverse assigns the result to this axis, while //! - Reversed creates a new one. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_AxisPlacement) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_AxisPlacement) Reversed() const; //! Changes the complete definition of the axis placement. Standard_EXPORT void SetAxis (const gp_Ax2d& A); diff --git a/src/Geom2d/Geom2d_Curve.hxx b/src/Geom2d/Geom2d_Curve.hxx index f12036a659..bdf2886e0c 100644 --- a/src/Geom2d/Geom2d_Curve.hxx +++ b/src/Geom2d/Geom2d_Curve.hxx @@ -110,7 +110,7 @@ public: //! - the end point of the initial curve becomes the start //! point of the reversed curve. //! - Reversed creates a new curve. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Curve) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Curve) Reversed() const; //! Returns the value of the first parameter. //! Warnings : diff --git a/src/Geom2d/Geom2d_Geometry.hxx b/src/Geom2d/Geom2d_Geometry.hxx index b28d45359d..f73a4e5bb6 100644 --- a/src/Geom2d/Geom2d_Geometry.hxx +++ b/src/Geom2d/Geom2d_Geometry.hxx @@ -94,19 +94,19 @@ public: //! itself. A copy of the object is returned. Standard_EXPORT virtual void Transform (const gp_Trsf2d& T) = 0; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Mirrored (const gp_Pnt2d& P) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Mirrored (const gp_Ax2d& A) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Rotated (const gp_Pnt2d& P, const Standard_Real Ang) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Rotated (const gp_Pnt2d& P, const Standard_Real Ang) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Scaled (const gp_Pnt2d& P, const Standard_Real S) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Scaled (const gp_Pnt2d& P, const Standard_Real S) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Transformed (const gp_Trsf2d& T) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Transformed (const gp_Trsf2d& T) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Translated (const gp_Vec2d& V) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Translated (const gp_Vec2d& V) const; - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Geometry) Translated (const gp_Pnt2d& P1, const gp_Pnt2d& P2) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Geometry) Translated (const gp_Pnt2d& P1, const gp_Pnt2d& P2) const; Standard_EXPORT virtual Handle(Geom2d_Geometry) Copy() const = 0; diff --git a/src/Geom2d/Geom2d_Transformation.hxx b/src/Geom2d/Geom2d_Transformation.hxx index 07434e4340..33d0d6b9ce 100644 --- a/src/Geom2d/Geom2d_Transformation.hxx +++ b/src/Geom2d/Geom2d_Transformation.hxx @@ -170,13 +170,13 @@ public: //! 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. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Transformation) Inverted() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Transformation) Inverted() const; //! Computes the transformation composed with Other and . //! * Other. //! Returns a new transformation - Standard_EXPORT Standard_NODISCARD + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Transformation) Multiplied (const Handle(Geom2d_Transformation)& Other) const; Standard_NODISCARD Handle(Geom2d_Transformation) operator * (const Handle(Geom2d_Transformation)& Other) const { diff --git a/src/Geom2d/Geom2d_Vector.hxx b/src/Geom2d/Geom2d_Vector.hxx index 276a86e752..c106b30c16 100644 --- a/src/Geom2d/Geom2d_Vector.hxx +++ b/src/Geom2d/Geom2d_Vector.hxx @@ -46,7 +46,7 @@ public: Standard_EXPORT void Reverse(); //! Returns a copy of reversed. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_Vector) Reversed() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Vector) Reversed() const; //! Computes the angular value, in radians, between this //! vector and vector Other. The result is a value diff --git a/src/Geom2d/Geom2d_VectorWithMagnitude.hxx b/src/Geom2d/Geom2d_VectorWithMagnitude.hxx index 4b15785b0c..2a40681c68 100644 --- a/src/Geom2d/Geom2d_VectorWithMagnitude.hxx +++ b/src/Geom2d/Geom2d_VectorWithMagnitude.hxx @@ -80,7 +80,7 @@ void operator += (const Handle(Geom2d_Vector)& Other) //! Adds the vector Other to . - Standard_EXPORT Standard_NODISCARD + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_VectorWithMagnitude) Added (const Handle(Geom2d_Vector)& Other) const; Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator + (const Handle(Geom2d_Vector)& Other) const { @@ -105,7 +105,7 @@ void operator /= (const Standard_Real Scalar) //! Divides by a scalar. A new vector is returned. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) Divided (const Standard_Real Scalar) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_VectorWithMagnitude) Divided (const Standard_Real Scalar) const; Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator / (const Standard_Real Scalar) const { return Divided(Scalar); @@ -117,7 +117,7 @@ Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator / (const Standard //! //! -C++: alias operator * //! Collision with same operator defined for the class Vector! - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) Multiplied (const Standard_Real Scalar) const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_VectorWithMagnitude) Multiplied (const Standard_Real Scalar) const; //! Computes the product of the vector by a scalar. @@ -137,7 +137,7 @@ void operator *= (const Standard_Real Scalar) //! //! Raised if the magnitude of the vector is lower or equal to //! Resolution from package gp. - Standard_EXPORT Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) Normalized() const; + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_VectorWithMagnitude) Normalized() const; //! Subtracts the Vector Other to . Standard_EXPORT void Subtract (const Handle(Geom2d_Vector)& Other); @@ -148,7 +148,7 @@ void operator -= (const Handle(Geom2d_Vector)& Other) //! Subtracts the vector Other to . A new vector is returned. - Standard_EXPORT Standard_NODISCARD + Standard_NODISCARD Standard_EXPORT Handle(Geom2d_VectorWithMagnitude) Subtracted (const Handle(Geom2d_Vector)& Other) const; Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator - (const Handle(Geom2d_Vector)& Other) const { diff --git a/src/TopLoc/TopLoc_Location.hxx b/src/TopLoc/TopLoc_Location.hxx index dbc8b4fd4f..fa11d8253d 100644 --- a/src/TopLoc/TopLoc_Location.hxx +++ b/src/TopLoc/TopLoc_Location.hxx @@ -91,30 +91,30 @@ Standard_EXPORT operator gp_Trsf() const; //! Returns the inverse of . //! //! * Inverted() is an Identity. - Standard_EXPORT Standard_NODISCARD TopLoc_Location Inverted() const; + Standard_NODISCARD Standard_EXPORT TopLoc_Location Inverted() const; //! Returns * , the elementary datums are //! concatenated. - Standard_EXPORT Standard_NODISCARD TopLoc_Location Multiplied (const TopLoc_Location& Other) const; + Standard_NODISCARD Standard_EXPORT TopLoc_Location Multiplied (const TopLoc_Location& Other) const; Standard_NODISCARD TopLoc_Location operator* (const TopLoc_Location& Other) const { return Multiplied(Other); } //! Returns / . - Standard_EXPORT Standard_NODISCARD TopLoc_Location Divided (const TopLoc_Location& Other) const; + Standard_NODISCARD Standard_EXPORT TopLoc_Location Divided (const TopLoc_Location& Other) const; Standard_NODISCARD TopLoc_Location operator/ (const TopLoc_Location& Other) const { return Divided(Other); } //! Returns .Inverted() * . - Standard_EXPORT Standard_NODISCARD TopLoc_Location Predivided (const TopLoc_Location& Other) const; + Standard_NODISCARD Standard_EXPORT TopLoc_Location Predivided (const TopLoc_Location& Other) const; //! Returns me at the power . If is zero //! returns Identity. can be lower than zero //! (usual meaning for powers). - Standard_EXPORT Standard_NODISCARD TopLoc_Location Powered (const Standard_Integer pwr) const; + Standard_NODISCARD Standard_EXPORT TopLoc_Location Powered (const Standard_Integer pwr) const; //! Returns a hashed value for this local coordinate system. This value is used, with map tables, to store and //! retrieve the object easily, and is in the range [1, theUpperBound]. diff --git a/src/Units/Units_Token.hxx b/src/Units/Units_Token.hxx index 9048b3c47c..12f7cea231 100644 --- a/src/Units/Units_Token.hxx +++ b/src/Units/Units_Token.hxx @@ -126,7 +126,7 @@ public: //! This virtual method is called by the Measurement //! methods, to compute the measurement during a //! conversion. - Standard_EXPORT Standard_NODISCARD virtual Standard_Real Multiplied (const Standard_Real avalue) const; + Standard_NODISCARD Standard_EXPORT virtual Standard_Real Multiplied (const Standard_Real avalue) const; //! Returns a token which is the division of by another //! token . @@ -135,7 +135,7 @@ public: //! This virtual method is called by the Measurement //! methods, to compute the measurement during a //! conversion. - Standard_EXPORT Standard_NODISCARD virtual Standard_Real Divided (const Standard_Real avalue) const; + Standard_NODISCARD Standard_EXPORT virtual Standard_Real Divided (const Standard_Real avalue) const; //! Returns a token which is to the power of another //! token . The computation is possible only if diff --git a/src/gp/gp_Ax1.hxx b/src/gp/gp_Ax1.hxx index 8fea4a4e42..75575dbcb9 100644 --- a/src/gp/gp_Ax1.hxx +++ b/src/gp/gp_Ax1.hxx @@ -123,7 +123,7 @@ public: //! Performs the symmetrical transformation of an axis //! placement with respect to the point P which is the //! center of the symmetry and creates a new axis. - Standard_EXPORT Standard_NODISCARD gp_Ax1 Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Ax1 Mirrored (const gp_Pnt& P) const; //! Performs the symmetrical transformation of an axis @@ -135,7 +135,7 @@ public: //! Performs the symmetrical transformation of an axis //! placement with respect to an axis placement which //! is the axis of the symmetry and creates a new axis. - Standard_EXPORT Standard_NODISCARD gp_Ax1 Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Ax1 Mirrored (const gp_Ax1& A1) const; //! Performs the symmetrical transformation of an axis @@ -149,7 +149,7 @@ public: //! placement with respect to a plane. The axis placement //! locates the plane of the symmetry : //! (Location, XDirection, YDirection) and creates a new axis. - Standard_EXPORT Standard_NODISCARD gp_Ax1 Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Ax1 Mirrored (const gp_Ax2& A2) const; //! Rotates this axis at an angle Ang (in radians) about the axis A1 //! and assigns the result to this axis. diff --git a/src/gp/gp_Ax2.hxx b/src/gp/gp_Ax2.hxx index c11aafdf9e..1577b6d9a6 100644 --- a/src/gp/gp_Ax2.hxx +++ b/src/gp/gp_Ax2.hxx @@ -202,7 +202,7 @@ public: //! product "X Direction" ^ "Y Direction". //! This maintains the right-handed property of the //! coordinate system. - Standard_EXPORT Standard_NODISCARD gp_Ax2 Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Ax2 Mirrored (const gp_Pnt& P) const; //! Performs a symmetrical transformation of this coordinate @@ -238,7 +238,7 @@ public: //! product "X Direction" ^ "Y Direction". //! This maintains the right-handed property of the //! coordinate system. - Standard_EXPORT Standard_NODISCARD gp_Ax2 Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Ax2 Mirrored (const gp_Ax1& A1) const; //! Performs a symmetrical transformation of this coordinate @@ -276,7 +276,7 @@ public: //! product "X Direction" ^ "Y Direction". //! This maintains the right-handed property of the //! coordinate system. - Standard_EXPORT Standard_NODISCARD gp_Ax2 Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Ax2 Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Ax22d.hxx b/src/gp/gp_Ax22d.hxx index b837199853..057d624878 100644 --- a/src/gp/gp_Ax22d.hxx +++ b/src/gp/gp_Ax22d.hxx @@ -152,7 +152,7 @@ public: //! The main direction of the axis placement is not changed. //! The "XDirection" and the "YDirection" are reversed. //! So the axis placement stay right handed. - Standard_EXPORT Standard_NODISCARD gp_Ax22d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Ax22d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); @@ -164,7 +164,7 @@ public: //! point, on the "XDirection" and "YDirection". //! The resulting main "Direction" is the cross product between //! the "XDirection" and the "YDirection" after transformation. - Standard_EXPORT Standard_NODISCARD gp_Ax22d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Ax22d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Ax2d.hxx b/src/gp/gp_Ax2d.hxx index 20a30cc2f1..0d66cdb951 100644 --- a/src/gp/gp_Ax2d.hxx +++ b/src/gp/gp_Ax2d.hxx @@ -123,7 +123,7 @@ public: //! Performs the symmetrical transformation of an axis //! placement with respect to the point P which is the //! center of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Ax2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Ax2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); @@ -131,7 +131,7 @@ public: //! Performs the symmetrical transformation of an axis //! placement with respect to an axis placement which //! is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Ax2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Ax2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Ax3.hxx b/src/gp/gp_Ax3.hxx index 2d09566fbb..5a53cfdcd8 100644 --- a/src/gp/gp_Ax3.hxx +++ b/src/gp/gp_Ax3.hxx @@ -218,7 +218,7 @@ public: //! The main direction of the axis placement is not changed. //! The "XDirection" and the "YDirection" are reversed. //! So the axis placement stay right handed. - Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Ax3 Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -230,7 +230,7 @@ public: //! point, on the "XDirection" and "YDirection". //! The resulting main "Direction" is the cross product between //! the "XDirection" and the "YDirection" after transformation. - Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Ax3 Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -243,7 +243,7 @@ public: //! point, on the "XDirection" and "YDirection". //! The resulting main "Direction" is the cross product between //! the "XDirection" and the "YDirection" after transformation. - Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Ax3 Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Circ.hxx b/src/gp/gp_Circ.hxx index d2b58f1d32..1347755168 100644 --- a/src/gp/gp_Circ.hxx +++ b/src/gp/gp_Circ.hxx @@ -153,7 +153,7 @@ public: //! Performs the symmetrical transformation of a circle //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Circ Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Circ Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -161,7 +161,7 @@ public: //! Performs the symmetrical transformation of a circle with //! respect to an axis placement which is the axis of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Circ Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Circ Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -169,7 +169,7 @@ public: //! Performs the symmetrical transformation of a circle with respect //! to a plane. The axis placement A2 locates the plane of the //! of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Circ Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Circ Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Circ2d.hxx b/src/gp/gp_Circ2d.hxx index b4a2168696..8cf4047e67 100644 --- a/src/gp/gp_Circ2d.hxx +++ b/src/gp/gp_Circ2d.hxx @@ -167,14 +167,14 @@ public: //! Performs the symmetrical transformation of a circle with respect //! to the point P which is the center of the symmetry - Standard_EXPORT Standard_NODISCARD gp_Circ2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Circ2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); //! Performs the symmetrical transformation of a circle with respect //! to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Circ2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Circ2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Cone.hxx b/src/gp/gp_Cone.hxx index cd30bcc100..4110baed9e 100644 --- a/src/gp/gp_Cone.hxx +++ b/src/gp/gp_Cone.hxx @@ -163,7 +163,7 @@ public: //! Performs the symmetrical transformation of a cone //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Cone Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Cone Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -171,7 +171,7 @@ public: //! Performs the symmetrical transformation of a cone with //! respect to an axis placement which is the axis of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Cone Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Cone Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -179,7 +179,7 @@ public: //! Performs the symmetrical transformation of a cone with respect //! to a plane. The axis placement A2 locates the plane of the //! of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Cone Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Cone Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Cylinder.hxx b/src/gp/gp_Cylinder.hxx index 37c670b9d0..fb5aaedb8c 100644 --- a/src/gp/gp_Cylinder.hxx +++ b/src/gp/gp_Cylinder.hxx @@ -125,7 +125,7 @@ public: //! Performs the symmetrical transformation of a cylinder //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Cylinder Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Cylinder Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -133,7 +133,7 @@ public: //! Performs the symmetrical transformation of a cylinder with //! respect to an axis placement which is the axis of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Cylinder Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Cylinder Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -141,7 +141,7 @@ public: //! Performs the symmetrical transformation of a cylinder with respect //! to a plane. The axis placement A2 locates the plane of the //! of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Cylinder Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Cylinder Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Dir.hxx b/src/gp/gp_Dir.hxx index ae492722ef..e290b787d2 100644 --- a/src/gp/gp_Dir.hxx +++ b/src/gp/gp_Dir.hxx @@ -228,7 +228,7 @@ public: //! Performs the symmetrical transformation of a direction //! with respect to the direction V which is the center of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Dir Mirrored (const gp_Dir& V) const; + Standard_NODISCARD Standard_EXPORT gp_Dir Mirrored (const gp_Dir& V) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -236,7 +236,7 @@ public: //! Performs the symmetrical transformation of a direction //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Dir Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Dir Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -244,7 +244,7 @@ public: //! Performs the symmetrical transformation of a direction //! with respect to a plane. The axis placement A2 locates //! the plane of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Dir Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Dir Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Dir2d.hxx b/src/gp/gp_Dir2d.hxx index cc1333dbee..091b27dc7c 100644 --- a/src/gp/gp_Dir2d.hxx +++ b/src/gp/gp_Dir2d.hxx @@ -223,7 +223,7 @@ public: //! Performs the symmetrical transformation of a direction //! with respect to the direction V which is the center of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Dir2d Mirrored (const gp_Dir2d& V) const; + Standard_NODISCARD Standard_EXPORT gp_Dir2d Mirrored (const gp_Dir2d& V) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); @@ -231,7 +231,7 @@ public: //! Performs the symmetrical transformation of a direction //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Dir2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Dir2d Mirrored (const gp_Ax2d& A) const; void Rotate (const Standard_Real Ang); diff --git a/src/gp/gp_Elips.hxx b/src/gp/gp_Elips.hxx index 56df6f3ade..0d8019eac5 100644 --- a/src/gp/gp_Elips.hxx +++ b/src/gp/gp_Elips.hxx @@ -198,14 +198,14 @@ public: //! Performs the symmetrical transformation of an ellipse with //! respect to the point P which is the center of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Elips Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Elips Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); //! Performs the symmetrical transformation of an ellipse with //! respect to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Elips Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Elips Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -213,7 +213,7 @@ public: //! Performs the symmetrical transformation of an ellipse with //! respect to a plane. The axis placement A2 locates the plane //! of the symmetry (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Elips Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Elips Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Elips2d.hxx b/src/gp/gp_Elips2d.hxx index 6c30c1c515..51ac622da5 100644 --- a/src/gp/gp_Elips2d.hxx +++ b/src/gp/gp_Elips2d.hxx @@ -208,14 +208,14 @@ public: //! Performs the symmetrical transformation of a ellipse with respect //! to the point P which is the center of the symmetry - Standard_EXPORT Standard_NODISCARD gp_Elips2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Elips2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); //! Performs the symmetrical transformation of a ellipse with respect //! to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Elips2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Elips2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Hypr.hxx b/src/gp/gp_Hypr.hxx index 0bf0aa9114..aaaa3046ac 100644 --- a/src/gp/gp_Hypr.hxx +++ b/src/gp/gp_Hypr.hxx @@ -251,14 +251,14 @@ public: //! Performs the symmetrical transformation of an hyperbola with //! respect to the point P which is the center of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Hypr Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Hypr Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); //! Performs the symmetrical transformation of an hyperbola with //! respect to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Hypr Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Hypr Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -266,7 +266,7 @@ public: //! Performs the symmetrical transformation of an hyperbola with //! respect to a plane. The axis placement A2 locates the plane //! of the symmetry (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Hypr Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Hypr Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Hypr2d.hxx b/src/gp/gp_Hypr2d.hxx index 98eeead645..220ca926d0 100644 --- a/src/gp/gp_Hypr2d.hxx +++ b/src/gp/gp_Hypr2d.hxx @@ -279,14 +279,14 @@ public: //! Performs the symmetrical transformation of an hyperbola with //! respect to the point P which is the center of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Hypr2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Hypr2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); //! Performs the symmetrical transformation of an hyperbola with //! respect to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Hypr2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Hypr2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Lin.hxx b/src/gp/gp_Lin.hxx index 20c2bbb321..94de6a7bf4 100644 --- a/src/gp/gp_Lin.hxx +++ b/src/gp/gp_Lin.hxx @@ -132,7 +132,7 @@ public: //! Performs the symmetrical transformation of a line //! with respect to the point P which is the center of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Lin Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Lin Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -140,7 +140,7 @@ public: //! Performs the symmetrical transformation of a line //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Lin Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Lin Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -149,7 +149,7 @@ public: //! with respect to a plane. The axis placement //! locates the plane of the symmetry : //! (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Lin Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Lin Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Lin2d.hxx b/src/gp/gp_Lin2d.hxx index 681b343faf..444232fbf2 100644 --- a/src/gp/gp_Lin2d.hxx +++ b/src/gp/gp_Lin2d.hxx @@ -143,7 +143,7 @@ public: //! Performs the symmetrical transformation of a line //! with respect to the point

which is the center //! of the symmetry - Standard_EXPORT Standard_NODISCARD gp_Lin2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Lin2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); @@ -151,7 +151,7 @@ public: //! Performs the symmetrical transformation of a line //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Lin2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Lin2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Parab.hxx b/src/gp/gp_Parab.hxx index eb1e78cf73..05e02b6a01 100644 --- a/src/gp/gp_Parab.hxx +++ b/src/gp/gp_Parab.hxx @@ -165,7 +165,7 @@ public: //! Performs the symmetrical transformation of a parabola //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Parab Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -173,7 +173,7 @@ public: //! Performs the symmetrical transformation of a parabola //! with respect to an axis placement which is the axis of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Parab Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -181,7 +181,7 @@ public: //! Performs the symmetrical transformation of a parabola //! with respect to a plane. The axis placement A2 locates //! the plane of the symmetry (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Parab Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Parab2d.hxx b/src/gp/gp_Parab2d.hxx index 2f5ca6ffb9..3d5da44c77 100644 --- a/src/gp/gp_Parab2d.hxx +++ b/src/gp/gp_Parab2d.hxx @@ -188,14 +188,14 @@ public: //! Performs the symmetrical transformation of a parabola with respect //! to the point P which is the center of the symmetry - Standard_EXPORT Standard_NODISCARD gp_Parab2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Parab2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); //! Performs the symmetrical transformation of a parabola with respect //! to an axis placement which is the axis of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Parab2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Parab2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Pln.hxx b/src/gp/gp_Pln.hxx index 7306114afa..2432fef27f 100644 --- a/src/gp/gp_Pln.hxx +++ b/src/gp/gp_Pln.hxx @@ -178,7 +178,7 @@ public: //! Warnings : //! The normal direction to the plane is not changed. //! The "XAxis" and the "YAxis" are reversed. - Standard_EXPORT Standard_NODISCARD gp_Pln Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Pln Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -190,7 +190,7 @@ public: //! the "XDirection" and the "YDirection" after transformation //! if the initial plane was right handed, else it is the //! opposite. - Standard_EXPORT Standard_NODISCARD gp_Pln Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Pln Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -202,7 +202,7 @@ public: //! direction is the cross product between the "XDirection" //! and the "YDirection" after transformation if the initial //! plane was right handed, else it is the opposite. - Standard_EXPORT Standard_NODISCARD gp_Pln Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Pln Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Pnt.hxx b/src/gp/gp_Pnt.hxx index 509600961c..39d7d2efcf 100644 --- a/src/gp/gp_Pnt.hxx +++ b/src/gp/gp_Pnt.hxx @@ -129,7 +129,7 @@ public: //! Performs the symmetrical transformation of a point //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Pnt Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Pnt Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -137,14 +137,14 @@ public: //! Performs the symmetrical transformation of a point //! with respect to a plane. The axis placement A2 locates //! the plane of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Pnt Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Pnt Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); //! Rotates a point. A1 is the axis of the rotation. //! Ang is the angular value of the rotation in radians. - Standard_EXPORT Standard_NODISCARD gp_Pnt Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Pnt Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Pnt2d.hxx b/src/gp/gp_Pnt2d.hxx index f991621ae1..a4c2a25129 100644 --- a/src/gp/gp_Pnt2d.hxx +++ b/src/gp/gp_Pnt2d.hxx @@ -114,14 +114,14 @@ public: //! Performs the symmetrical transformation of a point //! with respect to an axis placement which is the axis - Standard_EXPORT Standard_NODISCARD gp_Pnt2d Mirrored (const gp_Pnt2d& P) const; + Standard_NODISCARD Standard_EXPORT gp_Pnt2d Mirrored (const gp_Pnt2d& P) const; Standard_EXPORT void Mirror (const gp_Ax2d& A); //! Rotates a point. A1 is the axis of the rotation. //! Ang is the angular value of the rotation in radians. - Standard_EXPORT Standard_NODISCARD gp_Pnt2d Mirrored (const gp_Ax2d& A) const; + Standard_NODISCARD Standard_EXPORT gp_Pnt2d Mirrored (const gp_Ax2d& A) const; void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); diff --git a/src/gp/gp_Sphere.hxx b/src/gp/gp_Sphere.hxx index 83e07984da..5b6f70034c 100644 --- a/src/gp/gp_Sphere.hxx +++ b/src/gp/gp_Sphere.hxx @@ -132,7 +132,7 @@ public: //! Performs the symmetrical transformation of a sphere //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Sphere Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Sphere Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -140,7 +140,7 @@ public: //! Performs the symmetrical transformation of a sphere with //! respect to an axis placement which is the axis of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Sphere Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Sphere Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -148,7 +148,7 @@ public: //! Performs the symmetrical transformation of a sphere with respect //! to a plane. The axis placement A2 locates the plane of the //! of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Sphere Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Sphere Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Torus.hxx b/src/gp/gp_Torus.hxx index a9900f87b2..823f3deac6 100644 --- a/src/gp/gp_Torus.hxx +++ b/src/gp/gp_Torus.hxx @@ -174,7 +174,7 @@ public: //! Performs the symmetrical transformation of a torus //! with respect to the point P which is the center of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Torus Mirrored (const gp_Pnt& P) const; + Standard_NODISCARD Standard_EXPORT gp_Torus Mirrored (const gp_Pnt& P) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -182,7 +182,7 @@ public: //! Performs the symmetrical transformation of a torus with //! respect to an axis placement which is the axis of the //! symmetry. - Standard_EXPORT Standard_NODISCARD gp_Torus Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Torus Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -190,7 +190,7 @@ public: //! Performs the symmetrical transformation of a torus with respect //! to a plane. The axis placement A2 locates the plane of the //! of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Torus Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Torus Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Vec.hxx b/src/gp/gp_Vec.hxx index 689c2ece92..5b17efa2ba 100644 --- a/src/gp/gp_Vec.hxx +++ b/src/gp/gp_Vec.hxx @@ -319,7 +319,7 @@ public: //! Performs the symmetrical transformation of a vector //! with respect to the vector V which is the center of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Vec Mirrored (const gp_Vec& V) const; + Standard_NODISCARD Standard_EXPORT gp_Vec Mirrored (const gp_Vec& V) const; Standard_EXPORT void Mirror (const gp_Ax1& A1); @@ -327,7 +327,7 @@ public: //! Performs the symmetrical transformation of a vector //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Vec Mirrored (const gp_Ax1& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Vec Mirrored (const gp_Ax1& A1) const; Standard_EXPORT void Mirror (const gp_Ax2& A2); @@ -335,7 +335,7 @@ public: //! Performs the symmetrical transformation of a vector //! with respect to a plane. The axis placement A2 locates //! the plane of the symmetry : (Location, XDirection, YDirection). - Standard_EXPORT Standard_NODISCARD gp_Vec Mirrored (const gp_Ax2& A2) const; + Standard_NODISCARD Standard_EXPORT gp_Vec Mirrored (const gp_Ax2& A2) const; void Rotate (const gp_Ax1& A1, const Standard_Real Ang); diff --git a/src/gp/gp_Vec2d.hxx b/src/gp/gp_Vec2d.hxx index 7ade24a8ca..b5745ba024 100644 --- a/src/gp/gp_Vec2d.hxx +++ b/src/gp/gp_Vec2d.hxx @@ -265,7 +265,7 @@ public: //! Performs the symmetrical transformation of a vector //! with respect to the vector V which is the center of //! the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Vec2d Mirrored (const gp_Vec2d& V) const; + Standard_NODISCARD Standard_EXPORT gp_Vec2d Mirrored (const gp_Vec2d& V) const; //! Performs the symmetrical transformation of a vector @@ -277,7 +277,7 @@ public: //! Performs the symmetrical transformation of a vector //! with respect to an axis placement which is the axis //! of the symmetry. - Standard_EXPORT Standard_NODISCARD gp_Vec2d Mirrored (const gp_Ax2d& A1) const; + Standard_NODISCARD Standard_EXPORT gp_Vec2d Mirrored (const gp_Ax2d& A1) const; void Rotate (const Standard_Real Ang); diff --git a/src/math/math_IntegerVector.hxx b/src/math/math_IntegerVector.hxx index 1fc47dea98..59deb6bd75 100644 --- a/src/math/math_IntegerVector.hxx +++ b/src/math/math_IntegerVector.hxx @@ -133,7 +133,7 @@ public: } //! returns the product of an IntegerVector by an integer value. - Standard_EXPORT Standard_NODISCARD math_IntegerVector Multiplied(const Standard_Integer theRight) const; + Standard_NODISCARD Standard_EXPORT math_IntegerVector Multiplied(const Standard_Integer theRight) const; Standard_NODISCARD math_IntegerVector operator*(const Standard_Integer theRight) const { @@ -141,7 +141,7 @@ public: } //! returns the product of a vector and a real value. - Standard_EXPORT Standard_NODISCARD math_IntegerVector TMultiplied(const Standard_Integer theRight) const; + Standard_NODISCARD Standard_EXPORT math_IntegerVector TMultiplied(const Standard_Integer theRight) const; friend inline math_IntegerVector operator* (const Standard_Integer theLeft, const math_IntegerVector& theRight) { @@ -161,7 +161,7 @@ public: //! adds the IntegerVector "theRight" to an IntegerVector. //! An exception is raised if the IntegerVectors have not the same length. //! An exception is raised if the lengths are not equal. - Standard_EXPORT Standard_NODISCARD math_IntegerVector Added(const math_IntegerVector& theRight) const; + Standard_NODISCARD Standard_EXPORT math_IntegerVector Added(const math_IntegerVector& theRight) const; Standard_NODISCARD math_IntegerVector operator+(const math_IntegerVector& theRight) const { @@ -210,7 +210,7 @@ public: //! returns the inner product of 2 IntegerVectors. //! An exception is raised if the lengths are not equal. - Standard_EXPORT Standard_NODISCARD Standard_Integer Multiplied(const math_IntegerVector& theRight) const; + Standard_NODISCARD Standard_EXPORT Standard_Integer Multiplied(const math_IntegerVector& theRight) const; Standard_NODISCARD Standard_Integer operator*(const math_IntegerVector& theRight) const { @@ -236,7 +236,7 @@ public: //! returns the subtraction of "theRight" from "me". //! An exception is raised if the IntegerVectors have not the same length. - Standard_EXPORT Standard_NODISCARD math_IntegerVector Subtracted(const math_IntegerVector& theRight) const; + Standard_NODISCARD Standard_EXPORT math_IntegerVector Subtracted(const math_IntegerVector& theRight) const; Standard_NODISCARD math_IntegerVector operator-(const math_IntegerVector& theRight) const { diff --git a/src/math/math_Matrix.hxx b/src/math/math_Matrix.hxx index 413f655e70..d5432ec362 100644 --- a/src/math/math_Matrix.hxx +++ b/src/math/math_Matrix.hxx @@ -170,7 +170,7 @@ void operator*= (const Standard_Real Right) //! multiplies all the elements of a matrix by the //! value . - Standard_EXPORT Standard_NODISCARD math_Matrix Multiplied (const Standard_Real Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix Multiplied (const Standard_Real Right) const; Standard_NODISCARD math_Matrix operator* (const Standard_Real Right) const { return Multiplied(Right); @@ -194,7 +194,7 @@ Standard_NODISCARD math_Matrix operator* (const Standard_Real Right) const //! rows of this matrix, or //! - the number of columns of matrix Right is not equal to //! the number of columns of this matrix. - Standard_EXPORT Standard_NODISCARD math_Matrix TMultiplied (const Standard_Real Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix TMultiplied (const Standard_Real Right) const; friend math_Matrix operator *(const Standard_Real Left,const math_Matrix& Right); //! divides all the elements of a matrix by the value . @@ -207,7 +207,7 @@ void operator/= (const Standard_Real Right) //! divides all the elements of a matrix by the value . //! An exception is raised if = 0. - Standard_EXPORT Standard_NODISCARD math_Matrix Divided (const Standard_Real Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix Divided (const Standard_Real Right) const; Standard_NODISCARD math_Matrix operator/ (const Standard_Real Right) const { return Divided(Right); @@ -227,7 +227,7 @@ void operator+= (const math_Matrix& Right) //! adds the matrix to a matrix. //! An exception is raised if the dimensions are different. - Standard_EXPORT Standard_NODISCARD math_Matrix Added (const math_Matrix& Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix Added (const math_Matrix& Right) const; Standard_NODISCARD math_Matrix operator+ (const math_Matrix& Right) const { return Added(Right); @@ -251,7 +251,7 @@ void operator-= (const math_Matrix& Right) //! Returns the result of the subtraction of from . //! An exception is raised if the dimensions are different. - Standard_EXPORT Standard_NODISCARD math_Matrix Subtracted (const math_Matrix& Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix Subtracted (const math_Matrix& Right) const; Standard_NODISCARD math_Matrix operator- (const math_Matrix& Right) const { return Subtracted(Right); @@ -304,7 +304,7 @@ Standard_NODISCARD math_Matrix operator- (const math_Matrix& Right) const //! Teturns the transposed of a matrix. //! An exception is raised if the matrix is not a square matrix. - Standard_EXPORT Standard_NODISCARD math_Matrix Transposed() const; + Standard_NODISCARD Standard_EXPORT math_Matrix Transposed() const; //! Returns the inverse of a matrix. //! Exception NotSquare is raised if the matrix is not square. @@ -363,7 +363,7 @@ void operator*= (const math_Matrix& Right) //! Returns the product of 2 matrices. //! An exception is raised if the dimensions are different. - Standard_EXPORT Standard_NODISCARD math_Matrix Multiplied (const math_Matrix& Right) const; + Standard_NODISCARD Standard_EXPORT math_Matrix Multiplied (const math_Matrix& Right) const; Standard_NODISCARD math_Matrix operator* (const math_Matrix& Right) const { return Multiplied(Right); @@ -371,7 +371,7 @@ Standard_NODISCARD math_Matrix operator* (const math_Matrix& Right) const //! Returns the product of a matrix by a vector. //! An exception is raised if the dimensions are different. - Standard_EXPORT Standard_NODISCARD math_Vector Multiplied (const math_Vector& Right) const; + Standard_NODISCARD Standard_EXPORT math_Vector Multiplied (const math_Vector& Right) const; Standard_NODISCARD math_Vector operator* (const math_Vector& Right) const { return Multiplied(Right); diff --git a/src/math/math_Vector.hxx b/src/math/math_Vector.hxx index 0c49d5166c..ccf5f945f5 100644 --- a/src/math/math_Vector.hxx +++ b/src/math/math_Vector.hxx @@ -128,7 +128,7 @@ public: //! Exceptions //! Standard_NullValue if this vector is null (i.e. if its norm is //! less than or equal to Standard_Real::RealEpsilon(). - Standard_EXPORT Standard_NODISCARD math_Vector Normalized() const; + Standard_NODISCARD Standard_EXPORT math_Vector Normalized() const; //! Inverts this vector and assigns the result to this vector. Standard_EXPORT void Invert(); @@ -157,7 +157,7 @@ public: } //! returns the product of a vector and a real value. - Standard_EXPORT Standard_NODISCARD math_Vector Multiplied(const Standard_Real theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector Multiplied(const Standard_Real theRight) const; Standard_NODISCARD math_Vector operator*(const Standard_Real theRight) const { @@ -165,7 +165,7 @@ public: } //! returns the product of a vector and a real value. - Standard_EXPORT Standard_NODISCARD math_Vector TMultiplied(const Standard_Real theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector TMultiplied(const Standard_Real theRight) const; friend inline math_Vector operator* (const Standard_Real theLeft, const math_Vector& theRight) { @@ -183,7 +183,7 @@ public: //! divides a vector by the value "theRight". //! An exception is raised if "theRight" = 0. - Standard_EXPORT Standard_NODISCARD math_Vector Divided(const Standard_Real theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector Divided(const Standard_Real theRight) const; Standard_NODISCARD math_Vector operator/(const Standard_Real theRight) const { @@ -205,7 +205,7 @@ public: //! adds the vector theRight to a vector. //! An exception is raised if the vectors have not the same length. //! An exception is raised if the lengths are not equal. - Standard_EXPORT Standard_NODISCARD math_Vector Added(const math_Vector& theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector Added(const math_Vector& theRight) const; Standard_NODISCARD math_Vector operator+(const math_Vector& theRight) const { @@ -275,14 +275,14 @@ public: //! returns the inner product of 2 vectors. //! An exception is raised if the lengths are not equal. - Standard_EXPORT Standard_NODISCARD Standard_Real Multiplied(const math_Vector& theRight) const; + Standard_NODISCARD Standard_EXPORT Standard_Real Multiplied(const math_Vector& theRight) const; Standard_NODISCARD Standard_Real operator*(const math_Vector& theRight) const { return Multiplied(theRight); } //! returns the product of a vector by a matrix. - Standard_EXPORT Standard_NODISCARD math_Vector Multiplied(const math_Matrix& theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector Multiplied(const math_Matrix& theRight) const; Standard_NODISCARD math_Vector operator*(const math_Matrix& theRight) const { @@ -308,7 +308,7 @@ public: //! returns the subtraction of "theRight" from "me". //! An exception is raised if the vectors have not the same length. - Standard_EXPORT Standard_NODISCARD math_Vector Subtracted(const math_Vector& theRight) const; + Standard_NODISCARD Standard_EXPORT math_Vector Subtracted(const math_Vector& theRight) const; Standard_NODISCARD math_Vector operator-(const math_Vector& theRight) const { -- 2.20.1