Main Page | Class List | Class Members

OGL_Library::Polygon Class Reference

The class provide ploygon manage. An example would be someone using their GPS-PDA to zoo guiding tour and it would to determine the user's location and provide the animal info from before mine eyes. The "Polygon class" is based on an algorithm which detections Point(GPS geodetic position) in the Polygon(GPS-Area).. More...

List of all members.

Public Member Functions

void DrawPloygonPoint (Bitmap DrawBMP, int L, int T)
void DrawPloygon (Bitmap DrawBMP, int L, int T)
Point[] PolygonAllPoint ()
string PolygonAllPoint_str ()
Boolean CourseInPolygon (Point CourseXY)
void SetPolygonPoint (string spp)


Detailed Description

The class provide ploygon manage. An example would be someone using their GPS-PDA to zoo guiding tour and it would to determine the user's location and provide the animal info from before mine eyes. The "Polygon class" is based on an algorithm which detections Point(GPS geodetic position) in the Polygon(GPS-Area)..


Member Function Documentation

void OGL_Library::Polygon::DrawPloygonPoint Bitmap  DrawBMP,
int  L,
int  T
 

Draw all points of ploygon in Bitmap than can display on the screen.

Parameters:
DrawBMP Bitmap
L left position of device screen
T left position of device screen

void OGL_Library::Polygon::DrawPloygon Bitmap  DrawBMP,
int  L,
int  T
 

Draw all lines of ploygon in Bitmap than can display on the screen.

Parameters:
DrawBMP Bitmap
L left position of device screen
T left position of device screen

Point [] OGL_Library::Polygon::PolygonAllPoint  ) 
 

Get all point of the ploygon.

Returns:
Point[](Point Array)

string OGL_Library::Polygon::PolygonAllPoint_str  ) 
 

Get all point of the ploygon.

Returns:
String(Format => x1,y1;x2,y2;x3,y3)

Boolean OGL_Library::Polygon::CourseInPolygon Point  CourseXY  ) 
 

Detections Point(GPS geodetic position) in the Polygon(GPS-Area)..

Parameters:
CourseXY XY Point type
Returns:
Boolean type

void OGL_Library::Polygon::SetPolygonPoint string  spp  ) 
 

Define all Point(GPS geodetic position) of the Polygon(GPS-Area)..

Parameters:
spp Format => x1,y1;x2,y2;x3,y3


Generated on Tue Mar 9 03:09:45 2004 for OGL_Library by doxygen 1.3.6