//! 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 gp_Ax3 Mirrored (const gp_Pnt& P) const;
+ Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Pnt& P) const;
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.
- Standard_EXPORT gp_Ax3 Mirrored (const gp_Ax1& A1) const;
+ Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Ax1& A1) const;
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.
- Standard_EXPORT gp_Ax3 Mirrored (const gp_Ax2& A2) const;
+ Standard_EXPORT Standard_NODISCARD gp_Ax3 Mirrored (const gp_Ax2& A2) const;
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Rotates an axis placement. <A1> is the axis of the
//! rotation . Ang is the angular value of the rotation
//! in radians.
- gp_Ax3 Rotated (const gp_Ax1& A1, const Standard_Real Ang) const;
+ Standard_NODISCARD gp_Ax3 Rotated (const gp_Ax1& A1, const Standard_Real Ang) const;
void Scale (const gp_Pnt& P, const Standard_Real S);
//! . the main direction of the axis placement is not changed.
//! . The "XDirection" and the "YDirection" are reversed.
//! So the axis placement stay right handed.
- gp_Ax3 Scaled (const gp_Pnt& P, const Standard_Real S) const;
+ Standard_NODISCARD gp_Ax3 Scaled (const gp_Pnt& P, const Standard_Real S) const;
void Transform (const gp_Trsf& T);
//! "YDirection" are transformed with T. The resulting
//! main "Direction" of <me> is the cross product between
//! the "XDirection" and the "YDirection" after transformation.
- gp_Ax3 Transformed (const gp_Trsf& T) const;
+ Standard_NODISCARD gp_Ax3 Transformed (const gp_Trsf& T) const;
void Translate (const gp_Vec& V);
//! Translates an axis plaxement in the direction of the vector
//! <V>. The magnitude of the translation is the vector's magnitude.
- gp_Ax3 Translated (const gp_Vec& V) const;
+ Standard_NODISCARD gp_Ax3 Translated (const gp_Vec& V) const;
void Translate (const gp_Pnt& P1, const gp_Pnt& P2);
//! Translates an axis placement from the point <P1> to the
//! point <P2>.
- gp_Ax3 Translated (const gp_Pnt& P1, const gp_Pnt& P2) const;
+ Standard_NODISCARD gp_Ax3 Translated (const gp_Pnt& P1, const gp_Pnt& P2) const;