DataTag_CustomRules, ///< custom rules
DataTag_AssignmentMode, ///< assignment mode
DataTag_StricklerTable, ///< reference Strickler table
- DataTag_LandCover, ///< reference land covers
- DataTag_CustomLandCoverRules, ///< custom rules for land covers priority
- DataTag_AssignmentLandCoverMode ///< assignment mode of land covers priority
+ DataTag_LandCover_Obsolete, ///< reference land covers
+ DataTag_CustomLandCoverRules_Obsolete, ///< custom rules for land covers priority
+ DataTag_AssignmentLandCoverMode_Obsolete, ///< assignment mode of land covers priority
+ DataTag_ChildLandCoverRegion_Obsolete, ///< child land cover regions
+ DataTag_LandCoverRegion_Obsolete ///< reference land cover regions
};
public:
/**
* Removes reference geometry object from calculation case.
*/
- void RemoveGeometryObject( HYDROData_Object theObject ) [void ( const Handle_HYDROData_Object& )];
+ void RemoveGeometryObject( HYDROData_Object theObject )
+ [void ( const Handle_HYDROData_Object& )];
%MethodCode
Handle(HYDROData_Object) aRef =
Handle(HYDROData_Object)::DownCast( createHandle( a0 ) );
public:
// Public methods to work with Calculation services
+ /**
+ * Returns strickler coefficient for given point.
+ * \param thePoint the point to examine
+ * \return result strickler coefficient
+ */
+ double GetStricklerCoefficientForPoint( const double theCoordX,
+ const double theCoordY ) const [double ( const gp_XY& ) ];
+ %MethodCode
+ gp_XY aPnt( a0, a1 );
+
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_CalculationCase::GetStricklerCoefficientForPoint( aPnt ) :
+ sipCpp->GetStricklerCoefficientForPoint( aPnt );
+ Py_END_ALLOW_THREADS
+ %End
+
/**
* Returns altitude for given point.
* \param thePoint the point to examine
void AddRule( HYDROData_Entity theObject1,
HYDROData_PriorityType thePriority,
HYDROData_Entity theObject2,
- HYDROData_Zone::MergeAltitudesType theMergeType,
+ HYDROData_Zone::MergeType theMergeType,
HYDROData_CalculationCase::DataTag theDataTag )
- [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeAltitudesType, HYDROData_CalculationCase::DataTag )];
+ [void ( const Handle_HYDROData_Entity&, HYDROData_PriorityType, const Handle_HYDROData_Entity&, HYDROData_Zone::MergeType, HYDROData_CalculationCase::DataTag )];
%MethodCode
Handle(HYDROData_Entity) anObject1 =
Handle(HYDROData_Entity)::DownCast( createHandle( a0 ) );