WorldWind上风羽线的显示
按照http://baike.baidu.com/view/1293176.htm上的说明,定义了各级风矢量的图标,最后显示绘制在WorldWind上,供参考。
//d="M2 35 L2 5"
static float[][] lev1 = {{0, 0},{0, -30}};
//d="M2 35 L2 5 M2 8 L7 6"
static float[][] lev2 = {{0, 0},{0, -30},{0,-27},{-7,-29}};
//d="M2 35 L2 6 L12 1 "
static float[][] lev3t4 = {{0, 0},{0, -29},{0,-29},{-10,-34}};
// d="M2 35 L2 6 L12 1 M2 10 L8 7"
static float[][] lev5t6 = {{0, 0},{0, -29},{0,-29},{-10,-34}, {0,-25},{-6,-28}};
//d="M2 35 L2 6 L12 1 M2 10 L12 5"
static float[][] lev7t8 = {{0, 0},{0, -29},{0,-29},{-10,-34}, {0,-25},{-10,-30}};
//d="M2 35 L2 6 L12 1 M2 10 L12 5 M2 14 L8 11"
static float[][] lev9t10 = {{0, 0},{0, -29},{0,-29},{-10,-34}, {0,-25},{-10,-30},{0,-21},{-6,-24}};
//d="M2 35 L2 6 L12 1 M2 10 L12 5 M2 14 L12 9"
static float[][] lev11t12 = {{0, 0},{0, -29},{0,-29},{-10,-34}, {0,-25},{-10,-30},{0,-21},{-10,-26}};
// d="M2 35 L2 6 L12 1 M2 10 L12 5 M2 14 L12 9 M2 18 L8 15"
static float[][] lev13t14 = {{0, 0},{0, -29},{0,-29},{-10,-34}, {0,-25},{-10,-30},{0,-21},{-10,-26},{0, -17}, {-6, -20}};
//d="M2 35
// L2 6 L12 1
// M2 10 L12 5
// M2 14 L12 9
// M2 18 L12 13"
static float[][] lev15t16 = {
{0, 0},{0, -29},
{0,-29},{-10,-34},
{0,-25},{-10,-30},
{0,-21},{-10,-26},
{0, -17}, {-10, -22}};
// d="M2 35
// L2 6 L12 1
// M2 10 L12 5
// M2 14 L12 9
// M2 18 L12 13
// M2 22 L8 19"
static float[][] lev17t18 = {
{0, 0},{0, -29},
{0,-29},{-10,-34},
{0,-25},{-10,-30},
{0,-21},{-10,-26},
{0, -17}, {-10, -22},
{0, -13},{-6, -16}};
// d="M2 35
// L2 6 L12 7
// M2 12 L12 7"
static float[][] lev19t20 = {
{0, 0},{0, -29},
{0,-29},{-10,-28},
{0,-25},{-10,-28}};
// d="M2 35
// L2 6 L12 7
// M2 12 L12 7
// M2 16 L8 13"
static float[][] lev21t22 = {
{0, 0},{0, -29},
{0,-29},{-10,-28},
{0,-25},{-10,-28},
{0,-19},{-6,-22}};
上个图吧。