public class GeomPoint extends Point
Point2D.Double, Point2D.Float
Constructor and Description |
---|
GeomPoint() |
Modifier and Type | Method and Description |
---|---|
GeomPoint |
add(GeomPoint p) |
GeomPoint |
clone() |
static GeomPoint |
getLineIntersection(GeomPoint a1,
GeomPoint a2,
GeomPoint b1,
GeomPoint b2) |
static GeomPoint |
interpolate(GeomPoint p1,
GeomPoint p2,
float f) |
double |
length() |
static double |
linearInterpolation(double a,
double b,
float t)
Interpolate one number
|
void |
normalize(double newLength) |
GeomPoint |
subtract(GeomPoint p) |
String |
toString() |
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.