[GRASS-dev] ctypes mystery
Martin Landa
landa.martin at gmail.com
Wed Jun 23 06:26:02 EDT 2010
Hi all,
when developing wxNviz I am facing to the strange problem with ctypes.
Nviz_get_exag_height() [1] returns correct values.
D1/1: Nviz_get_exag_height(): value = 805.696899 min = -2944.302979
max = 4555.696777
SetViewDefault() [2] which is calling Nviz_get_exag_height() gets
incorrect values.
GUI D1/1: Nviz::SetViewDefault(): hdef=2.000000, hmin=0.000000,
hmax=36893488147419103232.000000
Any idea what can be wrong?
Thanks, Martin
[1] http://trac.osgeo.org/grass/browser/grass/trunk/lib/nviz/exag.c#L63
[2] http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/wxnviz.py#L95
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list