Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.interpolation
Interface CoordinateInterpolator2D

All Superinterfaces:
X3DChildNode, X3DInterpolatorNode, X3DNode

public interface CoordinateInterpolator2D
extends X3DInterpolatorNode

Defines the requirements of an X3D CoordinateInterpolator2D node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getKeyValue(float[] val)
          Return the keyValue value in the argument float[]
 int getNumKeyValue()
          Return the number of MFVec2f items in the keyValue field.
 int getNumValue()
          Return the number of MFVec2f items in the value field.
 void getValue(float[] val)
          Return the value value in the argument float[]
 void setKeyValue(float[] val)
          Set the keyValue field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DInterpolatorNode
getKey, getNumKey, setFraction, setKey
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getNumKeyValue

int getNumKeyValue()
Return the number of MFVec2f items in the keyValue field.

Returns:
the number of MFVec2f items in the keyValue field.

getKeyValue

void getKeyValue(float[] val)
Return the keyValue value in the argument float[]

Parameters:
val - The float[] to initialize.

setKeyValue

void setKeyValue(float[] val)
Set the keyValue field.

Parameters:
val - The float[] to set.

getNumValue

int getNumValue()
Return the number of MFVec2f items in the value field.

Returns:
the number of MFVec2f items in the value field.

getValue

void getValue(float[] val)
Return the value value in the argument float[]

Parameters:
val - The float[] to initialize.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium