[x3d-public] [x3d] GeoPositionInterpolator with GeoViewpoint, type conversion in X3DJSAIL????
Don Brutzman
brutzman at nps.edu
Mon May 8 00:09:44 PDT 2017
GeoPositionInterpolator has two output fields: SFVec3f value_changed and SFVec3d geovalue_changed
Thus no conversion needed.
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geodata.html#GeoPositionInterpolator
http://www.web3d.org/x3d/tooltips/X3dTooltips.html#GeoPositionInterpolator
On 5/7/2017 6:55 AM, yottzumm at gmail.com wrote:
> What do I do if I want to use GeoPositionInterpolator with GeoViewpoint?
>
> The GeoPosititionInterpolator.value_changed is of type SFVec3f and
>
> The GeoViewpoint.set_position is of type SFVec3d.
>
> Are the types convertible (in X3DJSAIL)? Would I write a Script to convert?
>
> Thanks!
>
> John
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list