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;
58 boost::optional<Attribute> attribute(
const Key & key)
const
60 return myFeature.attribute(key);
65 myFeature.forEachAttribute(f);
68 unsigned numberOfAttributes(
const Key::String & name)
const
70 return myFeature.numberOfAttributes(name);
80 return myFeature.addDeleteCallback(callback);
83 bool isDeleted()
const
85 return myFeature.isDeleted();
90 : myFeature(from.myFeature)
91 , myPathGeometry(from.myPathGeometry)
109 const DtPoint& point,
114 void findClosestPointOnFeature();
116 bool foundClosestFeature()
const;