RoadGeometry construction parameters.
#include <src/maliput_malidrive/builder/road_geometry_configuration.h>
|
std::map< std::string, std::string > | ToStringMap () const |
|
◆ SimplificationPolicy
Degree to which the RoadGeometry should be simplified.
Enumerator |
---|
kNone | No simplification must be done.
|
kSimplifyWithinToleranceAndKeepGeometryModel | Merge geometry pieces and keep the original geometry model.
|
◆ StandardStrictnessPolicy
Level of flexibility in terms of adhering to the OpenDrive standard when constructing a RoadGeometry.
This is useful when working with .xodr files that violate the OpenDrive standard. The policy is specified by taking the union of one or more of the following bit flags.
Enumerator |
---|
kStrict | Do not permit any errors.
|
kAllowSchemaErrors | Allow schema syntax errors.
|
kAllowSemanticErrors | Allow semantic errors.
|
kPermissive | Allow all previous violations.
|
◆ FromMap()
◆ FromSimplificationPolicyToStr()
Converts a SimplificationPolicy to a string.
- Parameters
-
policy | SimplificationPolicy to be translated to a string. Enumerator's name matches the string except without the leading 'k' and is all lower case. |
- Returns
- A string.
◆ FromStandardStrictnessPolicyToStr()
Converts a StandardStrictnessPolicy to a string.
- Parameters
-
policy | StandardStrictnessPolicy to be translated to a String. Valid strings match the enumerator's name except without the leading 'k' and is all lower case. |
- Returns
- A string value.
◆ FromStrToSimplificationPolicy()
Converts a string to a SimplificationPolicy.
- Parameters
-
policy | String to be translated to a SimplificationPolicy. Valid strings match the enumerator's name except without the leading 'k' and is all lower case. |
- Returns
- A SimplificationPolicy value.
- Exceptions
-
◆ FromStrToStandardStrictnessPolicy()
Converts a string to a StandardStrictnessPolicy.
- Parameters
-
policy | String to be translated to a StandardStrictnessPolicy. Valid strings match the enumerator's name except without the leading 'k' and is all lower case. |
- Returns
- A StandardStrictnessPolicy value.
- Exceptions
-
◆ ToStringMap()
std::map< std::string, std::string > ToStringMap |
( |
| ) |
const |
◆ build_policy
BuildPolicy build_policy {BuildPolicy::Type::kSequential} |
◆ id
◆ inertial_to_backend_frame_translation
◆ omit_nondrivable_lanes
bool omit_nondrivable_lanes {true} |
◆ opendrive_file
std::string opendrive_file {""} |
◆ scale_length
◆ simplification_policy
◆ standard_strictness_policy
◆ tolerances
The documentation for this struct was generated from the following files: