QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Classes | Typedefs | Enumerations | Functions
pal Namespace Reference

Classes

struct  _chain
 
struct  _cHullBox
 
struct  _elementary_transformation
 
struct  _subpart
 
class  CostCalculator
 
class  Feats
 For usage in problem solving algorithm. More...
 
class  FeaturePart
 Main class to handle feature. More...
 
class  GeomFunction
 
class  InternalException
 Various Exceptions. More...
 
class  LabelInfo
 Optional additional info about label (for curved labels) More...
 
class  LabelPosition
 LabelPosition is a candidate feature label position. More...
 
class  Layer
 A set of features which influence the labelling process. More...
 
class  Pal
 Main Pal labelling class. More...
 
class  PalException
 Various Exceptions. More...
 
class  PalStat
 Summary statistics of labelling problem. More...
 
struct  Point
 
class  PointSet
 
class  PolygonCostCalculator
 Data structure to compute polygon's candidates costs. More...
 
class  PriorityQueue
 
class  Problem
 Representation of a labeling problem. More...
 
class  Sol
 
class  Util
 

Typedefs

typedef struct pal::_chain Chain
 
typedef struct pal::_cHullBox CHullBox
 
typedef struct pal::_elementary_transformation ElemTrans
 
typedef struct pal::_subpart SubPart
 

Enumerations

enum  LineArrangementFlag { FLAG_ON_LINE = 1, FLAG_ABOVE_LINE = 2, FLAG_BELOW_LINE = 4, FLAG_MAP_ORIENTATION = 8 }
 Enumeration line arrangement flags. More...
 
enum  SearchMethod {
  CHAIN = 0, POPMUSIC_TABU_CHAIN = 1, POPMUSIC_TABU = 2, POPMUSIC_CHAIN = 3,
  FALP = 4
}
 Search method to use. More...
 

Functions

GEOSContextHandle_t geosContext ()
 Get GEOS context handle to be used in all GEOS library calls with reentrant API. More...
 

Typedef Documentation

◆ Chain

typedef struct pal::_chain pal::Chain

◆ CHullBox

typedef struct pal::_cHullBox pal::CHullBox

◆ ElemTrans

◆ SubPart

typedef struct pal::_subpart pal::SubPart

Enumeration Type Documentation

◆ LineArrangementFlag

Enumeration line arrangement flags.

Flags can be combined.

Enumerator
FLAG_ON_LINE 
FLAG_ABOVE_LINE 
FLAG_BELOW_LINE 
FLAG_MAP_ORIENTATION 

Definition at line 67 of file pal.h.

◆ SearchMethod

Search method to use.

Enumerator
CHAIN 

is the worst but fastest method

POPMUSIC_TABU_CHAIN 

is the best but slowest

POPMUSIC_TABU 

is a little bit better than CHAIN but slower

POPMUSIC_CHAIN 

is slower and best than TABU, worse and faster than TABU_CHAIN

FALP 

Definition at line 57 of file pal.h.

Function Documentation

◆ geosContext()

GEOSContextHandle_t pal::geosContext ( )

Get GEOS context handle to be used in all GEOS library calls with reentrant API.

Definition at line 48 of file pal.cpp.