Package | Description |
---|---|
com.esri.core.geometry |
Modifier and Type | Method and Description |
---|---|
static Point2D |
Point2D.construct(double x,
double y) |
Point2D |
OperatorCentroid2DLocal.execute(Geometry geometry,
ProgressTracker progressTracker) |
abstract Point2D |
OperatorCentroid2D.execute(Geometry geometry,
ProgressTracker progressTracker) |
Point2D |
Envelope2D.getCenter()
Gets the center point of the envelope.
|
Point2D |
Envelope.getCenter2D()
Gets the center point of the envelope.
|
Point2D |
Envelope.getCenterXY()
The x and y-coordinates of the center of the envelope.
|
Point2D |
Segment.getCoord2D(double t)
Returns the coordinate of the point on this segment for the given
parameter value.
|
Point2D[] |
MultiVertexGeometry.getCoordinates2D()
Returns XY coordinates as an array.
|
Point2D |
Segment.getEndXY()
Returns XY coordinates of the end point.
|
Point2D |
Envelope2D.getLowerLeft() |
Point2D |
Envelope2D.getLowerRight() |
Point2D |
Segment.getStartXY()
Returns XY coordinates of the start point.
|
Point2D |
Envelope2D.getUpperLeft() |
Point2D |
Envelope2D.getUpperRight() |
Point2D |
Point.getXY()
Returns XY coordinates of this point.
|
abstract Point2D |
MultiVertexGeometry.getXY(int index)
Returns XY coordinates of the given vertex of the Geometry.
|
Point2D |
MultiPoint.getXY(int index) |
Point2D |
MultiPath.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 |
MultiPoint.add(Point2D pt)
Adds a point with the specified X, Y coordinates to this multipoint.
|
void |
Point2D.add(Point2D p1,
Point2D p2) |
int |
Envelope2D.clipLine(Point2D p1,
Point2D p2) |
int |
Point2D.compare(Point2D other)
Compares two vertices lexicographically by y.
|
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) |
abstract double |
Segment.getClosestCoordinate(Point2D inputPoint,
boolean bExtrapolate)
Finds a closest coordinate on this segment.
|
double |
Line.getClosestCoordinate(Point2D inputPt,
boolean bExtrapolate) |
abstract void |
Segment.getCoord2D(double t,
Point2D dst)
Returns the coordinate of the point on this segment for the given
parameter value (segments are parametric curves).
|
void |
Line.getCoord2D(double t,
Point2D pt) |
void |
Segment.getEndXY(Point2D pt) |
void |
Segment.getStartXY(Point2D pt) |
abstract void |
MultiVertexGeometry.getXY(int index,
Point2D pt) |
void |
MultiPoint.getXY(int index,
Point2D pt) |
void |
MultiPath.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 |
Segment.isIntersecting(Point2D pt,
double tolerance)
Returns TRUE if the point and segment intersect (not disjoint) for the
given tolerance.
|
boolean |
Line.isIntersecting(Point2D pt,
double tolerance)
Returns True if point and the segment intersect (not disjoint) for the
given tolerance.
|
boolean |
Envelope2D.isPointOnBoundary(Point2D pt,
double tolerance) |
void |
Point2D.leftPerpendicular(Point2D pt)
90 degree rotation, anticlockwise.
|
void |
Envelope2D.merge(Point2D pt) |
void |
Envelope.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) |
abstract void |
MultiVertexGeometry.queryCoordinates(Point2D[] dst)
Queries XY coordinates as an array.
|
void |
MultiPoint.queryCoordinates(Point2D[] dst) |
void |
MultiPath.queryCoordinates(Point2D[] dst) |
void |
Envelope.queryCoordinates(Point2D[] dst) |
void |
MultiPath.queryCoordinates(Point2D[] dst,
int dstSize,
int beginIndex,
int endIndex) |
void |
Envelope.queryCorner(int index,
Point2D ptDst) |
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)
Calculates this = this * f + shift
|
void |
Point2D.scaleAdd(double f,
Point2D other,
Point2D shift)
Calculates this = other * f + shift
|
void |
Point2D.setCoords(Point2D other) |
void |
Envelope2D.setCoords(Point2D pt) |
void |
Envelope2D.setCoords(Point2D center,
double width,
double height) |
void |
Segment.setEndXY(Point2D pt)
Sets the XY coordinates of the end point.
|
void |
Envelope2D.setFromPoints(Point2D[] points)
Sets the envelope from the array of points.
|
void |
Envelope2D.setFromPoints(Point2D[] points,
int count) |
void |
Segment.setStartXY(Point2D pt)
Sets the XY coordinates of the start point.
|
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 |
MultiPath.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) |
Point2D(Point2D other) |
Copyright © 2018. All rights reserved.