Hi Daniel,
sorry for the late reply...
Daniel M. German wrote:
> Sorry, I forgot the parameters to the projection. Here is a new
> version.
>
> typedef struct
> {
> int typeParm; // type integer or float, most likely float
> int minValue; // used only if integer
> int maxValue;
> float minValue; // used only if float
> float maxValue;
> char *name; // name of the parameter (for the purpose of legibility)
> } pano_projection_parameter;
looks good
> #define PANO_PROJECTION_MAX_PARMS 3
Why define a fixed number of parameters?
> typedef struct
> {
> int projection;
> int maxVFOV; // units in degrees
> int maxHFOV;
> int numberOfParameters;
> // so far we dont have more than 3 parameters
> pano_projection_parameter[PANO_PROJECTION_MAX_PARMS];
If an arbitrary number parameters is supported:
pano_projection_parameter * parameters;
> } pano_projection_features;
Wouldn't be much more effort, or?
Btw.
I agree that the Peirce Quincuncial projection would be very nice to have. A
minor thing: the numerical recipes functions need to be replaced by
something else, since they are not GNU compatible.
ciao
Pablo
