Class flot

java.lang.Object
armyc2.c5isr.JavaLineArray.flot

public final class flot extends Object
A class for calculating flot ellipses. Some functions use the same array for the client points and the return points. The caller allocates a size large enough to hold the return points.
  • Constructor Details

    • flot

      public flot()
  • Method Details

    • GetAnchorageFlotSegment

      protected static int GetAnchorageFlotSegment(int[] vbPoints, int x1, int y1, int x2, int y2, int segment, double floatDiameter, int[] points, ref<int[]> bFlip, ref<int[]> lDirection, ref<int[]> lLastDirection)
    • GetAnchorageCountDouble

      protected static int GetAnchorageCountDouble(POINT2[] vbPoints, double floatDiameter, int numPts)
    • GetFlotCount2Double

      protected static int GetFlotCount2Double(TGLight tg, POINT2[] vbPoints, int numPts)
    • GetFlot2Double

      protected static int GetFlot2Double(TGLight tg, POINT2[] vbPoints2, int numPts)
    • GetOFYCountDouble

      protected static int GetOFYCountDouble(POINT2[] pLinePoints, double interval, int numPts)
    • GetOccludedPointsDouble

      protected static int GetOccludedPointsDouble(TGLight tg, POINT2[] pLinePoints, int numPts)
    • GetOccludedCountDouble

      protected static int GetOccludedCountDouble(POINT2[] pLinePoints, int numPts)
    • GetFlotDouble

      protected static int GetFlotDouble(POINT2[] vbPoints2, double flotDiameter, int numPts)
      Calculates the points for FLOT, LC
      Parameters:
      vbPoints2 - OUT the clinet points also used for the return points
      numPts -
      Returns:
    • GetFlotCountDouble

      protected static int GetFlotCountDouble(POINT2[] vbPoints, double flotDiameter, int numPts)
      Calculates the number of points required for a flot
      Parameters:
      vbPoints - the clinet points
      numPts - the number of client points
      Returns:
      the number of points required
    • GetOFYPointsDouble

      protected static int GetOFYPointsDouble(TGLight tg, POINT2[] pLinePoints, int numPts)
    • GetSFPointsDouble

      protected static int GetSFPointsDouble(TGLight tg, POINT2[] pLinePoints, int numPts)
    • GetSFCountDouble

      protected static int GetSFCountDouble(POINT2[] pLinePoints, int numPts)