public interface XY
Point
and Vector
so that
APIs which require an x/y coordinate, but don't really want to mak the distinction between a
translation vector versus a point in 2D space, can simply accept both.Modifier and Type | Method and Description |
---|---|
double |
x()
The x coordinate.
|
double |
y()
The y coordinate.
|
Copyright © 2017. All rights reserved.