Skip to content

potential issue in GetBoundingBoxCornerPoints

https://gitlab.eclipse.org/eclipse/openpass/openscenario1_engine/-/blob/main/engine/src/Utils/EntityUtils.cpp?ref_type=heads#L79

This function calculates the local corner points of the bounding box without considering any offset from the entity's geometry center, assuming that the entity's position corresponds to the center of the bounding box. If the entity's position is intended to represent a different reference point (e.g., center of geometry, which I think in gtgen it is the case), this could be a limitation or even a bug. Should this offset be explicitly handled here?

Edited by Ziqi Zhou