Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.geometry2d
Interface Polyline2D

All Superinterfaces:
X3DGeometryNode, X3DNode

public interface Polyline2D
extends X3DGeometryNode

Defines the requirements of an X3D Polyline2D node

Version:
$Revision: 1.1 $
Author:
Rex Melton

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

Method Detail

getNumLineSegments

int getNumLineSegments()
Return the number of MFVec2f items in the lineSegments field.

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

getLineSegments

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

Parameters:
val - The float[] to initialize.

setLineSegments

void setLineSegments(float[] val)
Set the lineSegments field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium