return true;
}
+void HYDROData_Profile::Invalidate()
+{
+ TDF_Label aFirstLabel = myLab.FindChild( DataTag_FirstPoint, false );
+ if ( !aFirstLabel.IsNull() )
+ aFirstLabel.ForgetAllAttributes();
+
+ TDF_Label aLastLabel = myLab.FindChild( DataTag_LastPoint, false );
+ if ( !aLastLabel.IsNull() )
+ aLastLabel.ForgetAllAttributes();
+}
+
Handle(HYDROData_ProfileUZ) HYDROData_Profile::GetProfileUZ( const bool theIsCreate ) const
{
Handle(HYDROData_ProfileUZ) aProfileUZ;
*/
HYDRODATA_EXPORT bool IsValid() const;
+ /**
+ * Invalidate profile first and last points.
+ */
+ HYDRODATA_EXPORT void Invalidate();
+
public:
// Public methods to work with profile points.