Package com.luciad.view.vertical
Interface ILcdVVGridCoordinates
public interface ILcdVVGridCoordinates
This class collects the methods that are useful when doing free-form
drawing on the TLcdVVJPanel.
It can be accessed as a read-only property of the
TLcdVVJPanel.-
Method Summary
Modifier and TypeMethodDescriptionintThe Y-coordinate that corresponds with bottom grid line in the view.intgetLeftX()The X-coordinate that corresponds with the left most position.doublegetMaxAltitude(boolean useSubprofiles) Returns the highest altitude in theILcdVVModel.doublegetMinAltitude(boolean useSubprofiles) Returns the lowest altitude in theILcdVVModel.intThe X-coordinate that corresponds with the right most position.intgetTopY()The Y-coordinate that corresponds with the top grid line in the view.intgetXOfMainProfile(int aPointIndex) The X-coordinate for the point of the main-profile.
-
Method Details
-
getBottomY
int getBottomY()The Y-coordinate that corresponds with bottom grid line in the view. -
getTopY
int getTopY()The Y-coordinate that corresponds with the top grid line in the view. -
getLeftX
int getLeftX()The X-coordinate that corresponds with the left most position. -
getRightX
int getRightX()The X-coordinate that corresponds with the right most position. -
getXOfMainProfile
int getXOfMainProfile(int aPointIndex) The X-coordinate for the point of the main-profile. -
getMaxAltitude
double getMaxAltitude(boolean useSubprofiles) Returns the highest altitude in theILcdVVModel. The boolean passed indicates whether sub profiles should be taken into account when computing this value. Note that this value does not need to correspond to the Y value of the top grid line.- Parameters:
useSubprofiles- indicates that the subProfiles need to be taken into account- Returns:
- the highest altitude in the
ILcdVVModel
-
getMinAltitude
double getMinAltitude(boolean useSubprofiles) Returns the lowest altitude in theILcdVVModel. The boolean passed indicates whether sub profiles should be taken into account when computing this value. Note that this value does not need to correspond to the Y value of the bottom grid line.- Returns:
- the lowest altitude in the
ILcdVVModel
-