Class SAIGeoCoordinate
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.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
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIGeoCoordinate
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the geoOrigin X3DNode value.void
getGeoSystem
(String[] val) Return the geoSystem value in the argument String[]int
Return the number of MFString items in the geoSystem field.int
Return the number of MFVec3d items in the point field.void
getPoint
(double[] val) Return the point value in the argument double[]void
setGeoOrigin
(X3DNode val) Set the geoOrigin field.void
setGeoSystem
(String[] val) Set the geoSystem field.void
setPoint
(double[] val) Set the point field.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
-
SAIGeoCoordinate
public SAIGeoCoordinate(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getNumPoint
public int getNumPoint()Return the number of MFVec3d items in the point field.- Specified by:
getNumPoint
in 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:
getPoint
in interfaceGeoCoordinate
- Parameters:
val
- The double[] to initialize.
-
setPoint
public void setPoint(double[] val) Set the point field.- Specified by:
setPoint
in interfaceGeoCoordinate
- Parameters:
val
- The double[] to set.
-
getGeoOrigin
Return the geoOrigin X3DNode value.- Specified by:
getGeoOrigin
in interfaceGeoCoordinate
- Returns:
- The geoOrigin X3DNode value.
-
setGeoOrigin
Set the geoOrigin field.- Specified by:
setGeoOrigin
in interfaceGeoCoordinate
- Parameters:
val
- The X3DNode to set.
-
getNumGeoSystem
public int getNumGeoSystem()Return the number of MFString items in the geoSystem field.- Specified by:
getNumGeoSystem
in interfaceGeoCoordinate
- Returns:
- the number of MFString items in the geoSystem field.
-
getGeoSystem
Return the geoSystem value in the argument String[]- Specified by:
getGeoSystem
in interfaceGeoCoordinate
- Parameters:
val
- The String[] to initialize.
-
setGeoSystem
Set the geoSystem field.- Specified by:
setGeoSystem
in interfaceGeoCoordinate
- Parameters:
val
- The String[] to set.
-