From f07e3cd4f747909dada0df0e5753f1d5f0fa6bef Mon Sep 17 00:00:00 2001 From: Agustin Alba Chicar Date: Tue, 29 Jun 2021 09:01:42 -0300 Subject: [PATCH] Adds precondition in new method. --- .../visualizer/maliput_viewer_plugin/maliput_viewer_model.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/delphyne_gui/visualizer/maliput_viewer_plugin/maliput_viewer_model.hh b/delphyne_gui/visualizer/maliput_viewer_plugin/maliput_viewer_model.hh index e6d1b4ad..cda2f19c 100644 --- a/delphyne_gui/visualizer/maliput_viewer_plugin/maliput_viewer_model.hh +++ b/delphyne_gui/visualizer/maliput_viewer_plugin/maliput_viewer_model.hh @@ -229,6 +229,7 @@ class MaliputViewerModel { /// \brief Get the maliput::api::RoadPositionResult associated with a point in /// world space if exists. + /// \pre The RoadGeometry (in case of multilane) or the RoadNetwork must be initialized. /// \param[in] _position World position of point that intersected with a plane /// \return maliput::api::RoadPositionResult associated with that position. const maliput::api::RoadPositionResult GetRoadPositionResult(const ignition::math::Vector3d& _position);