Class SAIGeoCoordinate
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geospatial.SAIGeoCoordinate
- All Implemented Interfaces:
GeoCoordinate,X3DCoordinateNode,X3DGeometricPropertyNode,X3DNode
A concrete implementation of the GeoCoordinate node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoCoordinate(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the geoOrigin X3DNode value.voidgetGeoSystem(String[] val) Return the geoSystem value in the argument String[]intReturn the number of MFString items in the geoSystem field.intReturn the number of MFVec3d items in the point field.voidgetPoint(double[] val) Return the point value in the argument double[]voidsetGeoOrigin(X3DNode val) Set the geoOrigin field.voidsetGeoSystem(String[] val) Set the geoSystem field.voidsetPoint(double[] val) Set the point field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIGeoCoordinate
public SAIGeoCoordinate(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumPoint
public int getNumPoint()Return the number of MFVec3d items in the point field.- Specified by:
getNumPointin interfaceGeoCoordinate- Returns:
- the number of MFVec3d items in the point field.
-
getPoint
public void getPoint(double[] val) Return the point value in the argument double[]- Specified by:
getPointin interfaceGeoCoordinate- Parameters:
val- The double[] to initialize.
-
setPoint
public void setPoint(double[] val) Set the point field.- Specified by:
setPointin interfaceGeoCoordinate- Parameters:
val- The double[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOriginin interfaceGeoCoordinate- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOriginin interfaceGeoCoordinate- Parameters:
val- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystemin interfaceGeoCoordinate- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystemin interfaceGeoCoordinate- Parameters:
val- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystemin interfaceGeoCoordinate- Parameters:
val- The String[] to set.
-