![]() |
SUMO - Simulation of Urban MObility
|
#include <config.h>#include <cmath>#include <iostream>#include <utils/common/StdDefs.h>#include "PositionVector.h"
Go to the source code of this file.
Functions | |
| double | Basis (int n, int i, double t) |
| void | bezier (int npts, double b[], int cpts, double p[]) |
| PositionVector | bezier (const PositionVector &init, int numPoints) |
| double | factrl (int n) |
| double | Ni (int n, int i) |
| double Basis | ( | int | n, |
| int | i, | ||
| double | t | ||
| ) |
| void bezier | ( | int | npts, |
| double | b[], | ||
| int | cpts, | ||
| double | p[] | ||
| ) |
Definition at line 96 of file bezier.cpp.
References Basis().
Referenced by bezier(), NBNode::computeSmoothShape(), GNEEdge::smoothShape(), NWWriter_OpenDrive::writeGeomSmooth(), and NWWriter_OpenDrive::writeInternalEdge().
| PositionVector bezier | ( | const PositionVector & | init, |
| int | numPoints | ||
| ) |
Definition at line 133 of file bezier.cpp.
References bezier(), ISNAN(), Position::x(), Position::y(), and Position::z().
| double factrl | ( | int | n | ) |
Definition at line 57 of file bezier.cpp.
Referenced by Ni().
| double Ni | ( | int | n, |
| int | i | ||
| ) |