NAME
MgetProjection - get projection type
SYNOPSIS
#include "csf.h"
CSF_PT MgetProjection(const MAP *map);
PARAMETERS
-
const MAP *map
-
map handle
DESCRIPTION
MgetProjection returns the projection type of the map.
In version 2, projections are simplified. We only discern between
a projection with y increasing (PT_YINCT2B) and decreasing (PT_YDECT2B)
from top to bottom.
The old constants are mapped to these two.
RETURNS
PT_YINCT2B or PT_YDECT2B
Possible values for a
CSF_PT
are as follows:
* these two can be returned by or passed to a csf2 function
- PT_YINCT2B - Y increase from top to bottom.
- PT_YDECT2B - Y decrease from top to bottom.
* this one CANNOT be returned by NOR passed to a csf2 function
- PT_UNDEFINED - Just some value different from the rest.