Inherits from NSObject
Declared in PARPoiFactory.h

Overview

@class PARPoiFactory @abstract provides methods to create POI objects for testing purposes

Tasks

Class Methods

createAroundUser:

create number of pois around user (random distances and directions)

+ (void)createAroundUser:(int)count

Parameters

count

number of pois to create

Discussion

create number of pois around user (random distances and directions)

Declared In

PARPoiFactory.h

createAroundUser:andOffsetAngle:atDistance:

create parameterized circle of pois around the user

+ (void)createAroundUser:(double)angleBetweenLabels andOffsetAngle:(double)angleOffset atDistance:(double)distance

Parameters

angleBetweenLabels

angle between single pois

angleOffset

offset of origin (default = 0)

distance

distance of row of pois

Discussion

create parameterized circle of pois around the user

Declared In

PARPoiFactory.h

createAroundUser:atDistanceIntervals:inRows:

create parameterized circle of pois around the user

+ (void)createAroundUser:(double)angleBetweenLabels atDistanceIntervals:(double)distanceInterval inRows:(int)numberOfRows

Parameters

angleBetweenLabels

angle between single pois

distanceInterval

distance between rows of pois

numberOfRows

number of rows of pois to be created

Discussion

create parameterized circle of pois around the user

Declared In

PARPoiFactory.h

createAtHeading:withDistance:

create one poi in the specified direction at the specified distance (center coordinate is user’s coordinate)

+ (void)createAtHeading:(float)theHeading withDistance:(float)theDistance

Parameters

theHeading

the direction

theDistance

the distance

Discussion

create one poi in the specified direction at the specified distance (center coordinate is user’s coordinate)

Declared In

PARPoiFactory.h

createRandom:

just create number of random labels around user

+ (void)createRandom:(int)count

Parameters

count

number of labels to create

Discussion

just create number of random labels around user

Declared In

PARPoiFactory.h

setPoiClass:

@brief set the @ref Class of the object type that should be created

+ (void)setPoiClass:(Class)poiClass

Parameters

poiClass

e.g. PARPoiLabel class

Discussion

@brief set the @ref Class of the object type that should be created

Declared In

PARPoiFactory.h