Class clsMETOC

java.lang.Object
JavaTacticalRenderer.clsMETOC

public final class clsMETOC extends Object
Class to calculate the points for the Weather symbols
Author:
Michael Deutch
  • Constructor Details

    • clsMETOC

      public clsMETOC()
  • Method Details

    • IsWeather

      public static int IsWeather(String symbolID)
      Parameters:
      symbolID - Mil-Standard 2525 15 character code
      Returns:
      the line type as an integer if it is a weather symbol, else return -1
    • getWeatherLinetype

      public static int getWeatherLinetype(String SymbolSet, String entityCode)
      Rev D METOC symbols
      Parameters:
      SymbolSet -
      entityCode -
      Returns:
    • GetMeTOCShape

      public static void GetMeTOCShape(TGLight tg, ArrayList<Shape2> shapes, int rev)
      The public interface, main function to return METOC shapes
      Parameters:
      tg - the tactical graphic
      shapes - the ShapeInfo array
      rev - the Mil-Standard-2525 revision
    • SetShapeProperties

      protected static void SetShapeProperties(TGLight tg, ArrayList<Shape2> shapes, BufferedImage bi)
      Sets the shape properties based on the tacttical graphic properties and also based on shape styles which may have been set by JavaLineArray
      Parameters:
      tg -
      shapes - shapes array to set properties
      bi - BufferedImage used for hatch fills