GeoCoreGlobal.h File Reference


Detailed Description

Provides definitions for a variety of constants and functions that are used throughout the GeoCore library.

#include "BString.h"
#include "GeoCore.h"
#include "DataType.h"
#include "BPoint.h"
#include "BException.h"
#include "PropertyNames.h"
#include "BLogger.h"

Namespaces

namespace  GeoCore

Defines

#define _CRT_SECURE_NO_DEPRECATE   1
#define DEF_SYMBOL_FONT   "Wingdings"

Typedefs

typedef std::pair
< std::string, int > 
buildInfoPair
 Defines a std::pair of std::string and int.
typedef std::vector
< buildInfoPair > 
buildInfoPairVector
 Defines a collection of buildInfoPair objects.

Functions

size_t CalcBufferLen (const wchar_t *pszFormat, va_list args)
 Determines the length of buffer required for the specified formatted string.
size_t CalcBufferLen (const char *pszFormat, va_list args)
 Determines the length of buffer required for the specified formatted string.
int ccw (const BPoint &p0, const BPoint &p1, const BPoint &p2)
double GEOCORE_API Deg2Rad (double a)
 Converts from degrees to radians.
double FixAngle (const double dAngleIn)
 Adjusts an angular value to ensure that it is between 0 and 2 * Pi.
buildInfoPairVector
GEOCORE_API 
GetLibraryBuildInfo ()
 Gets the build numbers for the third-party libraries that are currently in use.
bool IntersectLine (const BPoint &p11, const BPoint &p12, const BPoint &p21, const BPoint &p22)
 Determines whether or not two line segments intersect.
BString GEOCORE_API MakeTempFileName (void)
 Creates a temporary file name in the current directory.
double GEOCORE_API Rad2Deg (double a)
 Converts from radians to degrees.
double GEOCORE_API ReadDoubleFromLittle (double val)
 Read a double in native byte order from a little-endian buffer.
void GEOCORE_API WriteDoubleToLittle (void *pDest, double val)
 Writes a double in the native byte order to a little-endian buffer.

Variables

const Int32 DEF_PAGE_SIZE = 128
 A constant that defines the default page size for a disk cache.
const double PI = 3.1415926535897932384626433832795028841971693993751
 A constant that represents Pi.
const double twoPI = (PI * 2)
 A constant that represents twice the value of Pi.


Define Documentation

#define _CRT_SECURE_NO_DEPRECATE   1

#define DEF_SYMBOL_FONT   "Wingdings"



GeoTranslate 5.0 From Blue Marble Geographics