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 Link icon

    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 Link icon

    • getBottomY Link icon

      int getBottomY()
      The Y-coordinate that corresponds with bottom grid line in the view.
    • getTopY Link icon

      int getTopY()
      The Y-coordinate that corresponds with the top grid line in the view.
    • getLeftX Link icon

      int getLeftX()
      The X-coordinate that corresponds with the left most position.
    • getRightX Link icon

      int getRightX()
      The X-coordinate that corresponds with the right most position.
    • getXOfMainProfile Link icon

      int getXOfMainProfile(int aPointIndex)
      The X-coordinate for the point of the main-profile.
    • getMaxAltitude Link icon

      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 Link icon

      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