GlsMap Toolkit  1.3.1
disti::GlsMapSymbologyBasicPath Class Reference

#include <gls_map_symbology_basic_data_source.h>

+ Inheritance diagram for disti::GlsMapSymbologyBasicPath:

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 ()
 
const GeoRectGetBoundingRect ()
 
void InvalidateBoundingRect ()
 

Protected Member Functions

void CalculateBoundingRect ()
 

Protected Attributes

DynamicArray< GeoCoord, false > _points
 
int _type
 
bool _boundingRectIsValid
 
GeoRect _boundingRect
 

Member Function Documentation

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

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

void disti::GlsMapSymbologyBasicPath::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 disti::GlsMapSymbologyBasicPath::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: