15 namespace MAKVRinTerra
20 typedef boost::shared_ptr<DtPathFeature>
Ptr;
21 typedef boost::shared_ptr<const DtPathFeature>
CPtr;
37 virtual boost::optional<unsigned> numLanes()
const;
38 virtual boost::optional<double> width()
const;
39 virtual boost::optional<double> medianWidth()
const;
40 virtual boost::optional<std::string> roadName()
const;
60 boost::optional<Attribute> attribute(
const Key & key)
const
62 return myFeature.attribute(key);
67 myFeature.forEachAttribute(f);
70 unsigned numberOfAttributes(
const Key::String & name)
const
72 return myFeature.numberOfAttributes(name);
82 return myFeature.addDeleteCallback(callback);
85 bool isDeleted()
const
87 return myFeature.isDeleted();
92 : myFeature(from.myFeature)
93 , myPathGeometry(from.myPathGeometry)
116 void findClosestPointOnFeature();
118 bool foundClosestFeature()
const;