Class countsupport

java.lang.Object
armyc2.c5isr.JavaLineArray.countsupport

public final class countsupport extends Object
A class to calculate the number of pixels based points required for a line
  • Constructor Details

  • Method Details

    • GetCountersDouble

      protected static int GetCountersDouble(TGLight tg, int vblCounter, POINT2[] pLinePoints, Rectangle2D clipBounds)
      The main function to return the number of points needed for a symbol
      Parameters:
      vblCounter - the number of client points
      pLinePoints - the client point array
      Returns:
      the number of points required to draw the symbol
    • GetXPointsCount

      protected static int GetXPointsCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter)
    • GetLVOCount

      protected static int GetLVOCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter)
    • GetITDQty

      protected static int GetITDQty(POINT2[] pLinePoints, double length, int vblCounter)
    • GetConvergenceQty

      protected static int GetConvergenceQty(POINT2[] pLinePoints, double length, int vblCounter)
    • GetSquallQty

      protected static int GetSquallQty(POINT2[] pLinePoints, int quantity, double length, int numPoints)
    • GetSquallSegQty

      protected static int GetSquallSegQty(POINT2 StartPt, POINT2 EndPt, int quantity, double length)
    • GetFORTLCountDouble

      protected static int GetFORTLCountDouble(TGLight tg, POINT2[] pLinePoints, int vblCounter)
      returns number of points required for ATWALL, FORT and other symbols
      Parameters:
      pLinePoints - the client points
      vblCounter - the number of client points
      Returns:
    • GetDISMFixCountDouble

      protected static int GetDISMFixCountDouble(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds)
      clipBounds is used because of the glyphs on one segment
      Parameters:
      FirstLinePoint -
      LastLinePoint -
      clipBounds -
      Returns: