Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.rendering
Interface Coordinate

All Superinterfaces:
X3DCoordinateNode, X3DGeometricPropertyNode, X3DNode

public interface Coordinate
extends X3DCoordinateNode

Defines the requirements of an X3D Coordinate node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 int getNumPoint()
          Return the number of MFVec3f items in the point field.
 void getPoint(float[] val)
          Return the point value in the argument float[]
 void setPoint(float[] val)
          Set the point field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getNumPoint

int getNumPoint()
Return the number of MFVec3f items in the point field.

Returns:
the number of MFVec3f items in the point field.

getPoint

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

Parameters:
val - The float[] to initialize.

setPoint

void setPoint(float[] val)
Set the point field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium