maliput::utility

Function get_obj_description_from_road_network

Source
pub fn get_obj_description_from_road_network(
    road_network: &RoadNetwork,
    obj_features: &ObjFeatures,
) -> Result<String, Box<dyn Error>>
Expand description

Obtain a Wavefront formatted String that describes road_network’s geometry.

§Arguments

  • road_network - The road network to get the Wavefront description from.
  • obj_features - Customization features for the Wavefront meshes.

§Returns

  • A String containing the Wavefront description.
  • A dynamic error if there was an issue processing the road network.