Package armyc2.c5isr.JavaLineArray
Class countsupport
java.lang.Object
armyc2.c5isr.JavaLineArray.countsupport
A class to calculate the number of pixels based points required for a line
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static int
GetConvergenceQty
(POINT2[] pLinePoints, double length, int vblCounter) protected static int
GetCountersDouble
(TGLight tg, int vblCounter, POINT2[] pLinePoints, Rectangle2D clipBounds) The main function to return the number of points needed for a symbolprotected static int
GetDISMFixCountDouble
(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds) clipBounds is used because of the glyphs on one segmentprotected static int
GetFORTLCountDouble
(TGLight tg, POINT2[] pLinePoints, int vblCounter) returns number of points required for ATWALL, FORT and other symbolsprotected static int
protected static int
GetLVOCount
(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter) protected static int
GetSquallQty
(POINT2[] pLinePoints, int quantity, double length, int numPoints) protected static int
GetSquallSegQty
(POINT2 StartPt, POINT2 EndPt, int quantity, double length) protected static int
GetXPointsCount
(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter)
-
Constructor Details
-
countsupport
public countsupport()
-
-
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 pointspLinePoints
- 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
-
GetConvergenceQty
-
GetSquallQty
-
GetSquallSegQty
-
GetFORTLCountDouble
returns number of points required for ATWALL, FORT and other symbols- Parameters:
pLinePoints
- the client pointsvblCounter
- 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:
-