Class arraysupport

java.lang.Object
armyc2.c5isr.JavaLineArray.arraysupport

public final class arraysupport extends Object
Class to process the pixel arrays
  • Constructor Details

  • Method Details

    • GetLineArray2

      public static ArrayList<POINT2> GetLineArray2(TGLight tg, ArrayList<POINT2> pts, ArrayList<Shape2> shapes, Rectangle2D clipBounds, IPointConversion converter)
      This is the interface function to CELineArray from clsRenderer2 for non-channel types
      Parameters:
      pts - the client points
      shapes - the symbol ShapeInfo objects
      clipBounds - the rectangular clipping bounds
    • GetInsideOutsideDouble2

      public static int GetInsideOutsideDouble2(POINT2 pt0, POINT2 pt1, POINT2[] pLinePoints, int vblCounter, int index, int lineType)
    • GetZONEPointsDouble2

      protected static int GetZONEPointsDouble2(TGLight tg, POINT2[] pLinePoints, int vblSaveCounter)
      BELT and others
      Parameters:
      pLinePoints -
      vblSaveCounter -
      Returns:
    • GetSquallDouble

      protected static int GetSquallDouble(POINT2[] pLinePoints, double amplitude, int quantity, double length, int numPoints)
    • GetSevereSquall

      protected static int GetSevereSquall(POINT2[] pLinePoints, double length, int numPoints)
    • GetAnchorageDouble

      protected static int GetAnchorageDouble(POINT2[] vbPoints2, double floatDiameter, int numPts)
    • SupplyRouteArrowSide

      public static int SupplyRouteArrowSide(POINT2 pt0, POINT2 pt1)
      Returns which side of the line segment the arrow(s) go on for supply routes
    • getScaledSize

      public static double getScaledSize(double originalSize, double lineWidth, double patternScale)