Modifier and Type | Method and Description |
---|---|
double |
Point2d.distance(Point2d p1)
Computes the distance between this point and point p1.
|
double |
Point2d.distanceL1(Point2d p1)
Computes the L-1 (Manhattan) distance between this point and
point p1.
|
double |
Point2d.distanceLinf(Point2d p1)
Computes the L-infinite distance between this point and
point p1.
|
double |
Point2d.distanceSquared(Point2d p1)
Computes the square of the distance between this point and point p1.
|
Constructor and Description |
---|
Point2d(Point2d p1)
Constructs and initializes a Point2d from the specified Point2d.
|
Point2f(Point2d p1)
Constructs and initializes a Point2f from the specified Point2d.
|
Copyright © 2023. All rights reserved.