Microsoft Visual Studio visualizers
Geometry implementations are not viewable directly in the debug window of MS Visual Studio.
To view geometries quickly in the debug window, edit the file located at
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\autoexp.dat
and put this code somewhere :
;------------------------------------------------------------- ; Geos Point ; geos::geom::Point { preview ( #( "X=", (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).x, ",Y=", (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).y, ",Z=", (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).z ) ) children ( #( x: (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).x, y: (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).y, z: (((*(((*((geos::geom::CoordinateArraySequence *)(($e).coordinates)._Myptr))).vect))._Myfirst)[0x00000000]).z, SRID:(*(geos::geom::Geometry*)(&($e))).SRID, geometry: (*(geos::geom::Geometry*)(&($e))) ) ) }
Last modified
14 years ago
Last modified on Sep 20, 2010, 7:01:54 PM
Note:
See TracWiki
for help on using the wiki.