SUMO - Simulation of Urban MObility
bezier.cpp File Reference
#include <config.h>
#include <math.h>
#include <iostream>
#include <utils/common/StdDefs.h>
#include "PositionVector.h"
Include dependency graph for bezier.cpp:

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)
 

Detailed Description

Author
Daniel Krajzewicz
Michael Behrisch
Date
2003-11-19
Version
Id
bezier.cpp 21154 2016-07-12 14:23:01Z namdre

Definition in file bezier.cpp.

Function Documentation

§ Basis()

SUMOReal Basis ( int  n,
int  i,
SUMOReal  t 
)

Definition at line 92 of file bezier.cpp.

References Ni(), and SUMOReal.

Referenced by bezier().

§ bezier() [1/2]

void bezier ( int  npts,
SUMOReal  b[],
int  cpts,
SUMOReal  p[] 
)

§ bezier() [2/2]

PositionVector bezier ( const PositionVector init,
int  numPoints 
)

Definition at line 138 of file bezier.cpp.

References bezier(), ISNAN(), SUMOReal, Position::x(), and Position::y().

§ factrl()

SUMOReal factrl ( int  n)

Definition at line 62 of file bezier.cpp.

References SUMOReal.

Referenced by Ni().

§ Ni()

SUMOReal Ni ( int  n,
int  i 
)

Definition at line 86 of file bezier.cpp.

References factrl().

Referenced by Basis().