Class: GeoPositionInterpolator

X3D: 3.3
Component: Geospatial
Status:
experimental

.nodeTypes. GeoPositionInterpolator

The GeoPositionInterpolator node provides an interpolator capability where key values are specified in geographic coordinates and the interpolation is performed within the specified spatial reference frame.

HTML Encoding and Default Values

<GeoPositionInterpolator buffer='""' duration='"1"' geoOrigin='x3dom.nodeTypes.X3DInterpolatorNode' geoSystem='['GD','WE']' interpolation='"LINEAR"' key='[]' keyValue='[]' metadata='X3DMetadataObject' onGreatCircle='false' set_fraction='0' ></GeoPositionInterpolator>

Inheritance


Constructor

GeoPositionInterpolator(ctx)

Constructor for GeoPositionInterpolator

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
buffer SFString "" X3DInterpolatorNode The url to the binary file, that contains the buffer data.
duration SFString "1" X3DInterpolatorNode Specifies the duration
geoOrigin SFNode X3DInterpolatorNode The geoOrigin field is used to specify a local coordinate frame for extended precision.
geoSystem MFString ['GD','WE'] {["GD", ...], ["UTM", ...], ["GC", ...]} The geoSystem field is used to define the spatial reference frame.
interpolation SFString "LINEAR" X3DInterpolatorNode Contains the interpolation method
key MFFloat [] X3DInterpolatorNode The key field contains the list of key times, the keyValue field contains values for the target field, one complete set of values for each key. Interpolator nodes containing no keys in the key field shall not produce any events. However, an input event that replaces an empty key field with one that contains keys will cause the interpolator node to produce events the next time that a set_fraction event is received.
keyValue MFVec3d [] The keyValue array is used to contain the actual coordinates and should be provided in a format consistent with that specified for the particular geoSystem.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
onGreatCircle SFBool false The onGreatCircle field is used to specify whether coordinates will be interpolated along a great circle path. The default behavior is to not perform this operation for performance and compatibility.
set_fraction SFFloat 0 X3DInterpolatorNode The set_fraction inputOnly field receives an SFFloat event and causes the interpolator node function to evaluate, resulting in a value_changed output event of the specified type with the same timestamp as the set_fraction event.