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

Method slope

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

Source from the content-addressed store, hash-verified

243double Polynomial3D::value(const double& dis) const { return a + b * dis + c * dis * dis + d * dis * dis * dis; }
244
245double Polynomial3D::slope(const double& dis) const { return b + 2 * c * dis + 3 * d * dis * dis; }
246
247void Polynomial3D::getParam(double& _a, double& _b, double& _c, double& _d, double& _s) const {
248 _s = s;

Callers 5

FillingElementMethod · 0.80
PrintPBFunction · 0.80
pbMethod · 0.80
roadEleControlPointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected