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;
41 virtual bool isClosed()
const;
61 boost::optional<Attribute> attribute(
const Key & key)
const
63 return myFeature.attribute(key);
68 myFeature.forEachAttribute(f);
71 unsigned numberOfAttributes(
const Key::String & name)
const
73 return myFeature.numberOfAttributes(name);
83 return myFeature.addDeleteCallback(callback);
86 bool isDeleted()
const
88 return myFeature.isDeleted();
93 : myFeature(from.myFeature)
94 , myPathGeometry(from.myPathGeometry)
117 void findClosestPointOnFeature();
119 bool foundClosestFeature()
const;