| Package | Description |
|---|---|
| com.esri.core.geometry |
| Modifier and Type | Method and Description |
|---|---|
static Point2D |
Point2D.construct(double x,
double y) |
Point2D |
Envelope2D.getCenter()
Gets the center point of the envelope.
|
Point2D[] |
MultiVertexGeometry.getCoordinates2D()
Returns XY coordinates as an array.
|
Point2D |
Envelope2D.getLowerLeft() |
Point2D |
Envelope2D.getLowerRight() |
Point2D |
Envelope2D.getUpperLeft() |
Point2D |
Envelope2D.getUpperRight() |
Point2D |
Point.getXY()
Returns XY coordinates of this point.
|
Point2D |
MultiPath.getXY(int index) |
abstract Point2D |
MultiVertexGeometry.getXY(int index)
Returns XY coordinates of the given vertex of the Geometry.
|
Point2D |
MultiPoint.getXY(int index) |
Point2D |
Envelope2D.queryCorner(int index)
Queries a corner of the envelope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Point2D.add(Point2D other) |
void |
Point2D.add(Point2D p1,
Point2D p2) |
int |
Envelope2D.clipLine(Point2D p1,
Point2D p2) |
int |
Point2D.compare(Point2D other)
Compares two vertices lexicographicaly.
|
static int |
Point2D.compareVectors(Point2D v1,
Point2D v2)
Assume vector v1 and v2 have same origin.
|
boolean |
Envelope2D.contains(Point2D p) |
boolean |
Envelope2D.containsExclusive(Point2D pt)
Returns True if the envelope contains the point (boundary exclusive).
|
double |
Point2D.crossProduct(Point2D other) |
double |
Envelope2D.distance(Point2D pt2D)
Calculates minimum distance from this envelope to the point.
|
static double |
Point2D.distance(Point2D pt1,
Point2D pt2) |
double |
Point2D.dotProduct(Point2D other) |
boolean |
Point2D.equals(Point2D other) |
void |
MultiPath.getXY(int index,
Point2D pt) |
abstract void |
MultiVertexGeometry.getXY(int index,
Point2D pt) |
void |
MultiPoint.getXY(int index,
Point2D pt) |
void |
Point.getXY(Point2D pt)
Returns XY coordinates of this point.
|
void |
Point2D.interpolate(Point2D other,
double alpha) |
void |
Point2D.interpolate(Point2D p1,
Point2D p2,
double alpha) |
boolean |
Point2D.isEqual(Point2D other) |
boolean |
Point2D.isEqual(Point2D other,
double tol) |
boolean |
Envelope2D.isPointOnBoundary(Point2D pt,
double tolerance) |
void |
Point2D.leftPerpendicular(Point2D pt)
90 degree rotation, anticlockwise.
|
void |
Envelope2D.merge(Point2D pt) |
void |
Point2D.negate(Point2D other) |
void |
Point2D.normalize(Point2D other) |
static int |
Point2D.orientationRobust(Point2D p,
Point2D q,
Point2D r)
Calculates the orientation of the triangle formed by p->q->r.
|
void |
Envelope2D.queryCenter(Point2D center) |
void |
MultiPath.queryCoordinates(Point2D[] dst) |
abstract void |
MultiVertexGeometry.queryCoordinates(Point2D[] dst)
Queries XY coordinates as an array.
|
void |
MultiPoint.queryCoordinates(Point2D[] dst) |
void |
MultiPath.queryCoordinates(Point2D[] dst,
int dstSize,
int beginIndex,
int endIndex) |
void |
Envelope2D.queryCorners(Point2D[] corners)
Queries corners into a given array.
|
void |
Envelope2D.queryCornersReversed(Point2D[] corners)
Queries corners into a given array in reversed order.
|
void |
Envelope2D.queryLowerLeft(Point2D pt) |
void |
Envelope2D.queryLowerRight(Point2D pt) |
void |
Envelope2D.queryUpperLeft(Point2D pt) |
void |
Envelope2D.queryUpperRight(Point2D pt) |
void |
Point2D.rightPerpendicular(Point2D pt)
270 degree rotation, anticlockwise.
|
void |
Transformation2D.rotate(double cos,
double sin,
Point2D rotationCenter)
Rotates the transformation aroung a center point.
|
void |
Point2D.scale(double f,
Point2D other) |
void |
Point2D.scaleAdd(double f,
Point2D shift) |
void |
Point2D.scaleAdd(double f,
Point2D other,
Point2D shift) |
void |
Envelope2D.setCoords(Point2D pt) |
void |
Point2D.setCoords(Point2D other) |
void |
Envelope2D.setCoords(Point2D center,
double width,
double height) |
void |
Envelope2D.setFromPoints(Point2D[] points)
Sets the envelope from the array of points.
|
void |
Envelope2D.setFromPoints(Point2D[] points,
int count) |
void |
MultiPath.setXY(int index,
Point2D pt) |
abstract void |
MultiVertexGeometry.setXY(int index,
Point2D pt)
Sets XY coordinates of the given vertex of the Geometry.
|
void |
MultiPoint.setXY(int index,
Point2D pt) |
void |
Point.setXY(Point2D pt)
Sets the XY coordinates of this point.
|
double |
Envelope2D.sqrDistance(Point2D pt2D)
Calculates minimum squared distance from this envelope to the point.
|
static double |
Point2D.sqrDistance(Point2D pt1,
Point2D pt2) |
void |
Point2D.sub(Point2D other) |
void |
Point2D.sub(Point2D p1,
Point2D p2) |
| Constructor and Description |
|---|
Point(Point2D pt) |
Copyright © 2015. All Rights Reserved.