//! Performs the symmetrical transformation of a parabola
//! with respect to the point P which is the center of the
//! symmetry.
- Standard_EXPORT gp_Parab Mirrored (const gp_Pnt& P) const;
+ Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Pnt& P) const;
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.
- Standard_EXPORT gp_Parab Mirrored (const gp_Ax1& A1) const;
+ Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Ax1& A1) const;
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).
- Standard_EXPORT gp_Parab Mirrored (const gp_Ax2& A2) const;
+ Standard_EXPORT Standard_NODISCARD gp_Parab Mirrored (const gp_Ax2& A2) const;
void Rotate (const gp_Ax1& A1, const Standard_Real Ang);
//! Rotates a parabola. A1 is the axis of the rotation.
//! Ang is the angular value of the rotation in radians.
- gp_Parab Rotated (const gp_Ax1& A1, const Standard_Real Ang) const;
+ Standard_NODISCARD gp_Parab Rotated (const gp_Ax1& A1, const Standard_Real Ang) const;
void Scale (const gp_Pnt& P, const Standard_Real S);
//! Scales a parabola. S is the scaling value.
//! If S is negative the direction of the symmetry axis
//! XAxis is reversed and the direction of the YAxis too.
- gp_Parab Scaled (const gp_Pnt& P, const Standard_Real S) const;
+ Standard_NODISCARD gp_Parab Scaled (const gp_Pnt& P, const Standard_Real S) const;
void Transform (const gp_Trsf& T);
//! Transforms a parabola with the transformation T from class Trsf.
- gp_Parab Transformed (const gp_Trsf& T) const;
+ Standard_NODISCARD gp_Parab Transformed (const gp_Trsf& T) const;
void Translate (const gp_Vec& V);
//! Translates a parabola in the direction of the vector V.
//! The magnitude of the translation is the vector's magnitude.
- gp_Parab Translated (const gp_Vec& V) const;
+ Standard_NODISCARD gp_Parab Translated (const gp_Vec& V) const;
void Translate (const gp_Pnt& P1, const gp_Pnt& P2);
//! Translates a parabola from the point P1 to the point P2.
- gp_Parab Translated (const gp_Pnt& P1, const gp_Pnt& P2) const;
+ Standard_NODISCARD gp_Parab Translated (const gp_Pnt& P1, const gp_Pnt& P2) const;