Package org.web3d.x3d.sai.geometry2d
Interface Polyline2D
- All Superinterfaces:
X3DGeometryNode
,X3DNode
- All Known Implementing Classes:
SAIPolyline2D
,SAIPolyline2D
Defines the requirements of an X3D Polyline2D node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getLineSegments
(float[] val) Return the lineSegments value in the argument float[]int
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 Details
-
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.
-