Merge pull request #276 from michaeltryby/dev

Add ENgetdemandpattern()
This commit is contained in:
Michael Tryby
2018-09-04 15:23:31 -04:00
committed by GitHub

View File

@@ -933,6 +933,15 @@ extern "C" {
*/
int DLLEXPORT ENsetbasedemand(int nodeIndex, int demandIdx, EN_API_FLOAT_TYPE baseDemand);
/**
@brief Sets the index of the demand pattern assigned to a node for a category index.
@param nodeIndex The index of a node (first node is index 1).
@param demandIndex The index of a category (first category is index 1).
@param pattIndex The index of the pattern for this node and category.
@return Error code
*/
int DLLEXPORT ENsetdemandpattern(int nodeIndex, int demandIdx, int patIndex);
/**
@brief Retrieves index of curve with specific ID.
@param id The ID of a curve.