DataTag_FirstPoint, ///< first(left) point
DataTag_LastPoint, ///< last(right) point
DataTag_ChildProfileUZ, ///< child parametric profile
DataTag_FirstPoint, ///< first(left) point
DataTag_LastPoint, ///< last(right) point
DataTag_ChildProfileUZ, ///< child parametric profile
- HYDRODATA_EXPORT bool GetLeftPoint( gp_XY& thePoint, bool IsConvertToGlobal = false ) const;
+ HYDRODATA_EXPORT bool GetLeftPoint( gp_XY& thePoint, bool IsConvertToGlobal = false,
+ bool CanUseDefault = false ) const;
- HYDRODATA_EXPORT bool GetRightPoint( gp_XY& thePoint, bool IsConvertToGlobal = false ) const;
-
+ HYDRODATA_EXPORT bool GetRightPoint( gp_XY& thePoint, bool IsConvertToGlobal = false,
+ bool CanUseDefault = false ) const;
- HYDRODATA_EXPORT ProfilePoint GetBottomPoint() const;
+ HYDRODATA_EXPORT ProfilePoint GetBottomPoint(bool IsConvertToGlobal = false) const;
+
+ /**
+ * Return profile middle point.
+ * \return non-parametric profile point
+ */
+ HYDRODATA_EXPORT ProfilePoint GetMiddlePoint( bool CanUseDefault ) const;
/**
* Imports Profile data from file. The supported file types:
* - parametric presentation of profile (2 points in line U,Z)
/**
* Imports Profile data from file. The supported file types:
* - parametric presentation of profile (2 points in line U,Z)
*/
HYDRODATA_EXPORT static int ImportFromFile( const Handle(HYDROData_Document)& theDoc,
const TCollection_AsciiString& theFileName,
*/
HYDRODATA_EXPORT static int ImportFromFile( const Handle(HYDROData_Document)& theDoc,
const TCollection_AsciiString& theFileName,
* \return \c true if file has been successfully read
*/
HYDRODATA_EXPORT virtual bool ImportFromFile( const TCollection_AsciiString& theFileName,
* \return \c true if file has been successfully read
*/
HYDRODATA_EXPORT virtual bool ImportFromFile( const TCollection_AsciiString& theFileName,
* \return \c true if file has been successfully read
*/
HYDRODATA_EXPORT virtual bool ImportFromFile( OSD_File& theFile,
* \return \c true if file has been successfully read
*/
HYDRODATA_EXPORT virtual bool ImportFromFile( OSD_File& theFile,
-
- /**
- * Returns default filling color for new object.
- */
- HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
-
- /**
- * Returns default border color for new object.
- */
- HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
-
/**
* Checks and if necessary create child 3D object.
* Reimplemented to prevent creation of 3D child object.
*/
HYDRODATA_EXPORT virtual void checkAndSetObject3D() {}
/**
* Checks and if necessary create child 3D object.
* Reimplemented to prevent creation of 3D child object.
*/
HYDRODATA_EXPORT virtual void checkAndSetObject3D() {}