src/objects2d_to_objects3d/src/objects2d_to_objects3d.cpp
/** \brief Returns a 3D object that represents a 2D object. */
\brief Returns a 3D object that represents a 2D object.
\ brief Returns a 3D object that represents a 2D object .
inline DetectedObject3D object2DToObject3D(const DetectedObject2D& obj2d)
{
  DetectedObject3D obj3d;
  obj3d.name = obj2d.name;
  obj3d.box = compute3DBoxFrom2DPolygon(obj2d.polygon);
  return obj3d;
}
inline DetectedObject3D object2DToObject3D ( const DetectedObject2D & obj2d ) { DetectedObject3D obj3d ; obj3d . name = obj2d . name ; obj3d . box = compute3DBoxFrom2DPolygon ( obj2d . polygon ) ; return obj3d ; }
\brief Returns a 3D object that represents a 2D object.
\ brief Returns a 3D object that represents a 2D object .