|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Nodes which have coordinate information
| Method Summary | |
int |
getNumPoints()
Get the number of items in the point array now. |
void |
getPoint(float[] points)
Get current value of field point. |
float[] |
getPointRef()
Get the internal reference to the raw or converted point array. |
void |
setPoint(float[] newPoint,
int numValid)
Accessor method to set a new value for field attribute point. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLGeometricPropertyNodeType |
addComponentListener, removeComponentListener |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
allEventsComplete |
| Method Detail |
public void setPoint(float[] newPoint,
int numValid)
newPoint - New value for the point fieldnumValid - The number of valid values to copy from the array
java.lang.ArrayIndexOutOfBoundsExceptionpublic int getNumPoints()
public void getPoint(float[] points)
points - The array to copy the values intopublic float[] getPointRef()
Note that the array may well be longer than the actual number of valid
coordinates. Use getNumPoints() to determine the number of
valid entries.
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||