Add missing doc

This commit is contained in:
Nyall Dawson 2016-08-17 15:34:55 +10:00
parent af0947826b
commit 58ef3c75bb

View File

@ -177,6 +177,15 @@ namespace pal
*/
int createCandidatesAlongLineNearMidpoint( QList<LabelPosition *> &lPos, PointSet *mapShape, double initialCost = 0.0 );
/** Returns the label position for a curved label at a specific offset along a path.
* @param path_positions line path to place label on
* @param path_distances array of distances to each segment on path
* @param orientation can be 0 for automatic calculation of orientation, or -1/+1 for a specific label orientation
* @param index
* @param distance distance to offset label along curve by
* @param flip
* @returns calculated label position
*/
LabelPosition* curvedPlacementAtOffset( PointSet* path_positions, double* path_distances,
int& orientation, int index, double distance, bool& flip );