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