Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPoint
Provides most of the implementation of
IPoint , obtaining only the location from the
derived class. |
class |
Point
Represents a point on a plane.
|
Modifier and Type | Field and Description |
---|---|
static IPoint |
Points.ZERO
The point at the origin.
|
Modifier and Type | Method and Description |
---|---|
static Point |
Rectangles.closestInteriorPoint(IRectangle r,
IPoint p)
Computes and returns the point inside the bounds of the rectangle that's closest to the
given point.
|
static Point |
Rectangles.closestInteriorPoint(IRectangle r,
IPoint p,
Point out)
Computes the point inside the bounds of the rectangle that's closest to the given point,
writing the result into
out . |
static boolean |
Points.epsilonEquals(IPoint p1,
IPoint p2)
Returns true if the supplied points' x and y components are equal to one another within
MathUtil.EPSILON . |
static boolean |
Points.epsilonEquals(IPoint p1,
IPoint p2,
double epsilon)
Returns true if the supplied points' x and y components are equal to one another within
epsilon . |
Point |
Transform.inverseTransform(IPoint p,
Point into)
Inverse transforms the supplied point, writing the result into
into . |
Point |
IdentityTransform.inverseTransform(IPoint p,
Point into) |
Point |
AffineTransform.inverseTransform(IPoint p,
Point into) |
static double |
Rectangles.pointRectDistance(IRectangle r,
IPoint p)
Returns the Euclidean distance between the given point and the nearest point inside the
bounds of the given rectangle.
|
static double |
Rectangles.pointRectDistanceSq(IRectangle r,
IPoint p)
Returns the squared Euclidean distance between the given point and the nearest point inside
the bounds of the given rectangle.
|
void |
Transform.transform(IPoint[] src,
int srcOff,
Point[] dst,
int dstOff,
int count)
Transforms the supplied points.
|
void |
IdentityTransform.transform(IPoint[] src,
int srcOff,
Point[] dst,
int dstOff,
int count) |
void |
AffineTransform.transform(IPoint[] src,
int srcOff,
Point[] dst,
int dstOff,
int count) |
Point |
Transform.transform(IPoint p,
Point into)
Transforms the supplied point, writing the result into
into . |
Point |
IdentityTransform.transform(IPoint p,
Point into) |
Point |
AffineTransform.transform(IPoint p,
Point into) |
Copyright © 2017. All rights reserved.