Function ear::conversion::toPolar

Function Documentation

void ear::conversion::toPolar(ObjectsTypeMetadata &otm)

in-place conversion of Objects metadata to polar

The cartesian flag is ignored, and the type of the position is used to determine whether the metadata is Cartesian or polar. If the metadata is Cartesian, then the position and extent parameters are converted to polar, and the cartesian flag is cleared.

This corresponds to ear.core.objectbased.conversion.to_polar().