Class SAIPolypoint2D
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geometry2d.SAIPolypoint2D
- All Implemented Interfaces:
Polypoint2D
,X3DGeometryNode
,X3DNode
A concrete implementation of the Polypoint2D node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPolypoint2D
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIPolypoint2D
public SAIPolypoint2D(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getNumPoint
public int getNumPoint()Return the number of MFVec2f items in the point field.- Specified by:
getNumPoint
in interfacePolypoint2D
- Returns:
- the number of MFVec2f items in the point field.
-
getPoint
public void getPoint(float[] val) Return the point value in the argument float[]- Specified by:
getPoint
in interfacePolypoint2D
- Parameters:
val
- The float[] to initialize.
-
setPoint
public void setPoint(float[] val) Set the point field.- Specified by:
setPoint
in interfacePolypoint2D
- Parameters:
val
- The float[] to set.
-