public static void main(String args[]) {

		System.out.println("Exercise methods in Edge class");
		System.out.println("==============================");

		// Create "Edge 1" .....
		Edge eA = new Edge();
		eA.node1 = new Node("Point 1", 0.0, 0.0);
		eA.node2 = new Node("Point 2", 5.0, 0.0);
		eA.edgeName = "Edge 1";

		// Create "Edge 2" and "Edge 3" ....
		Node node3 = new Node("Point 3", 5.0, 5.0);
		Edge eB = new Edge("Edge 2", eA.node2, node3);
		Edge eC = new Edge("Edge 3", node3, eA.node1);

		// Create details of edges ....
		System.out.println(eA.toString());
		System.out.println(eB.toString());
		System.out.println(eC.toString());

		// Compute and print lengths of each edge ....
		System.out.println("Length (" + eA.edgeName + ") = " + eA.length());
		System.out.println("Length (" + eB.edgeName + ") = " + eB.length());
		System.out.println("Length (" + eC.edgeName + ") = " + eC.length());

	}