001package armyc2.c5isr.renderer.utilities; 002 003/** 004 * Draw Rules for METEOROLOGICAL AND OCEANOGRAPHIC SYMBOLOGY 005* 006 */ 007public class MODrawRules { 008 009 /** 010 * Usually an entry in the MilStd that is just a category containing other symbols 011 * and not something that gets drawn itself. 012 */ 013 public static final int DONOTDRAW = 0; 014 015 /** 016 * Anchor Points: This graphic requires at least three anchor points to 017 * define the boundary of the area. Add as many points as necessary to 018 * accurately reflect the area's size and shape. 019 * Size/Shape: Scalable. 020 * Orientation: Not applicable. 021 */ 022 public static final int AREA1 = 101; 023 024 /** 025 * Anchor Points: This graphic requires at least three anchor points to 026 * define the boundary of the area. Add as many points as necessary to 027 * accurately reflect the area's size and shape. 028 * Size/Shape: Determined by the anchor points. 029 * Orientation: Not applicable. 030 */ 031 public static final int AREA2 = 102; 032 033 034 /** 035 * Anchor Points: This graphic requires one anchor point. The center point 036 * defines the center of the graphic. 037 * Size/Shape: Scalable. 038 * Orientation: The graphic is typically centered over the desired location. 039 */ 040 public static final int POINT1 = 201; 041 042 /** 043 * Anchor Points: This graphic requires one anchor point. The center point 044 * defines the geometric center of the graphic. 045 * Size/Shape: Scalable. 046 * Orientation: The graphic is centered over the anchor location. 047 */ 048 public static final int POINT2 = 202; 049 050 /** 051 * Anchor Points: This graphic requires one anchor point. The center point 052 * defines the center of the graphic. 053 * Size/Shape: Scalable. 054 * Orientation: The graphic is oriented upright on the display and operator-centered over the desired location. 055 */ 056 public static final int POINT3 = 203; 057 058 059 /** 060 * Anchor Points: This graphic requires one anchor point. The center point 061 * defines the center of the graphic. 062 * Size/Shape: Scalable. 063 * Orientation: The graphic is centered over the location of the reported wind. 064 */ 065 public static final int POINT4 = 204; 066 067 068 /** 069 * Anchor Points: This graphic requires a minimum of two anchor points. 070 * The first point defines the location of the plot circle. 071 * Additional points define the wind shaft and the speed of the wind. 072 * Wind speed is depicted on the shaft using a combination of the shaft 073 * alone (1-2 knots), half barbs (5 knots), barbs (10 knots) 074 * and pennants (50 knots). Wind speeds 5 knots or greater are rounded 075 * to the nearest 5 knots. Missing wind speed is depicted by an "X" at 076 * the end of the wind shaft. Winds with missing direction are not displayed. 077 * 078 * Size/Shape: Not applicable. 079 * 080 * Orientation: The shaft of the graphic is oriented with reference to 081 * true north in the direction from which the wind is blowing to the 082 * nearest 10 degrees. The barbs and pennants lie back from the shaft at 083 * an angle of 120 degrees and are oriented to the left of the shaft in 084 * the Northern Hemisphere and to the right in the Southern Hemisphere. 085 * The graphic is operator-centered over the desired location. 086 */ 087 public static final int POINT5 = 205; 088 089 /** 090 * Anchor Points: This graphic requires one anchor point. The center point 091 * defines the center of the graphic. 092 * Size/Shape: Scalable. 093 * Orientation: The graphic is centered over the location of the reported cloud cover. 094 */ 095 public static final int POINT6 = 206; 096 097 /** 098 * Anchor Points: This graphic requires one anchor point. The center point 099 * defines the center of the graphic. 100 * Size/Shape: Scalable. 101 * Orientation: The graphic is centered over the location of the reported conditions. 102 */ 103 public static final int POINT7 = 207; 104 105 /** 106 * Anchor Points: This graphic requires one anchor point. The center point 107 * defines the center of the graphic. 108 * Size/Shape: Scalable. 109 * Orientation: The graphic is centered over the position of the tropical system. 110 */ 111 public static final int POINT8 = 208; 112 113 /** 114 * Anchor Points: This graphic requires at least two anchor points, 115 * points 1 and 2, to define the line. Additional points can be defined 116 * to extend the line. 117 * Size/Shape: Scalable/Curve. The curvature of the line is operator defined. 118 * Orientation: The first and last anchor points determine the length of 119 * the line. 120 */ 121 public static final int LINE1 = 301; 122 123 /** 124 * Anchor Points: This graphic requires at least two anchor points, 125 * points 1 and 2, to define the line. Additional points can be defined to 126 * extend the line. 127 * 128 * Size/Shape: Scalable/Curve. The points are typically connected with a 129 * straight line consisting of a short line section and an alternating 130 * V shape. The curvature and amplitude of the waves of the line is 131 * operator defined. 132 * 133 * Orientation: The first and last anchor points determine the length of 134 * the line. The line should be drawn so the "V" shapes are facing in 135 * the direction of movement. The "V" shapes and short line segment will 136 * alternate along the line. 137 */ 138 public static final int LINE2 = 302; 139 140 /** 141 * Anchor Points: This graphic requires at least two anchor points, 142 * points 1 and 2, to define the line. Additional points can be defined to 143 * extend the line. 144 * 145 * Size/Shape: Scalable/Curve. The points are typically connected with a 146 * straight line consisting of a short line section and alternating two 147 * dots. The curvature and amplitude of the waves of the line is 148 * operator defined. 149 * 150 * Orientation: The first and last anchor points determine the length of the line. The two dots and the short line segment will alternate along the line. 151 */ 152 public static final int LINE3 = 303; 153 154 /** 155 * Anchor Points: This graphic requires at least two anchor points, 156 * points 1 and 2, to define the line. Additional points can be defined to 157 * extend the line. 158 * 159 * Size/Shape: Scalable/Curve. The points are typically connected with a 160 * curved/wavy line consisting of a short line and one dot. The curvature 161 * and amplitude of the waves of the line is operator defined. 162 * 163 * Orientation: The first and last anchor points determine the length of 164 * the line. The dot and the short line segment will alternate along 165 * the line. 166 */ 167 public static final int LINE4 = 304; 168 169 /** 170 * Anchor Points: This graphic requires at least three anchor points to 171 * define the boundary of the area. Add as many points as necessary to 172 * accurately reflect the area's size and shape. 173 * 174 * Size/Shape: Determined by the anchor points. 175 * 176 * Orientation: The first and last anchor points determine the length of 177 * the line. The dual line segments will be parallel to slightly wider at 178 * the western end. 179 */ 180 public static final int LINE5 = 305; 181 182 /** 183 * Anchor Points: This graphic requires at least two anchor points, 184 * points 1 and 2, to define the line. Additional points can be defined to 185 * extend the line. 186 * Size/Shape: Scalable/Curve. The points are typically connected with a 187 * solid straight line with alternating slanted lines connected as depicted 188 * in the example to indicate convergence. 189 * Orientation: The first and last anchor points determine the length of 190 * the line. The alternating slanted lines will be evenly spaced along 191 * the line. Orientation is determined by the anchor points. 192 */ 193 public static final int LINE6 = 306; 194 195 /** 196 * Anchor Points: This graphic requires at least two anchor points, 197 * points 1 and 2, to define the line. Additional points can be defined to 198 * extend the line. 199 * 200 * Size/Shape: Scalable/Curve. The points are typically connected with a 201 * dashed straight or curved line. The curvature of the line is operator 202 * defined. 203 * 204 * Orientation: The first and last anchor points determine the length of 205 * the line. The red and green line segments will alternate along the line. 206 * Orientation is determined by the anchor points. 207 */ 208 public static final int LINE7 = 307; 209 210 /** 211 * Anchor Points: This graphic requires at least two anchor points, 212 * points 1 and 2, to define the line. Additional points can be defined to 213 * extend the line. 214 * Size/Shape: Scalable. 215 * Orientation: The graphic is oriented upright on the display as shown in 216 * the example and operator-centered over the desired location. 217 */ 218 public static final int LINE8 = 308; 219 220 221}