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