Uses of Class
com.esri.core.geometry.Point2D
Packages that use Point2D
-
Uses of Point2D in com.esri.core.geometry
Methods in com.esri.core.geometry that return Point2DModifier and TypeMethodDescriptionstatic Point2DPoint2D.construct(double x, double y) abstract Point2DOperatorCentroid2D.execute(Geometry geometry, ProgressTracker progressTracker) OperatorCentroid2DLocal.execute(Geometry geometry, ProgressTracker progressTracker) Envelope2D.getCenter()Gets the center point of the envelope.Envelope.getCenter2D()Gets the center point of the envelope.Envelope.getCenterXY()The x and y-coordinates of the center of the envelope.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.Segment.getEndXY()Returns XY coordinates of the end point.Envelope2D.getLowerLeft()Envelope2D.getLowerRight()Segment.getStartXY()Returns XY coordinates of the start point.Envelope2D.getUpperLeft()Envelope2D.getUpperRight()MultiPath.getXY(int index) MultiPoint.getXY(int index) abstract Point2DMultiVertexGeometry.getXY(int index) Returns XY coordinates of the given vertex of the Geometry.final Point2DPoint.getXY()Returns XY coordinates of this point.Envelope2D.queryCorner(int index) Queries a corner of the envelope.Methods in com.esri.core.geometry with parameters of type Point2DModifier and TypeMethodDescriptionvoidAdds a point with the specified X, Y coordinates to this multipoint.voidvoidintintCompares two vertices lexicographically by y.static intPoint2D.compareVectors(Point2D v1, Point2D v2) Assume vector v1 and v2 have same origin.booleanbooleanEnvelope2D.containsExclusive(Point2D pt) Returns True if the envelope contains the point (boundary exclusive).doublePoint2D.crossProduct(Point2D other) doubleCalculates minimum distance from this envelope to the point.static doubledoublePoint2D.dotProduct(Point2D other) booleandoubleLine.getClosestCoordinate(Point2D inputPt, boolean bExtrapolate) abstract doubleSegment.getClosestCoordinate(Point2D inputPoint, boolean bExtrapolate) Finds a closest coordinate on this segment.voidLine.getCoord2D(double t, Point2D pt) abstract voidSegment.getCoord2D(double t, Point2D dst) Returns the coordinate of the point on this segment for the given parameter value (segments are parametric curves).voidvoidSegment.getStartXY(Point2D pt) voidvoidabstract voidfinal voidReturns XY coordinates of this point.voidPoint2D.interpolate(Point2D other, double alpha) voidPoint2D.interpolate(Point2D p1, Point2D p2, double alpha) booleanbooleanbooleanLine.isIntersecting(Point2D pt, double tolerance) Returns True if point and the segment intersect (not disjoint) for the given tolerance.booleanSegment.isIntersecting(Point2D pt, double tolerance) Returns TRUE if the point and segment intersect (not disjoint) for the given tolerance.booleanEnvelope2D.isPointOnBoundary(Point2D pt, double tolerance) voidPoint2D.leftPerpendicular(Point2D pt) 90 degree rotation, anticlockwise.voidvoidvoidvoidstatic intPoint2D.orientationRobust(Point2D p, Point2D q, Point2D r) Calculates the orientation of the triangle formed by p, q, r.voidEnvelope2D.queryCenter(Point2D center) voidEnvelope.queryCoordinates(Point2D[] dst) voidMultiPath.queryCoordinates(Point2D[] dst) voidMultiPath.queryCoordinates(Point2D[] dst, int dstSize, int beginIndex, int endIndex) voidMultiPoint.queryCoordinates(Point2D[] dst) abstract voidMultiVertexGeometry.queryCoordinates(Point2D[] dst) Queries XY coordinates as an array.voidEnvelope.queryCorner(int index, Point2D ptDst) voidEnvelope2D.queryCorners(Point2D[] corners) Queries corners into a given array.voidEnvelope2D.queryCornersReversed(Point2D[] corners) Queries corners into a given array in reversed order.voidEnvelope2D.queryLowerLeft(Point2D pt) voidEnvelope2D.queryLowerRight(Point2D pt) voidEnvelope2D.queryUpperLeft(Point2D pt) voidEnvelope2D.queryUpperRight(Point2D pt) voidPoint2D.rightPerpendicular(Point2D pt) 270 degree rotation, anticlockwise.voidRotates the transformation aroung a center point.voidvoidCalculates this = this * f + shiftvoidCalculates this = other * f + shiftvoidvoidvoidvoidSets the XY coordinates of the end point.voidEnvelope2D.setFromPoints(Point2D[] points) Sets the envelope from the array of points.voidEnvelope2D.setFromPoints(Point2D[] points, int count) voidSegment.setStartXY(Point2D pt) Sets the XY coordinates of the start point.voidvoidabstract voidSets XY coordinates of the given vertex of the Geometry.final voidSets the XY coordinates of this point. param pt The point to create the X and Y coordinate from.doubleEnvelope2D.sqrDistance(Point2D pt2D) Calculates minimum squared distance from this envelope to the point.static doublePoint2D.sqrDistance(Point2D pt1, Point2D pt2) voidvoidConstructors in com.esri.core.geometry with parameters of type Point2D