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 Type
    Method
    Description
    int
    The Y-coordinate that corresponds with bottom grid line in the view.
    int
    The X-coordinate that corresponds with the left most position.
    double
    getMaxAltitude(boolean useSubprofiles)
    Returns the highest altitude in the ILcdVVModel.
    double
    getMinAltitude(boolean useSubprofiles)
    Returns the lowest altitude in the ILcdVVModel.
    int
    The X-coordinate that corresponds with the right most position.
    int
    The Y-coordinate that corresponds with the top grid line in the view.
    int
    getXOfMainProfile(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 the ILcdVVModel. 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 the ILcdVVModel. 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