public interface ILspScaleLevelProvider
This interface provides a method to retrieve scale levels for a point in the view.
This interface is used by TLspZoomController
and is used to snap
to the provided scale levels when using ctrl-zoom.
ALspViewXYZWorldTransformation.getScale()
Modifier and Type | Interface and Description |
---|---|
static class |
ILspScaleLevelProvider.ScaleLevel
A scale level object.
|
Modifier and Type | Method and Description |
---|---|
ILspScaleLevelProvider.ScaleLevel[] |
getScaleLevels(int aX,
int aY,
ILspView aView)
Returns the scale levels for the given view point.
|
ILspScaleLevelProvider.ScaleLevel[] getScaleLevels(int aX, int aY, ILspView aView)
Returns the scale levels for the given view point. The scales should be in order, from smallest to largest. The scale levels can be based on the given view coordinate, for example the ideal scales for a raster under this view position.
aX
- an x view coordinateaY
- an y view coordinateaView
- the view