Standard_NODISCARD is put before Standard_EXPORT in all places throughout OCCT code
50 files changed:
//! Transform the bounding box with the given transformation.
//! The resulting box will be larger if theTrsf contains rotation.
//! 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.
//! Check the given point for the inclusion in the Box.
//! Returns True if the point is outside.
//! Transform the bounding box with the given transformation.
//! The resulting box will be larger if theTrsf contains rotation.
//! 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.
//! Check the given point for the inclusion in the Box.
//! Returns True if the point is outside.
//! Transform the bounding box with the given transformation.
//! The resulting box will be larger if theTrsf contains rotation.
//! 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.
//! Check the given point for the inclusion in the Box.
//! Returns True if the point is outside.
//! Transform the bounding box with the given transformation.
//! The resulting box will be larger if theTrsf contains rotation.
//! 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.
//! Check the given point for the inclusion in the Box.
//! Returns True if the point is outside.
//! 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.
//! 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 <Other> to <me>.
Standard_EXPORT void Add (const Bnd_Box& Other);
//! Adds the box <Other> to <me>.
Standard_EXPORT void Add (const Bnd_Box& Other);
//! 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.
//! 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 <Other> to <me>.
Standard_EXPORT void Add (const Bnd_Box2d& Other);
//! Adds the 2d box <Other> to <me>.
Standard_EXPORT void Add (const Bnd_Box2d& Other);
Standard_EXPORT void Reverse();
//! Returns a copy of <me> reversed.
Standard_EXPORT void Reverse();
//! Returns a copy of <me> 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;
//! Assigns V to the unit vector of this axis.
Standard_EXPORT void SetDirection (const gp_Dir& V) Standard_OVERRIDE;
Standard_EXPORT virtual Standard_Real ParametricTransformation (const gp_Trsf& T) const;
//! Returns a copy of <me> reversed.
Standard_EXPORT virtual Standard_Real ParametricTransformation (const gp_Trsf& T) const;
//! Returns a copy of <me> 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 :
//! Returns the value of the first parameter.
//! Warnings :
//! (see class Transformation of the package Geom).
Standard_EXPORT virtual void Transform (const gp_Trsf& T) = 0;
//! (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;
//! Creates a new object which is a copy of this geometric object.
Standard_EXPORT virtual Handle(Geom_Geometry) Copy() const = 0;
//! Reverses the U direction of parametrization of <me>.
//! The bounds of the surface are not modified.
//! A copy of <me> is returned.
//! Reverses the U direction of parametrization of <me>.
//! The bounds of the surface are not modified.
//! A copy of <me> 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 <me>.
//! Returns the parameter on the Ureversed surface for
//! the point of parameter U on <me>.
//! Reverses the V direction of parametrization of <me>.
//! The bounds of the surface are not modified.
//! A copy of <me> is returned.
//! Reverses the V direction of parametrization of <me>.
//! The bounds of the surface are not modified.
//! A copy of <me> 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 <me>.
//! Returns the parameter on the Vreversed surface for
//! the point of parameter V on <me>.
//! Raised if the the transformation is singular. This means that
//! the ScaleFactor is lower or equal to Resolution from
//! package gp.
//! 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 <me>.
//! <me> * Other.
//! Returns a new transformation
//! Computes the transformation composed with Other and <me>.
//! <me> * 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 <me> .
//! <me> = <me> * Other.
//! Computes the transformation composed with Other and <me> .
//! <me> = <me> * Other.
//! Returns a copy of <me> reversed.
//! Returns a copy of <me> 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.
//! Computes the angular value, in radians, between this
//! vector and vector Other. The result is a value between 0 and Pi.
//! Adds the vector Other to <me>.
//! Adds the vector Other to <me>.
- 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 <me> and Other
//! Computes the cross product between <me> and Other
//! Divides <me> by a scalar. A new vector is returned.
//! Divides <me> 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 <me> by a scalar.
//! A new vector is returned.
//! Computes the product of the vector <me> 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 <me> by a scalar.
//! Computes the product of the vector <me> by a scalar.
//!
//! Raised if the magnitude of the vector is lower or equal to
//! Resolution from package gp.
//!
//! 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 <me>.
Standard_EXPORT void Subtract (const Handle(Geom_Vector)& Other);
//! Subtracts the vector Other to <me>. A new vector is returned.
//! Subtracts the Vector Other to <me>.
Standard_EXPORT void Subtract (const Handle(Geom_Vector)& Other);
//! Subtracts the vector Other to <me>. 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.
Handle(Geom_VectorWithMagnitude) Subtracted (const Handle(Geom_Vector)& Other) const;
//! Applies the transformation T to this vector.
//! Note:
//! - Reverse assigns the result to this axis, while
//! - Reversed creates a new one.
//! 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);
//! Changes the complete definition of the axis placement.
Standard_EXPORT void SetAxis (const gp_Ax2d& A);
//! - the end point of the initial curve becomes the start
//! point of the reversed curve.
//! - Reversed creates a new curve.
//! - 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 :
//! Returns the value of the first parameter.
//! Warnings :
//! itself. A copy of the object is returned.
Standard_EXPORT virtual void Transform (const gp_Trsf2d& T) = 0;
//! 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;
Standard_EXPORT virtual Handle(Geom2d_Geometry) Copy() const = 0;
//! 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.
//! 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 <me>.
//! <me> * Other.
//! Returns a new transformation
//! Computes the transformation composed with Other and <me>.
//! <me> * 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
{
Handle(Geom2d_Transformation) Multiplied (const Handle(Geom2d_Transformation)& Other) const;
Standard_NODISCARD Handle(Geom2d_Transformation) operator * (const Handle(Geom2d_Transformation)& Other) const
{
Standard_EXPORT void Reverse();
//! Returns a copy of <me> reversed.
Standard_EXPORT void Reverse();
//! Returns a copy of <me> 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
//! Computes the angular value, in radians, between this
//! vector and vector Other. The result is a value
//! Adds the vector Other to <me>.
//! Adds the vector Other to <me>.
- 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
{
Handle(Geom2d_VectorWithMagnitude) Added (const Handle(Geom2d_Vector)& Other) const;
Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator + (const Handle(Geom2d_Vector)& Other) const
{
//! Divides <me> by a scalar. A new vector is returned.
//! Divides <me> 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);
Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator / (const Standard_Real Scalar) const
{
return Divided(Scalar);
//!
//! -C++: alias operator *
//! Collision with same operator defined for the class Vector!
//!
//! -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 <me> by a scalar.
//! Computes the product of the vector <me> by a scalar.
//!
//! Raised if the magnitude of the vector is lower or equal to
//! Resolution from package gp.
//!
//! 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 <me>.
Standard_EXPORT void Subtract (const Handle(Geom2d_Vector)& Other);
//! Subtracts the Vector Other to <me>.
Standard_EXPORT void Subtract (const Handle(Geom2d_Vector)& Other);
//! Subtracts the vector Other to <me>. A new vector is returned.
//! Subtracts the vector Other to <me>. 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
{
Handle(Geom2d_VectorWithMagnitude) Subtracted (const Handle(Geom2d_Vector)& Other) const;
Standard_NODISCARD Handle(Geom2d_VectorWithMagnitude) operator - (const Handle(Geom2d_Vector)& Other) const
{
//! Returns the inverse of <me>.
//!
//! <me> * Inverted() is an Identity.
//! Returns the inverse of <me>.
//!
//! <me> * Inverted() is an Identity.
- Standard_EXPORT Standard_NODISCARD TopLoc_Location Inverted() const;
+ Standard_NODISCARD Standard_EXPORT TopLoc_Location Inverted() const;
//! Returns <me> * <Other>, the elementary datums are
//! concatenated.
//! Returns <me> * <Other>, 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 <me> / <Other>.
Standard_NODISCARD TopLoc_Location operator* (const TopLoc_Location& Other) const
{
return Multiplied(Other);
}
//! Returns <me> / <Other>.
- 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 <Other>.Inverted() * <me>.
Standard_NODISCARD TopLoc_Location operator/ (const TopLoc_Location& Other) const
{
return Divided(Other);
}
//! Returns <Other>.Inverted() * <me>.
- 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 <pwr>. If <pwr> is zero
//! returns Identity. <pwr> can be lower than zero
//! (usual meaning for powers).
//! Returns me at the power <pwr>. If <pwr> is zero
//! returns Identity. <pwr> 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].
//! 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].
//! This virtual method is called by the Measurement
//! methods, to compute the measurement during a
//! conversion.
//! 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 <me> by another
//! token <atoken>.
//! Returns a token which is the division of <me> by another
//! token <atoken>.
//! This virtual method is called by the Measurement
//! methods, to compute the measurement during a
//! conversion.
//! 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 <me> to the power of another
//! token <atoken>. The computation is possible only if
//! Returns a token which is <me> to the power of another
//! token <atoken>. The computation is possible only if
//! 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.
//! 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
//! Performs the symmetrical transformation of an axis
//! 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.
//! 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
//! Performs the symmetrical transformation of an axis
//! placement with respect to a plane. The axis placement
//! <A2> locates the plane of the symmetry :
//! (Location, XDirection, YDirection) and creates a new axis.
//! placement with respect to a plane. The axis placement
//! <A2> 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.
//! Rotates this axis at an angle Ang (in radians) about the axis A1
//! and assigns the result to this axis.
//! product "X Direction" ^ "Y Direction".
//! This maintains the right-handed property of the
//! coordinate system.
//! 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
//! Performs a symmetrical transformation of this coordinate
//! product "X Direction" ^ "Y Direction".
//! This maintains the right-handed property of the
//! coordinate system.
//! 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
//! Performs a symmetrical transformation of this coordinate
//! product "X Direction" ^ "Y Direction".
//! This maintains the right-handed property of the
//! coordinate system.
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! The main direction of the axis placement is not changed.
//! The "XDirection" and the "YDirection" are reversed.
//! So the axis placement stay right handed.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2d& A);
//! point, on the "XDirection" and "YDirection".
//! The resulting main "Direction" is the cross product between
//! the "XDirection" and the "YDirection" after transformation.
//! 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of an axis
//! placement with respect to the point P which is the
//! center of the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2d& A);
//! Performs the symmetrical transformation of an axis
//! placement with respect to an axis placement which
//! is the axis of the symmetry.
//! 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! The main direction of the axis placement is not changed.
//! The "XDirection" and the "YDirection" are reversed.
//! So the axis placement stay right handed.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! point, on the "XDirection" and "YDirection".
//! The resulting main "Direction" is the cross product between
//! the "XDirection" and the "YDirection" after transformation.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! point, on the "XDirection" and "YDirection".
//! The resulting main "Direction" is the cross product between
//! the "XDirection" and the "YDirection" after transformation.
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a circle
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a circle with
//! respect to an axis placement which is the axis of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a circle with respect
//! to the point P which is the center of the symmetry
//! 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 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of a cone
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a cone with
//! respect to an axis placement which is the axis of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a cylinder
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a cylinder with
//! respect to an axis placement which is the axis of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a direction
//! with respect to the direction V which is the center of
//! the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a direction
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a direction
//! with respect to the direction V which is the center of
//! the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2d& A);
//! Performs the symmetrical transformation of a direction
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
void Rotate (const Standard_Real Ang);
//! Performs the symmetrical transformation of an ellipse with
//! respect to the point P which is the center of the symmetry.
//! 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 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a ellipse with respect
//! to the point P which is the center of the symmetry
//! 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 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of an hyperbola with
//! respect to the point P which is the center of the symmetry.
//! 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 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of an hyperbola with
//! respect to the point P which is the center of the symmetry.
//! 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 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of a line
//! with respect to the point P which is the center of
//! the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a line
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! with respect to a plane. The axis placement <A2>
//! locates the plane of the symmetry :
//! (Location, XDirection, YDirection).
//! with respect to a plane. The axis placement <A2>
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a line
//! with respect to the point <P> which is the center
//! of the symmetry
//! 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_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);
Standard_EXPORT void Mirror (const gp_Ax2d& A);
//! Performs the symmetrical transformation of a line
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of a parabola
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a parabola
//! with respect to an axis placement which is the axis of
//! the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a parabola with respect
//! to the point P which is the center of the symmetry
//! 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 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Warnings :
//! The normal direction to the plane is not changed.
//! The "XAxis" and the "YAxis" are reversed.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! the "XDirection" and the "YDirection" after transformation
//! if the initial plane was right handed, else it is the
//! opposite.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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.
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a point
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! 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).
//! 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 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a point
//! with respect to an axis placement which is the axis
//! 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 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);
void Rotate (const gp_Pnt2d& P, const Standard_Real Ang);
//! Performs the symmetrical transformation of a sphere
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a sphere with
//! respect to an axis placement which is the axis of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a torus
//! with respect to the point P which is the center of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a torus with
//! respect to an axis placement which is the axis of the
//! symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a vector
//! with respect to the vector V which is the center of
//! the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax1& A1);
//! Performs the symmetrical transformation of a vector
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
Standard_EXPORT void Mirror (const gp_Ax2& A2);
//! 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).
//! 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);
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Performs the symmetrical transformation of a vector
//! with respect to the vector V which is the center of
//! the symmetry.
//! 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
//! Performs the symmetrical transformation of a vector
//! Performs the symmetrical transformation of a vector
//! with respect to an axis placement which is the axis
//! of the symmetry.
//! 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);
void Rotate (const Standard_Real Ang);
}
//! returns the product of an IntegerVector by an integer value.
}
//! 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
{
Standard_NODISCARD math_IntegerVector operator*(const Standard_Integer theRight) const
{
}
//! returns the product of a vector and a real value.
}
//! 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)
{
friend inline math_IntegerVector operator* (const Standard_Integer theLeft, const math_IntegerVector& theRight)
{
//! 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.
//! 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
{
Standard_NODISCARD math_IntegerVector operator+(const math_IntegerVector& theRight) const
{
//! returns the inner product of 2 IntegerVectors.
//! An exception is raised if the lengths are not equal.
//! 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
{
Standard_NODISCARD Standard_Integer operator*(const math_IntegerVector& theRight) const
{
//! returns the subtraction of "theRight" from "me".
//! An exception is raised if the IntegerVectors have not the same length.
//! 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
{
Standard_NODISCARD math_IntegerVector operator-(const math_IntegerVector& theRight) const
{
//! multiplies all the elements of a matrix by the
//! value <Right>.
//! multiplies all the elements of a matrix by the
//! value <Right>.
- 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);
Standard_NODISCARD math_Matrix operator* (const Standard_Real Right) const
{
return Multiplied(Right);
//! rows of this matrix, or
//! - the number of columns of matrix Right is not equal to
//! the number of columns of this matrix.
//! 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 <Right>.
friend math_Matrix operator *(const Standard_Real Left,const math_Matrix& Right);
//! divides all the elements of a matrix by the value <Right>.
//! divides all the elements of a matrix by the value <Right>.
//! An exception is raised if <Right> = 0.
//! divides all the elements of a matrix by the value <Right>.
//! An exception is raised if <Right> = 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);
Standard_NODISCARD math_Matrix operator/ (const Standard_Real Right) const
{
return Divided(Right);
//! adds the matrix <Right> to a matrix.
//! An exception is raised if the dimensions are different.
//! adds the matrix <Right> 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);
Standard_NODISCARD math_Matrix operator+ (const math_Matrix& Right) const
{
return Added(Right);
//! Returns the result of the subtraction of <Right> from <me>.
//! An exception is raised if the dimensions are different.
//! Returns the result of the subtraction of <Right> from <me>.
//! 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);
Standard_NODISCARD math_Matrix operator- (const math_Matrix& Right) const
{
return Subtracted(Right);
//! Teturns the transposed of a matrix.
//! An exception is raised if the matrix is not a square matrix.
//! 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.
//! Returns the inverse of a matrix.
//! Exception NotSquare is raised if the matrix is not square.
//! Returns the product of 2 matrices.
//! An exception is raised if the dimensions are different.
//! 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);
Standard_NODISCARD math_Matrix operator* (const math_Matrix& Right) const
{
return Multiplied(Right);
//! Returns the product of a matrix by a vector.
//! An exception is raised if the dimensions are different.
//! 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);
Standard_NODISCARD math_Vector operator* (const math_Vector& Right) const
{
return Multiplied(Right);
//! Exceptions
//! Standard_NullValue if this vector is null (i.e. if its norm is
//! less than or equal to Standard_Real::RealEpsilon().
//! 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();
//! Inverts this vector and assigns the result to this vector.
Standard_EXPORT void Invert();
}
//! returns the product of a vector and a real value.
}
//! 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
{
Standard_NODISCARD math_Vector operator*(const Standard_Real theRight) const
{
}
//! returns the product of a vector and a real value.
}
//! 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)
{
friend inline math_Vector operator* (const Standard_Real theLeft, const math_Vector& theRight)
{
//! divides a vector by the value "theRight".
//! An exception is raised if "theRight" = 0.
//! 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
{
Standard_NODISCARD math_Vector operator/(const Standard_Real theRight) const
{
//! 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.
//! 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
{
Standard_NODISCARD math_Vector operator+(const math_Vector& theRight) const
{
//! returns the inner product of 2 vectors.
//! An exception is raised if the lengths are not equal.
//! 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_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
{
Standard_NODISCARD math_Vector operator*(const math_Matrix& theRight) const
{
//! returns the subtraction of "theRight" from "me".
//! An exception is raised if the vectors have not the same length.
//! 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
{
Standard_NODISCARD math_Vector operator-(const math_Vector& theRight) const
{