CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
twinmodel::OsmData Struct Reference

#include <OsmIngest.h>

Public Member Functions

BoundingBox NodeExtent () const
 Extent of the nodes themselves, used when the file carries no <bounds> or the bounds are smaller than the ways crossing them.
 

Public Attributes

std::optional< BoundingBox > bbox
 
std::map< long long, OsmNode > nodes
 
std::vector< OsmRelation > relations
 
std::vector< OsmWay > ways
 

Detailed Description

Definition at line 50 of file OsmIngest.h.

Member Function Documentation

◆ NodeExtent()

BoundingBox twinmodel::OsmData::NodeExtent ( ) const

Extent of the nodes themselves, used when the file carries no <bounds> or the bounds are smaller than the ways crossing them.

Definition at line 32 of file OsmIngest.cpp.

References twinmodel::BoundingBox::east, nodes, twinmodel::BoundingBox::north, twinmodel::BoundingBox::south, and twinmodel::BoundingBox::west.

Referenced by osm2odr::ConvertOSMToOpenDRIVE().

Member Data Documentation

◆ bbox

std::optional<BoundingBox> twinmodel::OsmData::bbox

Definition at line 54 of file OsmIngest.h.

Referenced by osm2odr::ConvertOSMToOpenDRIVE(), and twinmodel::ParseOsmXml().

◆ nodes

std::map<long long, OsmNode> twinmodel::OsmData::nodes

◆ relations

std::vector<OsmRelation> twinmodel::OsmData::relations

Definition at line 53 of file OsmIngest.h.

Referenced by twinmodel::ParseOsmXml().

◆ ways

std::vector<OsmWay> twinmodel::OsmData::ways

Definition at line 52 of file OsmIngest.h.

Referenced by twinmodel::BuildLaneGraph(), and twinmodel::ParseOsmXml().


The documentation for this struct was generated from the following files: