public interface Point2D extends Geometry
Modifier and Type | Method and Description |
---|---|
double |
angleTo(Point2D point2D) |
int |
ccw(Point2D _p0,
Point2D _p1) |
Point2D |
centroidOf(List<Point2D> _ptrList) |
Point2D |
copy() |
tr.com.terrayazilim.core.unit.DirectionUnit |
directionTo(Point2D point2D) |
double |
distanceTo(Point2D point2D) |
List<Point2D> |
getBounds() |
double |
getX() |
double |
getY() |
boolean |
isBetween(Point2D _p0,
Point2D _p1) |
boolean |
isBounded() |
boolean |
isCollinearWith(Point2D p0,
Point2D p1) |
Point2D |
scale(double scaleFactor) |
Point2D |
setX(double x) |
Point2D |
setY(double y) |
double[] |
toArray() |
tr.com.terrayazilim.core.math.Vec2d |
toVector() |
Point2D |
translate(double... args) |
tr.com.terrayazilim.core.unit.DirectionUnit directionTo(Point2D point2D)
point2D
- double getX()
double getY()
Point2D setX(double x)
x
- Point2D setY(double y)
y
- double angleTo(Point2D point2D)
point2D
- double distanceTo(Point2D point2D)
point2D
- double[] toArray()
tr.com.terrayazilim.core.math.Vec2d toVector()
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.