Package armyc2.c5isr.RenderMultipoints
Class clsUtility
java.lang.Object
armyc2.c5isr.RenderMultipoints.clsUtility
Server general utility class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addHatchFills
(TGLight tg, ArrayList<ShapeInfo> shapes) Adds hatch fill to shapes via PatternFillRendererD.MakeHatchPatternFill() or buildHatchFill()protected static boolean
Deprecated.protected static Shape2
buildHatchArea
(TGLight tg, ShapeInfo shape, int hatchStyle, double spacing) Build Hatch fill.protected static void
FilterAXADPoints
(TGLight tg, IPointConversion converter) protected static void
FilterPoints
(TGLight tg) Deprecated.protected static Rectangle2D
LatLongToPixels
(ArrayList<POINT2> pts, IPointConversion converter) PixelsToLatLong
(ArrayList<POINT2> pts, IPointConversion converter) protected static POINT2
Point2DToPOINT2
(Point2D pt2d) protected static Point
POINT2ToPoint
(POINT2 pt2) protected static Point2D.Double
POINT2ToPoint2D
(POINT2 pt2) protected static POINT2
PointPixelsToLatLong
(POINT2 ptPixels, IPointConversion converter) Points2DToPOINT2
(ArrayList<Point2D> pts2d) protected static POINT2
PointToPOINT2
(Point pt) protected static void
-
Field Details
-
Hatch_ForwardDiagonal
- See Also:
-
Hatch_BackwardDiagonal
- See Also:
-
Hatch_Vertical
- See Also:
-
Hatch_Horizontal
- See Also:
-
Hatch_Cross
- See Also:
-
-
Constructor Details
-
clsUtility
public clsUtility()
-
-
Method Details
-
addHatchFills
Adds hatch fill to shapes via PatternFillRendererD.MakeHatchPatternFill() or buildHatchFill()- Parameters:
tg
-shapes
-
-
buildHatchArea
Build Hatch fill. Does not use texture paint or shader.- Parameters:
tg
-shape
-hatchStyle
-- Returns:
-
POINT2ToPoint
-
PointToPOINT2
-
POINT2ToPoint2D
-
Points2DToPOINT2
-
Point2DToPOINT2
-
addModifiersBeforeClipping
Deprecated.- Parameters:
tg
-- Returns:
-
FilterPoints
Deprecated. -
PixelsToLatLong
-
LatLongToPixels
protected static ArrayList<POINT2> LatLongToPixels(ArrayList<POINT2> pts, IPointConversion converter) -
FilterAXADPoints
-
RemoveDuplicatePoints
- Parameters:
tg
-
-
PointPixelsToLatLong
-
getMBR
-