package MWC.GUI.Shapes.Symbols.Vessels;

import java.util.Vector;

import MWC.GUI.CanvasType;
import MWC.GenericData.WorldLocation;

public class ScaledTAFrigateSym extends ScreenScaledSym
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** initialise, and set the scale factor
	 * 
	 */	
	public ScaledTAFrigateSym()
	{
		super();
		// set the scale
		this.setScaleVal(2);
	}


	protected Vector<double[][]> getCoords()
	{
		Vector<double[][]> hullLines = new Vector<double[][]>();

		// start with the cross-over bits
		hullLines.add(new double[][]
		{
		{ -4, -2 }, { 4, 2 } });

		hullLines.add(new double[][]
		                       		{
		                       		{ -4, 2 }, { 4, -2 } });
		hullLines.add(new double[][]
			                       		{
			                       		{ -4, 2 }, { -4, -2 } });
		hullLines.add(new double[][]
			                       		{
			                       		{ 4, 2 }, { 4, -2 } });

		hullLines.add(new double[][]
			                       		{
			                       		{ -4, 2 }, { 4, -2 } });

		// now the dangly bits
		hullLines.add(new double[][]
			                       		{
			                       		{ -4, 2 }, { 0, 5 } });
		hullLines.add(new double[][]
			                       		{
			                       		{ 4, 2 }, { 0, 5 } });

		// and the tail
		hullLines.add(new double[][]
			                       		{
		{ 0,	5},
		{ -0.8,	5.3},
		{ -1,	6},
		{ -0.8,	6.7},
		{ 0,	7},
		{ 0.8,	7.3},
		{ 1,	8},
		{ 0.8,	8.7},
		{ 0,	9 },
		{ -0.4,	9.1 }
		});
	
		return hullLines;

	}

	/**
	 * getType
	 * 
	 * @return the returned String
	 */
	public String getType()
	{
		return "TA Frigate";
	}

}

@@ -68,77 +68,8 @@
 %0D%0A%0D%0A
-import MWC.GUI.CanvasType;%0D%0Aimport MWC.GenericData.WorldLocation;%0D%0A%0D%0A
 publ
@@ -484,90 +484,12 @@
 the 
-cross-over bits%0D%0A%09%09hullLines.add(new double%5B%5D%5B%5D%0D%0A%09%09%7B%0D%0A%09%09%7B -4, -2 %7D, %7B 4, 2 %7D %7D);%0D%0A
+hull
 %0D%0A%09%09
@@ -585,179 +585,54 @@
 -4, 
-2 %7D, %7B 4, -2 %7D %7D);%0D%0A%09%09hullLines.add(new double%5B%5D%5B%5D%0D%0A%09%09%09                       %09%09%7B%0D%0A%09%09%09                       %09%09%7B -4, 2 %7D, %7B -4, -2 %7D %7D);%0D%0A%09%09hullLines.add(new double%5B%5D%5B%5D%0D%0A%09
+-2 %7D,%0D%0A%09%09                       %09%09%7B -4, 2 %7D,%0D%0A
 %09%09  
@@ -647,37 +647,45 @@
              %09%09%7B
+ 4, -2 %7D,
 %0D%0A%09%09
-%09
                 
@@ -706,90 +706,10 @@
 2 %7D,
- %7B 4, -2 %7D %7D);%0D%0A%0D%0A%09%09hullLines.add(new double%5B%5D%5B%5D%0D%0A%09%09%09                       %09%09%7B%0D%0A%09
+%0D%0A
 %09%09  
@@ -740,24 +740,13 @@
  -4,
- 2 %7D, %7B 4,
  -2 %7D
- 
 %7D);%0D
@@ -765,19 +765,12 @@
 the 
-dangly bits
+keel
 %0D%0A%09%09
@@ -881,121 +881,16 @@
  5 %7D
- %7D);%0D%0A%09%09hullLines.add(new double%5B%5D%5B%5D%0D%0A%09%09%09                       %09%09%7B%0D%0A%09%09%09                       %09%09%7B 4, 2 %7D, %7B 0, 5
+, %7B 4, 2
  %7D %7D
@@ -948,37 +948,8 @@
 %5B%5D%5B%5D
-%0D%0A%09%09%09                       %09
 %09%7B%0D%0A

streamline number of coordinates