![]() |
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 | |
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) |
Definition in file bezier.cpp.
double Basis | ( | int | n, |
int | i, | ||
double | t | ||
) |
void bezier | ( | int | npts, |
double | b[], | ||
int | cpts, | ||
double | p[] | ||
) |
Definition at line 97 of file bezier.cpp.
References Basis().
Referenced by bezier(), NBNode::computeSmoothShape(), NWWriter_OpenDrive::writeGeomSmooth(), and NWWriter_OpenDrive::writeNetwork().
PositionVector bezier | ( | const PositionVector & | init, |
int | numPoints | ||
) |
Definition at line 134 of file bezier.cpp.
References bezier(), ISNAN(), Position::x(), Position::y(), and Position::z().
double factrl | ( | int | n | ) |
Definition at line 58 of file bezier.cpp.
Referenced by Ni().
double Ni | ( | int | n, |
int | i | ||
) |