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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static intGetConvergenceQty(POINT2[] pLinePoints, double length, int vblCounter) protected static intGetCountersDouble(TGLight tg, int vblCounter, POINT2[] pLinePoints, Rectangle2D clipBounds) The main function to return the number of points needed for a symbolprotected static intGetDISMFixCountDouble(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds) clipBounds is used because of the glyphs on one segmentprotected static intGetFORTLCountDouble(TGLight tg, POINT2[] pLinePoints, int vblCounter) returns number of points required for ATWALL, FORT and other symbolsprotected static intprotected static intGetLVOCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter) protected static intGetSquallQty(POINT2[] pLinePoints, int quantity, double length, int numPoints) protected static intGetSquallSegQty(POINT2 StartPt, POINT2 EndPt, int quantity, double length) protected static intGetXPointsCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter) 
- 
Constructor Details- 
countsupportpublic countsupport()
 
- 
- 
Method Details- 
GetCountersDoubleprotected 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
 
- 
GetXPointsCountprotected static int GetXPointsCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter) 
- 
GetLVOCountprotected static int GetLVOCount(POINT2[] pOriginalLinePoints, double segmentLength, int vblCounter) 
- 
GetITDQty
- 
GetConvergenceQty
- 
GetSquallQty
- 
GetSquallSegQty
- 
GetFORTLCountDoublereturns number of points required for ATWALL, FORT and other symbols- Parameters:
- pLinePoints- the client points
- vblCounter- the number of client points
- Returns:
 
- 
GetDISMFixCountDoubleprotected static int GetDISMFixCountDouble(POINT2 FirstLinePoint, POINT2 LastLinePoint, Rectangle2D clipBounds) clipBounds is used because of the glyphs on one segment- Parameters:
- FirstLinePoint-
- LastLinePoint-
- clipBounds-
- Returns:
 
 
-