ne_rec_getRatio

const double sbne::ne_rec_getRatio(VTransformation2D *gS)

Returns the value of the “ratio” attribute of this VRectangle object, if it has one.

Parameters

gS – a pointer to the VRectangle object.

Returns

the “ratio” attribute of this VRectangle object, or 0.0 if the “ratio” attribute is not set or the object is NULL .