class Function01


Public Methods

[more] Function01()
Constructors / Destructors
[more] ~Function01()
[more]void setName(const string &name)
[more]string getName()
[more]bool Evaluate(float t, float* fout)
[more]Vector2D EvaluateBezierS(float s)
return Y in fout given X (=t).
[more]float BezierGetYfromX(float x)
s is the lenght arc patameter (basically inside [0,1])
[more]int LoadXML(char* file_name)
given x, return y from a bezier curve
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]void Out(char* c) const

Private Fields

[more]string name
[more]int type
[more]float from
2:bezier
[more]float to
[more]float constant
constant variables
[more]float f0
line variables: y=y0+m(t-t0)
[more]float m
[more]float t0
[more]Vector2D knot0
bezier variables
[more]Vector2D knot1
[more]Vector2D knot2
[more]Vector2D knot3
[more]double x_match
[more]BNewton BN

Private Methods

[more]double xs(double s)
x to match in y(x) bezier extraction
[more]double dxds(double s)
[more]double fx(double x, Function01 &c)
[more]double dfdx(double x, Function01 &c)


Documentation

o Function01()
Constructors / Destructors

o ~Function01()

ovoid setName(const string &name)

ostring getName()

obool Evaluate(float t, float* fout)

oVector2D EvaluateBezierS(float s)
return Y in fout given X (=t). WARNING t is X not s in this function.

ofloat BezierGetYfromX(float x)
s is the lenght arc patameter (basically inside [0,1])

oint LoadXML(char* file_name)
given x, return y from a bezier curve

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovoid Out(char* c) const

ostring name

oint type

ofloat from
2:bezier

ofloat to

ofloat constant
constant variables

ofloat f0
line variables: y=y0+m(t-t0)

ofloat m

ofloat t0

oVector2D knot0
bezier variables

oVector2D knot1

oVector2D knot2

oVector2D knot3

odouble x_match

odouble xs(double s)
x to match in y(x) bezier extraction

odouble dxds(double s)

odouble fx(double x, Function01 &c)

odouble dfdx(double x, Function01 &c)

oBNewton BN


This class has no child classes.
Friends:
class BNewton : public Newton<Function01>

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.