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