Package org.web3d.x3d.sai.Geospatial
Interface GeoElevationGrid
- All Superinterfaces:
X3DGeometryNode
,X3DNode
- All Known Implementing Classes:
GeoElevationGrid
GeoElevationGrid is a geometry node defining a rectangular height field, with default values for a 1m by 1m square at height 0.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
GeoElevationGrid node tooltip: [X3DGeometryNode] GeoElevationGrid is a geometry node defining a rectangular height field, with default values for a 1m by 1m square at height 0. Vertices corresponding to GeoElevationGrid height values define quadrilaterals, which are placed above or below a curved geospatial surface using geographic coordinates.
- Hint: the height array defines (xDimension-1)*(zDimension-1) quadrilaterals.
- Warning: generated quadrilaterals can be nonplanar. Tessellation splits quadrilaterals into triangles along seam starting at initial vertex of the quadrilateral and proceeding to opposite vertex.
- Hint: positive direction for normal of each triangle is on same side of the quadrilateral. Triangles are defined either counterclockwise or clockwise depending on value of ccw field.
- Hint: GeoElevationGrid can contain GeoOrigin, Color|ColorRGBA, Normal and TextureCoordinate nodes.
- Hint: insert a Shape node before adding geometry or Appearance.
- Hint: X3D for Advanced Modeling (X3D4AM) slideset https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/GeospatialComponentX3dEarth.pdf
- Warning: requires X3D profile='Full' or else include <component name='Geospatial' level='1'/>
- Warning: avoid having GeoLocation or GeoTransform as a parent or ancestor node of GeoElevationGrid, since multiple geospatial transformations then occur with unpredictable results.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCcw()
Provide boolean value from initializeOnly SFBool field named ccw.getColor()
Provide org.web3d.x3d.sai.Rendering.X3DColorNode instance (using a properly typed node) using RGB values [0..1] from inputOutput SFNode field color.boolean
Provide boolean value from initializeOnly SFBool field named colorPerVertex.double
Provide double value unit axis, angle (in radians) within allowed range of [0,infinity) from initializeOnly SFDouble field named creaseAngle.double[]
Provide array of 3-tuple double results from initializeOnly SFVec3d field named geoGridOrigin.Provide org.web3d.x3d.sai.Geospatial.GeoOrigin instance (using a properly typed node) (deprecated node, optional) from initializeOnly SFNode field geoOrigin.String[]
Provide array of String results from initializeOnly MFString field named geoSystem.double[]
Provide array of double results from initializeOnly MFDouble field named height.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.Provide org.web3d.x3d.sai.Rendering.X3DNormalNode instance (using a properly typed node) from inputOutput SFNode field normal.boolean
Provide boolean value from initializeOnly SFBool field named normalPerVertex.boolean
getSolid()
Provide boolean value from initializeOnly SFBool field named solid.Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureCoordinateNode instance (using a properly typed node) from inputOutput SFNode field texCoord.int
Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named xDimension.double
Provide double value within allowed range of (0,infinity) from initializeOnly SFDouble field named xSpacing.float
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named yScale.int
Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named zDimension.double
Provide double value within allowed range of (0,infinity) from initializeOnly SFDouble field named zSpacing.setCcw
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named ccw.setColor
(X3DColorNode newValue) Accessor method to assign org.web3d.x3d.sai.Rendering.X3DColorNode instance (using a properly typed node) to inputOutput SFNode field color.setColorPerVertex
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named colorPerVertex.setCreaseAngle
(double newValue) Accessor method to assign double value unit axis, angle (in radians) to initializeOnly SFDouble field named creaseAngle.setGeoGridOrigin
(double[] newValue) Accessor method to assign 3-tuple double array to initializeOnly SFVec3d field named geoGridOrigin.setGeoOrigin
(GeoOrigin newValue) Accessor method to assign org.web3d.x3d.sai.Geospatial.GeoOrigin instance (using a properly typed node) to initializeOnly SFNode field geoOrigin.setGeoSystem
(String[] newValue) Accessor method to assign String array to initializeOnly MFString field named geoSystem.setHeight
(double[] newValue) Accessor method to assign double array to initializeOnly MFDouble field named height.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setNormal
(X3DNormalNode newValue) Accessor method to assign org.web3d.x3d.sai.Rendering.X3DNormalNode instance (using a properly typed node) to inputOutput SFNode field normal.setNormalPerVertex
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named normalPerVertex.setSolid
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named solid.setTexCoord
(X3DSingleTextureCoordinateNode newValue) Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureCoordinateNode instance (using a properly typed node) to inputOutput SFNode field texCoord.setXDimension
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named xDimension.setXSpacing
(double newValue) Accessor method to assign double value to initializeOnly SFDouble field named xSpacing.setYScale
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named yScale.setZDimension
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named zDimension.setZSpacing
(double newValue) Accessor method to assign double value to initializeOnly SFDouble field named zSpacing.
-
Method Details
-
getCcw
boolean getCcw()Provide boolean value from initializeOnly SFBool field named ccw.
Tooltip: ccw defines clockwise/counterclockwise ordering of vertex coordinates, which in turn defines front/back orientation of polygon normals according to Right-Hand Rule (RHR).- Hint: a good debugging technique for problematic polygons is to try changing the value of ccw, which can reverse solid effects (single-sided backface culling) and normal-vector direction.
- Warning: consistent and correct ordering of left-handed or right-handed point sequences is important throughout the coord array of point values.
- Hint: clockwise https://en.wikipedia.org/wiki/Clockwise
- Returns:
- value of ccw field
-
setCcw
Accessor method to assign boolean value to initializeOnly SFBool field named ccw.
Tooltip: ccw defines clockwise/counterclockwise ordering of vertex coordinates, which in turn defines front/back orientation of polygon normals according to Right-Hand Rule (RHR).- Hint: a good debugging technique for problematic polygons is to try changing the value of ccw, which can reverse solid effects (single-sided backface culling) and normal-vector direction.
- Warning: consistent and correct ordering of left-handed or right-handed point sequences is important throughout the coord array of point values.
- Hint: clockwise https://en.wikipedia.org/wiki/Clockwise
- Parameters:
newValue
- is new value for the ccw field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getColor
X3DColorNode getColor()Provide org.web3d.x3d.sai.Rendering.X3DColorNode instance (using a properly typed node) using RGB values [0..1] from inputOutput SFNode field color.
Tooltip: [X3DColorNode] Single contained Color or ColorRGBA node that can specify color values applied to corresponding vertices according to colorPerVertex field. *- Returns:
- value of color field
-
setColor
Accessor method to assign org.web3d.x3d.sai.Rendering.X3DColorNode instance (using a properly typed node) to inputOutput SFNode field color.
Tooltip: [X3DColorNode] Single contained Color or ColorRGBA node that can specify color values applied to corresponding vertices according to colorPerVertex field. *- Parameters:
newValue
- is new value for the color field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getColorPerVertex
boolean getColorPerVertex()Provide boolean value from initializeOnly SFBool field named colorPerVertex.
Tooltip: Whether Color node color values are applied to each point vertex (true) or per quadrilateral (false).- Hint: X3D Scene Authoring Hints, Color https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color
- Returns:
- value of colorPerVertex field
-
setColorPerVertex
Accessor method to assign boolean value to initializeOnly SFBool field named colorPerVertex.
Tooltip: Whether Color node color values are applied to each point vertex (true) or per quadrilateral (false).- Hint: X3D Scene Authoring Hints, Color https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color
- Parameters:
newValue
- is new value for the colorPerVertex field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCreaseAngle
double getCreaseAngle()Provide double value unit axis, angle (in radians) within allowed range of [0,infinity) from initializeOnly SFDouble field named creaseAngle.
Tooltip: (0,+infinity) creaseAngle defines angle (in radians) for determining whether adjacent polygons are drawn with sharp edges or smooth shading. If angle between normals of two adjacent polygons is less than creaseAngle, smooth shading is rendered across the shared line segment.- Hint: creaseAngle=0 means render all edges sharply, creaseAngle=3.14159 means render all edges smoothly.
- Warning: note type double, unlike ElevationGrid creaseAngle.
- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- Returns:
- value of creaseAngle field
-
setCreaseAngle
Accessor method to assign double value unit axis, angle (in radians) to initializeOnly SFDouble field named creaseAngle.
Tooltip: (0,+infinity) creaseAngle defines angle (in radians) for determining whether adjacent polygons are drawn with sharp edges or smooth shading. If angle between normals of two adjacent polygons is less than creaseAngle, smooth shading is rendered across the shared line segment.- Hint: creaseAngle=0 means render all edges sharply, creaseAngle=3.14159 means render all edges smoothly.
- Warning: note type double, unlike ElevationGrid creaseAngle.
- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- Parameters:
newValue
- is new value for the creaseAngle field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getGeoGridOrigin
double[] getGeoGridOrigin()Provide array of 3-tuple double results from initializeOnly SFVec3d field named geoGridOrigin.
Tooltip: Geographic coordinate for southwest (lower-left) corner of height dataset. *- Returns:
- value of geoGridOrigin field
-
setGeoGridOrigin
Accessor method to assign 3-tuple double array to initializeOnly SFVec3d field named geoGridOrigin.
Tooltip: Geographic coordinate for southwest (lower-left) corner of height dataset. *- Parameters:
newValue
- is new value for the geoGridOrigin field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getGeoOrigin
GeoOrigin getGeoOrigin()Provide org.web3d.x3d.sai.Geospatial.GeoOrigin instance (using a properly typed node) (deprecated node, optional) from initializeOnly SFNode field geoOrigin.
Tooltip: [GeoOrigin] Single contained GeoOrigin node that can specify a local coordinate frame for extended precision.- Hint: X3D Architecture 25.2.5 Dealing with high-precision coordinates https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#high-precisioncoords
- Warning: XML validation requires placement as first child node following contained metadata nodes (if any).
- Returns:
- value of geoOrigin field
-
setGeoOrigin
Accessor method to assign org.web3d.x3d.sai.Geospatial.GeoOrigin instance (using a properly typed node) to initializeOnly SFNode field geoOrigin.
Tooltip: [GeoOrigin] Single contained GeoOrigin node that can specify a local coordinate frame for extended precision.- Hint: X3D Architecture 25.2.5 Dealing with high-precision coordinates https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#high-precisioncoords
- Warning: XML validation requires placement as first child node following contained metadata nodes (if any).
- Parameters:
newValue
- is new value for the geoOrigin field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getGeoSystem
String[] getGeoSystem()Provide array of String results from initializeOnly MFString field named geoSystem.
Tooltip: Identifies spatial reference frame: Geodetic (GD), Geocentric (GC), Universal Transverse Mercator (UTM). Supported values: "GD" "UTM" or "GC" followed by additional quoted string parameters as appropriate for the type.- Hint: X3D Architecture 25.2.2 Spatial reference frames https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#Spatialreferenceframes
- Hint: X3D Architecture 25.2.4 Specifying geospatial coordinates https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#Specifyinggeospatialcoords
- Hint: UTM is Universal Transverse Mercator coordinate system https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
- Warning: deprecated values are GDC (replaced by GD) and GCC (replaced by GC).
- Returns:
- value of geoSystem field
-
setGeoSystem
Accessor method to assign String array to initializeOnly MFString field named geoSystem.
Tooltip: Identifies spatial reference frame: Geodetic (GD), Geocentric (GC), Universal Transverse Mercator (UTM). Supported values: "GD" "UTM" or "GC" followed by additional quoted string parameters as appropriate for the type.- Hint: X3D Architecture 25.2.2 Spatial reference frames https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#Spatialreferenceframes
- Hint: X3D Architecture 25.2.4 Specifying geospatial coordinates https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/geospatial.html#Specifyinggeospatialcoords
- Hint: UTM is Universal Transverse Mercator coordinate system https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
- Warning: deprecated values are GDC (replaced by GD) and GCC (replaced by GC).
- Parameters:
newValue
- is new value for the geoSystem field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHeight
double[] getHeight()Provide array of double results from initializeOnly MFDouble field named height.
Tooltip: Contains xDimension rows * zDimension columns floating-point values for elevation above ellipsoid.- Hint: height array values are in row-major order from west to east, south to north.
- Hint: geoGridOrigin is in southwest (lower-left) corner of height dataset.
- Warning: height array values are not retained or available at run time since a browser is permitted to condense geometry.
- Hint: default values do not make sense, this is a specification erratum (Mantis 1447), be sure to change them.
- Hint: this field is not accessType inputOutput since X3D browsers might use different underlying geometric representations for high-performance rendering, and so output events are not appropriate.
- Returns:
- value of height field
-
setHeight
Accessor method to assign double array to initializeOnly MFDouble field named height.
Tooltip: Contains xDimension rows * zDimension columns floating-point values for elevation above ellipsoid.- Hint: height array values are in row-major order from west to east, south to north.
- Hint: geoGridOrigin is in southwest (lower-left) corner of height dataset.
- Warning: height array values are not retained or available at run time since a browser is permitted to condense geometry.
- Hint: default values do not make sense, this is a specification erratum (Mantis 1447), be sure to change them.
- Hint: this field is not accessType inputOutput since X3D browsers might use different underlying geometric representations for high-performance rendering, and so output events are not appropriate.
- Parameters:
newValue
- is new value for the height field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
getMetadata
in interfaceX3DGeometryNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
setMetadata
in interfaceX3DGeometryNode
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getNormal
X3DNormalNode getNormal()Provide org.web3d.x3d.sai.Rendering.X3DNormalNode instance (using a properly typed node) from inputOutput SFNode field normal.
Tooltip: [X3DNormalNode] Single contained Normal node that can specify perpendicular vectors for corresponding vertices to support rendering computations, applied according to the normalPerVertex field.- Hint: useful for special effects. Normal vector computation by 3D graphics hardware is quite fast so adding normals to a scene is typically unnecessary.
- Warning: normal vectors increase file size, typically doubling geometry definitions.
- Returns:
- value of normal field
-
setNormal
Accessor method to assign org.web3d.x3d.sai.Rendering.X3DNormalNode instance (using a properly typed node) to inputOutput SFNode field normal.
Tooltip: [X3DNormalNode] Single contained Normal node that can specify perpendicular vectors for corresponding vertices to support rendering computations, applied according to the normalPerVertex field.- Hint: useful for special effects. Normal vector computation by 3D graphics hardware is quite fast so adding normals to a scene is typically unnecessary.
- Warning: normal vectors increase file size, typically doubling geometry definitions.
- Parameters:
newValue
- is new value for the normal field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getNormalPerVertex
boolean getNormalPerVertex()Provide boolean value from initializeOnly SFBool field named normalPerVertex.
Tooltip: Whether Normal node vector values are applied to each point vertex (true) or per quadrilateral (false).- Hint: if no child Normal node is provided, the X3D browser shall automatically generate normals, using creaseAngle to determine smoothed shading across shared vertices.
- Returns:
- value of normalPerVertex field
-
setNormalPerVertex
Accessor method to assign boolean value to initializeOnly SFBool field named normalPerVertex.
Tooltip: Whether Normal node vector values are applied to each point vertex (true) or per quadrilateral (false).- Hint: if no child Normal node is provided, the X3D browser shall automatically generate normals, using creaseAngle to determine smoothed shading across shared vertices.
- Parameters:
newValue
- is new value for the normalPerVertex field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSolid
boolean getSolid()Provide boolean value from initializeOnly SFBool field named solid.
Tooltip: Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).- Hint: mnemonic "this geometry is solid like a brick" (you don't render the inside of a brick).
- Warning: default value true can completely hide geometry if viewed from wrong side!
- Hint: if in doubt, use solid='false' for maximum visibility.
- Hint: accessType relaxed to inputOutput in order to support animation and visualization.
- Returns:
- value of solid field
-
setSolid
Accessor method to assign boolean value to initializeOnly SFBool field named solid.
Tooltip: Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).- Hint: mnemonic "this geometry is solid like a brick" (you don't render the inside of a brick).
- Warning: default value true can completely hide geometry if viewed from wrong side!
- Hint: if in doubt, use solid='false' for maximum visibility.
- Hint: accessType relaxed to inputOutput in order to support animation and visualization.
- Parameters:
newValue
- is new value for the solid field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTexCoord
X3DSingleTextureCoordinateNode getTexCoord()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureCoordinateNode instance (using a properly typed node) from inputOutput SFNode field texCoord.
Tooltip: [X3DTextureCoordinateNode] Single contained TextureCoordinate, TextureCoordinateGenerator or MultiTextureCoordinate node that can specify coordinates for texture mapping onto corresponding geometry. *- Returns:
- value of texCoord field
-
setTexCoord
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureCoordinateNode instance (using a properly typed node) to inputOutput SFNode field texCoord.
Tooltip: [X3DTextureCoordinateNode] Single contained TextureCoordinate, TextureCoordinateGenerator or MultiTextureCoordinate node that can specify coordinates for texture mapping onto corresponding geometry. *- Parameters:
newValue
- is new value for the texCoord field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getXDimension
int getXDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named xDimension.
Tooltip: (0,+infinity) Number of elements in the height array along east-west X direction.- Hint: total horizontal x-axis distance equals (xDimension-1) * xSpacing.
- Warning: xDimension < 2 means that GeoElevationGrid contains no quadrilaterals.
- Returns:
- value of xDimension field
-
setXDimension
Accessor method to assign int value to initializeOnly SFInt32 field named xDimension.
Tooltip: (0,+infinity) Number of elements in the height array along east-west X direction.- Hint: total horizontal x-axis distance equals (xDimension-1) * xSpacing.
- Warning: xDimension < 2 means that GeoElevationGrid contains no quadrilaterals.
- Parameters:
newValue
- is new value for the xDimension field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getXSpacing
double getXSpacing()Provide double value within allowed range of (0,infinity) from initializeOnly SFDouble field named xSpacing.
Tooltip: (0,+infinity) Distance between grid-array vertices along east-west X direction.- Hint: when geoSystem is GDC, xSpacing is number of degrees of longitude.
- Hint: when geoSystem is UTM, xSpacing is number of eastings (meters).
- Returns:
- value of xSpacing field
-
setXSpacing
Accessor method to assign double value to initializeOnly SFDouble field named xSpacing.
Tooltip: (0,+infinity) Distance between grid-array vertices along east-west X direction.- Hint: when geoSystem is GDC, xSpacing is number of degrees of longitude.
- Hint: when geoSystem is UTM, xSpacing is number of eastings (meters).
- Parameters:
newValue
- is new value for the xSpacing field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getYScale
float getYScale()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named yScale.
Tooltip: [0,+infinity) Vertical exaggeration of displayed data produced from the height array. *- Returns:
- value of yScale field
-
setYScale
Accessor method to assign float value to inputOutput SFFloat field named yScale.
Tooltip: [0,+infinity) Vertical exaggeration of displayed data produced from the height array. *- Parameters:
newValue
- is new value for the yScale field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getZDimension
int getZDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named zDimension.
Tooltip: (0,+infinity) Number of elements in the height array along north-south Z direction.- Hint: total lateral z-axis distance equals (zDimension-1) * zSpacing.
- Warning: zDimension < 2 means that GeoElevationGrid contains no quadrilaterals.
- Returns:
- value of zDimension field
-
setZDimension
Accessor method to assign int value to initializeOnly SFInt32 field named zDimension.
Tooltip: (0,+infinity) Number of elements in the height array along north-south Z direction.- Hint: total lateral z-axis distance equals (zDimension-1) * zSpacing.
- Warning: zDimension < 2 means that GeoElevationGrid contains no quadrilaterals.
- Parameters:
newValue
- is new value for the zDimension field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getZSpacing
double getZSpacing()Provide double value within allowed range of (0,infinity) from initializeOnly SFDouble field named zSpacing.
Tooltip: (0,+infinity) Distance between grid-array vertices along north-south Z direction.- Hint: when geoSystem is GDC, zSpacing is number of degrees of latitude.
- Hint: when geoSystem is UTM, zSpacing is number of northings (meters).
- Returns:
- value of zSpacing field
-
setZSpacing
Accessor method to assign double value to initializeOnly SFDouble field named zSpacing.
Tooltip: (0,+infinity) Distance between grid-array vertices along north-south Z direction.- Hint: when geoSystem is GDC, zSpacing is number of degrees of latitude.
- Hint: when geoSystem is UTM, zSpacing is number of northings (meters).
- Parameters:
newValue
- is new value for the zSpacing field.- Returns:
GeoElevationGrid
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-