1 #ifndef COIN_SOMFVEC2D_H 2 #define COIN_SOMFVEC2D_H 27 #include <Inventor/fields/SoMField.h> 28 #include <Inventor/fields/SoSubField.h> 29 #include <Inventor/SbVec2d.h> 36 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbVec2d);
37 SO_MFIELD_SETVALUESPOINTER_HEADER(
double);
40 static void initClass(
void);
42 void setValues(
int start,
int num,
const double xy[][2]);
43 void set1Value(
int idx,
double x,
double y);
44 void set1Value(
int idx,
const double xy[2]);
45 void setValue(
double x,
double y);
46 void setValue(
const double xy[2]);
50 #endif // !COIN_SOMFVEC2D_H The SoMField class is the base class for fields which can contain multiple values.All field types which may contain more than one member value inherits this class. SoMField is an abstract class.
Definition: SoMField.h:32
The SbVec2d class is a 2 dimensional vector with double precision floating point coordinates.
Definition: SbVec2d.h:36
The SoMFVec2d class is a container for SbVec2d vectors.This field is used where nodes, engines or other field containers needs to store an array of vectors with two elements.
Definition: SoMFVec2d.h:31