GL Studio C++ Runtime API
GlsMapSymbologyBasicPath Class Reference

Basic path data storage that may be used with the GlsMapSymbologyBasicDataSource class. More...

#include <gls_map_symbology_basic_data_source.h>

Inheritance diagram for GlsMapSymbologyBasicPath:
GlsMapSymbologyStdPath

Public Member Functions

void SetPointCount (unsigned int value)
 
unsigned int GetPointCount ()
 
void SetPointLocation (int point, const GeoCoord &location)
 
const GeoCoordGetPointLocation (int point)
 
void SetType (int value)
 
int GetType ()
 Get the path type (geometry index)
 
const GeoRectGetBoundingRect ()
 return the bounding rectangle for the given path
 

Detailed Description

Basic path data storage that may be used with the GlsMapSymbologyBasicDataSource class.

Member Function Documentation

unsigned int GetPointCount ( )
inline
Returns
the number of points in the path
const GeoCoord& GetPointLocation ( int  point)
inline
Returns
the location of the given point
void SetPointCount ( unsigned int  value)
inline

Set the number of points in the path. Point locations will be uninitialized.

void SetPointLocation ( int  point,
const GeoCoord location 
)
inline

Set the location of a given point If the point does not exist, the point count will be increased to point+1. Any other new points allocated as a result of the increased count will be uninitialized.

void SetType ( int  value)
inline

Set the path type (geometry index) Set to -1 to use the default path appearance.


The documentation for this class was generated from the following file: