|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VRMLCoordinateNodeType
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, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, 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 |
|---|
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.ArrayIndexOutOfBoundsExceptionint getNumPoints()
void getPoint(float[] points)
points - The array to copy the values intofloat[] 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 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||