Coin Logo http://www.sim.no/
http://www.coin3d.org/

SoSFVec2d Class Reference
[Field Classes]

The SoSFVec2d class is a container for an SbVec2d vector.This field is used where nodes, engines or other field containers needs to store a single vector with two elements. More...

#include <Inventor/fields/SoSFVec2d.h>

Inheritance diagram for SoSFVec2d:
SoSField SoField

List of all members.

Public Member Functions

void setValue (double x, double y)
void setValue (const double xy[2])

Static Public Member Functions

static void initClass (void)

Detailed Description

The SoSFVec2d class is a container for an SbVec2d vector.

This field is used where nodes, engines or other field containers needs to store a single vector with two elements.

See also:
SbVec2d, SoMFVec2d Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since:
Coin 2.5

Member Function Documentation

void SoSFVec2d::initClass ( void   )  [static]

Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.

Reimplemented from SoSField.

void SoSFVec2d::setValue ( double  x,
double  y 
)

Set value of vector.

void SoSFVec2d::setValue ( const double  xy[2]  ) 

Set value of vector.


The documentation for this class was generated from the following files:

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on 7 Jan 2016 for Coin by Doxygen 1.6.1.