public class Point<T>
extends java.lang.Object
Constructor and Description |
---|
Point(T x,
T y)
Constructs a 2D point.
|
Point(T x,
T y,
T z)
Constructs a 3D point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasZ()
Reports whether this Point has a third (Z) dimension.
|
java.lang.String |
toString() |
T |
X() |
T |
Y() |
T |
Z() |