Modified the gradient class to return false when the gradient goes outside the limits.
The spline class returns maximum length when the is no closest point belonging to the spline. All other classes check the returned length to check for the existance of the closest point.
Showing
- include/opendrive_road_node.h 2 additions, 2 deletionsinclude/opendrive_road_node.h
- src/g2_spline.cpp 4 additions, 4 deletionssrc/g2_spline.cpp
- src/gradient.cpp 4 additions, 1 deletionsrc/gradient.cpp
- src/opendrive_lane.cpp 21 additions, 16 deletionssrc/opendrive_lane.cpp
- src/opendrive_road.cpp 55 additions, 28 deletionssrc/opendrive_road.cpp
- src/opendrive_road_node.cpp 55 additions, 35 deletionssrc/opendrive_road_node.cpp
- src/opendrive_road_segment.cpp 45 additions, 29 deletionssrc/opendrive_road_segment.cpp
Loading
Please register or sign in to comment