class TopoDS_Shape;
class TopoDS_Wire;
class TopTools_SequenceOfShape;
+class Quantity_Color;
class HYDRODATA_EXPORT HYDROData_Tool {
const QStringList& theStrings,
const QString& theSep = "\n" );
- /**
- * Enables "MustBeUpdated" flag for objects that are depended on "MustBeUpdated" objects.
- * \param theDoc document where this operation is performed
- */
- static void SetMustBeUpdatedObjects( const Handle_HYDROData_Document& theDoc );
-
/**
* \brief Generate name for new object.
* \param theDoc document
static TCollection_ExtendedString toExtString( const QString& );
static QString toQString( const TCollection_ExtendedString& );
+
+ static Quantity_Color toOccColor( const QColor& );
+ static QColor toQtColor( const Quantity_Color& );
+
+ static bool IsNan( double theValue );
+ static bool IsInf( double theValue );
};
inline bool ValuesEquals( const double& theFirst, const double& theSecond )
HYDRODATA_EXPORT std::ostream& operator<<( std::ostream& theStream, const QColor& theText );
HYDRODATA_EXPORT std::ostream& operator<<( std::ostream& theStream, const TopoDS_Shape& theShape );
HYDRODATA_EXPORT std::ostream& operator<<( std::ostream& theStream, const TopoDS_Face& theFace );
+HYDRODATA_EXPORT bool operator == ( const gp_XY& thePoint1, const gp_XY& thePoint2 );
+HYDRODATA_EXPORT std::ostream& operator<<( std::ostream& theStream, const gp_XY& theXY );
#endif