toString method

  1. @override
String toString()
override

Returns a nice string representing the coordinate.

@return {string} In the form (50, 73, 31). @override

Implementation

@override
String toString()
{
  return "(" + this.x.toString() + ", " + this.y.toString() + ", " + this.z.toString() + ")";
}