SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bezier.cpp File Reference
#include <config.h>
#include <math.h>
#include <iostream>

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[])
 
SUMOReal factrl (int n)
 
SUMOReal Ni (int n, int i)
 

Detailed Description

Author
unknown_author
Daniel Krajzewicz
Michael Behrisch
Date
2003-11-19
Version
Id:
bezier.cpp 13811 2013-05-01 20:31:43Z behrisch

Definition in file bezier.cpp.

Function Documentation

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

Definition at line 91 of file bezier.cpp.

References Ni(), and SUMOReal.

Referenced by bezier().

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

Definition at line 100 of file bezier.cpp.

References Basis(), and SUMOReal.

Referenced by NBNode::computeInternalLaneShape().

SUMOReal factrl ( int  n)

Definition at line 61 of file bezier.cpp.

References SUMOReal.

Referenced by Ni().

SUMOReal Ni ( int  n,
int  i 
)

Definition at line 85 of file bezier.cpp.

References factrl().

Referenced by Basis().