Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.geometry2d
Interface Polypoint2D

All Superinterfaces:
X3DGeometryNode, X3DNode

public interface Polypoint2D
extends X3DGeometryNode

Defines the requirements of an X3D Polypoint2D node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 int getNumPoint()
          Return the number of MFVec2f 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 MFVec2f items in the point field.

Returns:
the number of MFVec2f 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