OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Macros
ossimPolyconicProjection.cpp File Reference
#include <math.h>
#include <ossim/projection/ossimPolyconicProjection.h>
#include <ossim/base/ossimKeywordNames.h>

Go to the source code of this file.

Macros

#define PI_OVER_2   ( M_PI / 2.0)
 
#define TWO_PI   (2.0 * M_PI)
 
#define POLY_COEFF_TIMES_SIN(coeff, x, latit)   (coeff * (sin (x * latit)))
 
#define POLY_M(c0lat, c1s2lat, c2s4lat, c3s6lat)   (Poly_a*(c0lat - c1s2lat + c2s4lat - c3s6lat))
 
#define FLOAT_EQ(x, v, epsilon)   (((v - epsilon) < x) && (x < (v + epsilon)))
 
#define FOURTY_ONE   (41.0 * M_PI / 180.0) /* 41 degrees in radians */
 
#define POLY_NO_ERROR   0x0000
 
#define POLY_LAT_ERROR   0x0001
 
#define POLY_LON_ERROR   0x0002
 
#define POLY_EASTING_ERROR   0x0004
 
#define POLY_NORTHING_ERROR   0x0008
 
#define POLY_ORIGIN_LAT_ERROR   0x0010
 
#define POLY_CENT_MER_ERROR   0x0020
 
#define POLY_A_ERROR   0x0040
 
#define POLY_B_ERROR   0x0080
 
#define POLY_A_LESS_B_ERROR   0x0100
 
#define POLY_LON_WARNING   0x0200
 

Macro Definition Documentation

◆ FLOAT_EQ

#define FLOAT_EQ (   x,
  v,
  epsilon 
)    (((v - epsilon) < x) && (x < (v + epsilon)))

◆ FOURTY_ONE

#define FOURTY_ONE   (41.0 * M_PI / 180.0) /* 41 degrees in radians */

◆ PI_OVER_2

#define PI_OVER_2   ( M_PI / 2.0)

◆ POLY_A_ERROR

#define POLY_A_ERROR   0x0040

Definition at line 41 of file ossimPolyconicProjection.cpp.

◆ POLY_A_LESS_B_ERROR

#define POLY_A_LESS_B_ERROR   0x0100

Definition at line 43 of file ossimPolyconicProjection.cpp.

◆ POLY_B_ERROR

#define POLY_B_ERROR   0x0080

Definition at line 42 of file ossimPolyconicProjection.cpp.

◆ POLY_CENT_MER_ERROR

#define POLY_CENT_MER_ERROR   0x0020

Definition at line 40 of file ossimPolyconicProjection.cpp.

◆ POLY_COEFF_TIMES_SIN

#define POLY_COEFF_TIMES_SIN (   coeff,
  x,
  latit 
)    (coeff * (sin (x * latit)))

◆ POLY_EASTING_ERROR

#define POLY_EASTING_ERROR   0x0004

Definition at line 37 of file ossimPolyconicProjection.cpp.

◆ POLY_LAT_ERROR

#define POLY_LAT_ERROR   0x0001

Definition at line 35 of file ossimPolyconicProjection.cpp.

◆ POLY_LON_ERROR

#define POLY_LON_ERROR   0x0002

Definition at line 36 of file ossimPolyconicProjection.cpp.

◆ POLY_LON_WARNING

#define POLY_LON_WARNING   0x0200

◆ POLY_M

#define POLY_M (   c0lat,
  c1s2lat,
  c2s4lat,
  c3s6lat 
)    (Poly_a*(c0lat - c1s2lat + c2s4lat - c3s6lat))

◆ POLY_NO_ERROR

#define POLY_NO_ERROR   0x0000

◆ POLY_NORTHING_ERROR

#define POLY_NORTHING_ERROR   0x0008

Definition at line 38 of file ossimPolyconicProjection.cpp.

◆ POLY_ORIGIN_LAT_ERROR

#define POLY_ORIGIN_LAT_ERROR   0x0010

Definition at line 39 of file ossimPolyconicProjection.cpp.

◆ TWO_PI

#define TWO_PI   (2.0 * M_PI)

Definition at line 27 of file ossimPolyconicProjection.cpp.