#include <SFVec2f.h>
Inheritance diagram for SFVec2f:
Public Member Functions | |
SFVec2f (float x, float y) | |
SFVec2f (const float *values) | |
virtual int | getType () const |
virtual const char * | getTypeName () const |
virtual void | write (FILE *f, int indent) const |
virtual bool | equals (const FieldValue *value) const |
virtual FieldValue * | copy () |
float | getValue (int index) const |
const float * | getValue () const |
void | setValue (int pos, float value) |
Private Attributes | |
float | _value [2] |
SFVec2f::SFVec2f | ( | float | x, | |
float | y | |||
) |
SFVec2f::SFVec2f | ( | const float * | values | ) |
virtual int SFVec2f::getType | ( | ) | const [inline, virtual] |
Implements FieldValue.
virtual const char* SFVec2f::getTypeName | ( | ) | const [inline, virtual] |
Implements FieldValue.
void SFVec2f::write | ( | FILE * | f, | |
int | indent | |||
) | const [virtual] |
Implements FieldValue.
bool SFVec2f::equals | ( | const FieldValue * | value | ) | const [virtual] |
Implements FieldValue.
virtual FieldValue* SFVec2f::copy | ( | ) | [inline, virtual] |
Implements FieldValue.
float SFVec2f::getValue | ( | int | index | ) | const [inline] |
const float* SFVec2f::getValue | ( | ) | const [inline] |
void SFVec2f::setValue | ( | int | pos, | |
float | value | |||
) | [inline] |
float SFVec2f::_value[2] [private] |