You are calling default "toString()" method of "Point" class in your toString() method.
return "Vertex A is " + vertexA.toString();
If you want your own format, you must not use the toString() of Point class. You can simply format it whatever way you want. i.e. vertexA.x for "x" value.
Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239