public final class Point2f extends Object implements Serializable
We consider a point to be a tuple representing a single physical point in space.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
scale(double factor)
Multiplies each dimension's component by a factor.
|
String |
toString() |
float |
x()
X-axis component of point.
|
float |
y()
Y-axis component of point.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.