MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / offset

Method offset

common/map_sdk/map_import/src/OpenDriveStruct.cpp:516–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514double ODLane::lanedinterval() const { return laned_interval; }
515
516double ODLane::offset() const {
517 if (params.empty()) return 0.0;
518 return params.front().s;
519}
520
521void ODLane::width(const std::vector<double>& ds, std::vector<double>& width) const {
522 width.resize(ds.size(), 0.0);

Callers 12

getCurvatureMethod · 0.45
roadGeomMethod · 0.45
roadTangentMethod · 0.45
roadNormalMethod · 0.45
roadIntervalMethod · 0.45
roadCurvatureMethod · 0.45
roadRefMethod · 0.45
roadEleMethod · 0.45
roadEleControlPointMethod · 0.45
roadControlPointMethod · 0.45
getRefGeoMethod · 0.45
getEleMethod · 0.45

Calls 2

frontMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected