Function etsi_its_cpm_ts_msgs::access::getZDimensionOfPerceivedObject
Defined in File cpm_ts_getters.h
Function Documentation
-
inline uint16_t etsi_its_cpm_ts_msgs::access::getZDimensionOfPerceivedObject(const PerceivedObject &object)
Retrieves the z-dimension of a perceived object.
This function extracts the z-dimension from a given PerceivedObject. If the z-dimension is not present in the object, it throws an std::invalid_argument exception.
- Parameters:
object – The PerceivedObject from which to retrieve the z-dimension.
- Throws:
std::invalid_argument – If the z-dimension is not present in the object.
- Returns:
uint16_t z-dimension of the perceived object in decimeters.