Class SAICoordinate
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.rendering.SAICoordinate
- All Implemented Interfaces:
Coordinate
,X3DCoordinateNode
,X3DGeometricPropertyNode
,X3DNode
A concrete implementation of the Coordinate node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAICoordinate
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAICoordinate
public SAICoordinate(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getNumPoint
public int getNumPoint()Return the number of MFVec3f items in the point field.- Specified by:
getNumPoint
in interfaceCoordinate
- Returns:
- the number of MFVec3f items in the point field.
-
getPoint
public void getPoint(float[] val) Return the point value in the argument float[]- Specified by:
getPoint
in interfaceCoordinate
- Parameters:
val
- The float[] to initialize.
-
setPoint
public void setPoint(float[] val) Set the point field.- Specified by:
setPoint
in interfaceCoordinate
- Parameters:
val
- The float[] to set.
-