Lines Matching refs:Point
250 Point sa = convertToDistanceFromOrigin(a); in distance()
251 Point sb = convertToDistanceFromOrigin(b); in distance()
252 Point sp = convertToDistanceFromOrigin(latLng); in distance()
270 private Point convertToDistanceFromOrigin(LatLng latLng) { in convertToDistanceFromOrigin()
293 public static Point convertToDistanceFromOrigin(@NonNull final LatLng origin, in convertToDistanceFromOrigin()
300 return new Point(x, y); in convertToDistanceFromOrigin()
307 public static class Point { class in CbGeoUtils
323 public Point(double x, double y) { in Point() method in CbGeoUtils.Point
333 public Point subtract(Point p) { in subtract()
334 return new Point(x - p.x, y - p.y); in subtract()
342 public double distance(Point pt) { in distance()
350 Point point = (Point) o; in equals()
373 @NonNull final Point mPtA;
374 @NonNull final Point mPtB;
376 public LineSegment(@NonNull final Point ptA, @NonNull final Point ptB) { in LineSegment()
391 public double distance(Point pt) { in distance()
397 Point sub1 = pt.subtract(mPtA); in distance()
398 Point sub2 = mPtB.subtract(mPtA); in distance()
414 final Point proj = new Point(projX, projY); in distance()