/* Generated By:JJTree: Do not edit this line. ASTtriangle.java */

  public class ASTtriangle extends SimpleNode {
  public ASTtriangle(int id) {
    super(id);
  }

  public ASTtriangle(S p, int id) {
    super(p, id);
  }

  public void getSVG()
  {
      int a = jjtGetChild(0).getParam();
      int b = jjtGetChild(1).getParam();
	int c = jjtGetChild(2).getParam();
      int d = jjtGetChild(3).getParam();
	int e = jjtGetChild(4).getParam();
      int f = jjtGetChild(5).getParam();

         System.out.println("<line x1=\"" + a + "\" y1=\"" + b + "\" x2=\"" + c + "\" y2=\"" + d + "\"/>");
         System.out.println("<line x1=\"" + c + "\" y1=\"" + d + "\" x2=\"" + e + "\" y2=\"" + f + "\"/>");
         System.out.println("<line x1=\"" + e + "\" y1=\"" + f + "\" x2=\"" + a + "\" y2=\"" + b + "\"/>");
  }

}
