ne_spc_updateBoundingBox
-
int sbne::ne_spc_updateBoundingBox(NSpecies *s, const double &positionX, const double &positionY, const double &dimensionWidth, const double &dimensionHeight)
Sets the value of boundingbox arrtibutes of a NSpecies object and automattically update the value of the attributes of the LCurve objects of NSpeciesReferences which are connected to it.
- Parameters:
s – a pointer to the NSpecies object.
positionX – a double value to use as the value of the “x” attribute of the boundingbox of this NSpecies object.
positionY – a double value to use as the value of the “y” attribute of the boundingbox of this NSpecies object.
dimensionWidth – a double value to use as the value of the “width” attribute of the boundingbox of this NSpecies object.
dimensionHeight – a double value to use as the value of the “height” attribute of the boundingbox of this NSpecies object.
- Returns:
integer value indicating success/failure of the function.