From: <dm...@us...> - 2007-01-11 19:36:08
|
Revision: 653 http://svn.sourceforge.net/panotools/?rev=653&view=rev Author: dmg Date: 2007-01-11 11:36:01 -0800 (Thu, 11 Jan 2007) Log Message: ----------- 2007-01-11 dmg <dm...@uv...> * queryfeature.c, panorama.h (panoProjectionFormatCount): Added function. Modified Paths: -------------- trunk/libpano/ChangeLog trunk/libpano/panorama.h trunk/libpano/queryfeature.c Modified: trunk/libpano/ChangeLog =================================================================== --- trunk/libpano/ChangeLog 2007-01-11 09:01:35 UTC (rev 652) +++ trunk/libpano/ChangeLog 2007-01-11 19:36:01 UTC (rev 653) @@ -1,5 +1,8 @@ 2007-01-11 dmg <dm...@uv...> + * queryfeature.c, panorama.h (panoProjectionFormatCount): Added + function. + * version.h (VERSION), configure.ac Upgraded to version 2.9.12 * tools/panoinfo_unix.c: Output features of panos. Modified: trunk/libpano/panorama.h =================================================================== --- trunk/libpano/panorama.h 2007-01-11 09:01:35 UTC (rev 652) +++ trunk/libpano/panorama.h 2007-01-11 19:36:01 UTC (rev 653) @@ -453,6 +453,7 @@ int panoProjectionFeaturesQuery(int projection, pano_projection_features *features); +int panoProjectionFormatCount(void); Modified: trunk/libpano/queryfeature.c =================================================================== --- trunk/libpano/queryfeature.c 2007-01-11 09:01:35 UTC (rev 652) +++ trunk/libpano/queryfeature.c 2007-01-11 19:36:01 UTC (rev 653) @@ -306,10 +306,20 @@ "Albers Equal Area Conic", }; +int panoProjectionFormatCount(void) +{ + // REturn the number of Projection formats available in the library + assert(sizeof(panoFormatNames) == PANO_FORMAT_COUNT * sizeof(char*)); + return PANO_FORMAT_COUNT; +} int panoProjectionFeaturesQuery(int projection, pano_projection_features *features) { + // Return information regarding the characteristics of each of the projections + // in the library. + int i; + assert(features != NULL); assert(sizeof(panoFormatNames) == PANO_FORMAT_COUNT * sizeof(char*)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |