CorePlugins
[ class tree: CorePlugins ] [ index: CorePlugins ] [ all elements ]

Class: RecenterLocationCalculator

Source Location: /coreplugins/location/server/ServerLocation.php

Class Overview

LocationCalculator
   |
   --RecenterLocationCalculator

Location calculator for RecenterLocationRequest


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 380]
Location calculator for RecenterLocationRequest



[ Top ]


Class Variables

$log =

[line 385]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$useDefaultScale =

[line 390]



Tags:

access:  protected

Type:   boolean


[ Top ]



Class Methods


constructor __construct [line 397]

RecenterLocationCalculator __construct( ServerLocation $locationPlugin, RecenterLocationRequest $requ)

Constructor



Tags:

access:  public


Overrides LocationCalculator::__construct() (Constructor)

Parameters:

ServerLocation   $locationPlugin  
RecenterLocationRequest   $requ  

[ Top ]

method addBboxBorders [line 487]

Bbox addBboxBorders( Bbox $bbox)

Adds a border to a bbox

Used to transform zero sized (width or height is zero) bboxes to non zero sized ones.




Tags:

access:  protected


Parameters:

Bbox   $bbox  

[ Top ]

method addMargin [line 469]

Bbox addMargin( Bbox $bbox, double $margin)

Adds a margin to a Bbox



Tags:

access:  protected


Parameters:

Bbox   $bbox  
double   $margin  

[ Top ]

method convertCoords [line 502]

Bbox convertCoords( Bbox $bbox, string $projection)

Converts coordinates when specific projection set for the layer



Tags:

access:  protected


Parameters:

Bbox   $bbox  
string   $projection   : projection string

[ Top ]

method getBbox [line 524]

void getBbox( )



Tags:

access:  public
see:  LocationCalculator::getBbox()


Overrides LocationCalculator::getBbox() (Computes new Bbox)

[ Top ]

method getIdSelectionBbox [line 407]

Bbox getIdSelectionBbox( IdSelection $idSelection)

Performs queries in MapServer ans returns resulting Bbox



Tags:

return:  or NULL on error
access:  protected


Parameters:

IdSelection   $idSelection  

[ Top ]

method getScale [line 557]

void getScale( )



Tags:

access:  public
see:  LocationCalculator::getScale()


Overrides LocationCalculator::getScale() (Computes new scale)

[ Top ]

method mergeBboxes [line 448]

Bbox mergeBboxes( array $bboxes)

Merges Bbox in one large Bbox



Tags:

access:  public


Parameters:

array   $bboxes  

[ Top ]


Documentation generated on Fri, 21 Sep 2007 13:31:03 +0200 by phpDocumentor 1.3.0RC3