Package org.web3d.x3d.sai.geometry2d
Interface TriangleSet2D
- All Superinterfaces:
X3DGeometryNode
,X3DNode
- All Known Implementing Classes:
SAITriangleSet2D
,SAITriangleSet2D
Defines the requirements of an X3D TriangleSet2D node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the number of MFVec2f items in the vertices field.boolean
getSolid()
Return the solid boolean value.void
getVertices
(float[] val) Return the vertices value in the argument float[]void
setSolid
(boolean val) Set the solid field.void
setVertices
(float[] val) Set the vertices field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getSolid
boolean getSolid()Return the solid boolean value.- Returns:
- The solid boolean value.
-
setSolid
void setSolid(boolean val) Set the solid field.- Parameters:
val
- The boolean to set.
-
getNumVertices
int getNumVertices()Return the number of MFVec2f items in the vertices field.- Returns:
- the number of MFVec2f items in the vertices field.
-
getVertices
void getVertices(float[] val) Return the vertices value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setVertices
void setVertices(float[] val) Set the vertices field.- Parameters:
val
- The float[] to set.
-