_pyAsInt#

Fully qualified name: usd_optimize::_pyAsInt

int usd_optimize::_pyAsInt(PyObject *pyObject)#

Attempts to return the given python object as an int.

Throws:

std::runtime_error – if the object is not an int