Uses of Class
org.locationtech.jts.geom.Coordinate
-
-
Uses of Coordinate in org.elasticsearch.common.geo.builders
Fields in org.elasticsearch.common.geo.builders declared as Coordinate Modifier and Type Field Description static CoordinateShapeBuilder.Edge. MAX_COORDINATEstatic CoordinateShapeBuilder. ZERO_ZEROcoordinate at [0.0, 0.0]Fields in org.elasticsearch.common.geo.builders with type parameters of type Coordinate Modifier and Type Field Description protected List<Coordinate>ShapeBuilder. coordinatesMethods in org.elasticsearch.common.geo.builders that return Coordinate Modifier and Type Method Description CoordinateEnvelopeBuilder. bottomRight()CoordinateCircleBuilder. center()Get the center of the circleCoordinate[][]MultiLineStringBuilder. coordinates()Coordinate[][][]PolygonBuilder. coordinates()The coordinates setup by the builder will be assembled to a polygon.protected Coordinate[]ShapeBuilder. coordinates(boolean closed)Copy all coordinate to a new Arrayprotected CoordinateShapeBuilder.Edge. intersection(double position)Set the intersection of this line segment to the given positionprotected static CoordinateShapeBuilder.Edge. position(Coordinate p1, Coordinate p2, double position)protected static CoordinateShapeBuilder. readFromStream(StreamInput in)protected static CoordinateShapeBuilder. shift(Coordinate coordinate, double dateline)CoordinateEnvelopeBuilder. topLeft()Methods in org.elasticsearch.common.geo.builders that return types with arguments of type Coordinate Modifier and Type Method Description List<Coordinate>CoordinatesBuilder. build()Methods in org.elasticsearch.common.geo.builders with parameters of type Coordinate Modifier and Type Method Description CircleBuilderCircleBuilder. center(Coordinate center)Set the center of the circleCoordinatesBuilderCoordinatesBuilder. coordinate(Coordinate coordinate)Add a new coordinate to the collectionPointBuilderPointBuilder. coordinate(Coordinate coordinate)EShapeBuilder. coordinate(Coordinate coordinate)Add a new coordinate to the collectionCoordinatesBuilderCoordinatesBuilder. coordinates(Coordinate... coordinates)Add an array of coordinates to the current coordinatesEShapeBuilder. coordinates(Coordinate... coordinates)Add a array of coordinates to the collectionprotected static doubleShapeBuilder. intersection(Coordinate p1, Coordinate p2, double dateline)Calculate the intersection of a line segment and a vertical dateline.protected static MultiPolygonPolygonBuilder. multipolygonS4J(GeometryFactory factory, Coordinate[][][] polygons)Create a Multipolygon from a set of coordinates.protected static PolygonPolygonBuilder. polygonS4J(GeometryFactory factory, Coordinate[][] polygon)protected static CoordinateShapeBuilder.Edge. position(Coordinate p1, Coordinate p2, double position)protected static CoordinateShapeBuilder. shift(Coordinate coordinate, double dateline)protected static XContentBuilderShapeBuilder. toXContent(XContentBuilder builder, Coordinate coordinate)protected static voidShapeBuilder. writeCoordinateTo(Coordinate coordinate, StreamOutput out)Method parameters in org.elasticsearch.common.geo.builders with type arguments of type Coordinate Modifier and Type Method Description protected static StringBuilderShapeBuilder. coordinateListToWKT(List<Coordinate> coordinates)CoordinatesBuilderCoordinatesBuilder. coordinates(Collection<? extends Coordinate> coordinates)Add a collection of coordinates to the current coordinatesEShapeBuilder. coordinates(Collection<? extends Coordinate> coordinates)Add a collection of coordinates to the collectionprotected static LinearRingPolygonBuilder. linearRing(List<Coordinate> coordinates)protected static LinearRingPolygonBuilder. linearRingS4J(GeometryFactory factory, List<Coordinate> coordinates)Constructors in org.elasticsearch.common.geo.builders with parameters of type Coordinate Constructor Description Edge(Coordinate coordinate, ShapeBuilder.Edge next)Edge(Coordinate coordinate, ShapeBuilder.Edge next, Coordinate intersection)EnvelopeBuilder(Coordinate topLeft, Coordinate bottomRight)Build an envelope from the top left and bottom right coordinates.Constructor parameters in org.elasticsearch.common.geo.builders with type arguments of type Coordinate Constructor Description LineStringBuilder(List<Coordinate> coordinates)Construct a new LineString.MultiPointBuilder(List<Coordinate> coordinates)Create a newMultiPointBuilder.ShapeBuilder(List<Coordinate> coordinates)ctor from list of coordinates -
Uses of Coordinate in org.elasticsearch.common.geo.parsers
Fields in org.elasticsearch.common.geo.parsers declared as Coordinate Modifier and Type Field Description CoordinateCoordinateNode. coordinate -
Uses of Coordinate in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as Coordinate Modifier and Type Field Description protected Coordinate[][]LineIntersector. inputLinesprotected Coordinate[]LineIntersector. intPtprotected CoordinateLineIntersector. paprotected CoordinateLineIntersector. pbMethods in org.locationtech.jts.algorithm that return Coordinate Modifier and Type Method Description CoordinateCentroid. getCentroid()Gets the computed centroid.static CoordinateCentroid. getCentroid(Geometry geom)Computes the centroid point of a geometry.CoordinateHCoordinate. getCoordinate()CoordinateLineIntersector. getEndpoint(int segmentIndex, int ptIndex)Gets an endpoint of an input segment.CoordinateInteriorPointArea. getInteriorPoint()Gets the computed interior point.static CoordinateInteriorPointArea. getInteriorPoint(Geometry geom)Computes an interior point for the polygonal components of a Geometry.CoordinateInteriorPointLine. getInteriorPoint()static CoordinateInteriorPointLine. getInteriorPoint(Geometry geom)Computes an interior point for the linear components of a Geometry.CoordinateInteriorPointPoint. getInteriorPoint()static CoordinateInteriorPointPoint. getInteriorPoint(Geometry geom)Computes an interior point for the puntal components of a Geometry.CoordinateLineIntersector. getIntersection(int intIndex)Returns the intIndex'th intersection pointCoordinateLineIntersector. getIntersectionAlongSegment(int segmentIndex, int intIndex)Computes the intIndex'th intersection point in the direction of a specified input line segmentstatic CoordinateCGAlgorithmsDD. intersection(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)Computes an intersection point between two lines using DD arithmetic.static CoordinateHCoordinate. intersection(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)Computes the (approximate) intersection point between two line segments using homogeneous coordinates.protected Coordinate[]ConvexHull. toCoordinateArray(Stack stack)An alternative to Stack.toArray, which is not present in earlier versions of Java.Methods in org.locationtech.jts.algorithm with parameters of type Coordinate Modifier and Type Method Description static doubleAngle. angle(Coordinate p)Returns the angle of the vector from (0,0) to p, relative to the positive X-axis.static doubleAngle. angle(Coordinate p0, Coordinate p1)Returns the angle of the vector from p0 to p1, relative to the positive X-axis.static doubleAngle. angleBetween(Coordinate tip1, Coordinate tail, Coordinate tip2)Returns the unoriented smallest angle between two vectors.static doubleAngle. angleBetweenOriented(Coordinate tip1, Coordinate tail, Coordinate tip2)Returns the oriented smallest angle between two vectors.static doubleLineIntersector. computeEdgeDistance(Coordinate p, Coordinate p0, Coordinate p1)Computes the "edge distance" of an intersection point p along a segment.protected abstract intLineIntersector. computeIntersect(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)protected intRobustLineIntersector. computeIntersect(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)abstract voidLineIntersector. computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)Compute the intersection of a point p and the line p1-p2.voidLineIntersector. computeIntersection(Coordinate p1, Coordinate p2, Coordinate p3, Coordinate p4)Computes the intersection of the lines p1-p2 and p3-p4.voidRobustLineIntersector. computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)static intCGAlgorithms. computeOrientation(Coordinate p1, Coordinate p2, Coordinate q)Deprecated.Computes the orientation of a point q to the directed line segment p1-p2.voidRayCrossingCounter. countSegment(Coordinate p1, Coordinate p2)Counts a segmentstatic doubleCGAlgorithms. distanceLineLine(Coordinate A, Coordinate B, Coordinate C, Coordinate D)Deprecated.Computes the distance from a line segment AB to a line segment CD Note: NON-ROBUST!static doubleCGAlgorithms. distancePointLine(Coordinate p, Coordinate[] line)Deprecated.Computes the distance from a point to a sequence of line segments.static doubleCGAlgorithms. distancePointLine(Coordinate p, Coordinate A, Coordinate B)Deprecated.Computes the distance from a point p to a line segment AB Note: NON-ROBUST!static doubleCGAlgorithms. distancePointLinePerpendicular(Coordinate p, Coordinate A, Coordinate B)Deprecated.Computes the perpendicular distance from a point p to the (infinite) line containing the points ABstatic intOrientation. index(Coordinate p1, Coordinate p2, Coordinate q)Returns the orientation index of the direction of the pointqrelative to a directed infinite line specified byp1-p2.static doubleAngle. interiorAngle(Coordinate p0, Coordinate p1, Coordinate p2)Computes the interior angle between two segments of a ring.static CoordinateCGAlgorithmsDD. intersection(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)Computes an intersection point between two lines using DD arithmetic.static CoordinateHCoordinate. intersection(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)Computes the (approximate) intersection point between two line segments using homogeneous coordinates.booleanPointLocator. intersects(Coordinate p, Geometry geom)Convenience method to test a point for intersection with a GeometrybooleanRectangleLineIntersector. intersects(Coordinate p0, Coordinate p1)Tests whether the query rectangle intersects a given line segment.static booleanAngle. isAcute(Coordinate p0, Coordinate p1, Coordinate p2)Tests whether the angle between p0-p1-p2 is acute.static booleanCGAlgorithms. isCCW(Coordinate[] ring)Deprecated.Computes whether a ring defined by an array ofCoordinates is oriented counter-clockwise.static booleanOrientation. isCCW(Coordinate[] ring)Computes whether a ring defined by an array ofCoordinates is oriented counter-clockwise.static booleanPointLocation. isInRing(Coordinate p, Coordinate[] ring)Tests whether a point lies inside or on a ring.booleanLineIntersector. isIntersection(Coordinate pt)Test whether a point is a intersection point of two line segments.static booleanAngle. isObtuse(Coordinate p0, Coordinate p1, Coordinate p2)Tests whether the angle between p0-p1-p2 is obtuse.static booleanCGAlgorithms. isOnLine(Coordinate p, Coordinate[] pt)Deprecated.Tests whether a point lies on the line segments defined by a list of coordinates.static booleanPointLocation. isOnLine(Coordinate p, Coordinate[] line)Tests whether a point lies on the line defined by a list of coordinates.static booleanPointLocation. isOnLine(Coordinate p, CoordinateSequence line)Tests whether a point lies on the line defined by aCoordinateSequence.static booleanCGAlgorithms. isPointInRing(Coordinate p, Coordinate[] ring)Deprecated.Tests whether a point lies inside or on a ring.intPointLocator. locate(Coordinate p, Geometry geom)Computes the topological relationship (Location) of a single point to a Geometry.static intPointLocation. locateInRing(Coordinate p, Coordinate[] ring)Determines whether a point lies in the interior, on the boundary, or in the exterior of a ring.static intCGAlgorithms. locatePointInRing(Coordinate p, Coordinate[] ring)Deprecated.Determines whether a point lies in the interior, on the boundary, or in the exterior of a ring.static intRayCrossingCounter. locatePointInRing(Coordinate p, Coordinate[] ring)Determines theLocationof a point in a ring.static intRayCrossingCounter. locatePointInRing(Coordinate p, CoordinateSequence ring)Determines theLocationof a point in a ring.static doubleLineIntersector. nonRobustComputeEdgeDistance(Coordinate p, Coordinate p1, Coordinate p2)This function is non-robust, since it may compute the square of large numbers.static doubleArea. ofRing(Coordinate[] ring)Computes the area for a ring.static doubleArea. ofRingSigned(Coordinate[] ring)Computes the signed area for a ring.static intCGAlgorithms. orientationIndex(Coordinate p1, Coordinate p2, Coordinate q)Deprecated.Returns the index of the direction of the pointqrelative to a vector specified byp1-p2.static intCGAlgorithmsDD. orientationIndex(Coordinate p1, Coordinate p2, Coordinate q)Returns the index of the direction of the pointqrelative to a vector specified byp1-p2.static doubleDistance. pointToLinePerpendicular(Coordinate p, Coordinate A, Coordinate B)Computes the perpendicular distance from a point p to the (infinite) line containing the points ABstatic doubleDistance. pointToSegment(Coordinate p, Coordinate A, Coordinate B)Computes the distance from a point p to a line segment AB Note: NON-ROBUST!static doubleDistance. pointToSegmentString(Coordinate p, Coordinate[] line)Computes the distance from a point to a sequence of line segments.static doubleDistance. segmentToSegment(Coordinate A, Coordinate B, Coordinate C, Coordinate D)Computes the distance from a line segment AB to a line segment CD Note: NON-ROBUST!static doubleCGAlgorithms. signedArea(Coordinate[] ring)Deprecated.Computes the signed area for a ring.Constructors in org.locationtech.jts.algorithm with parameters of type Coordinate Constructor Description ConvexHull(Coordinate[] pts, GeometryFactory geomFactory)Create a new convex hull construction for the inputCoordinatearray.HCoordinate(Coordinate p)HCoordinate(Coordinate p1, Coordinate p2)Constructs a homogeneous coordinate which is the intersection of the lines define by the homogenous coordinates represented by twoCoordinates.HCoordinate(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)RayCrossingCounter(Coordinate p) -
Uses of Coordinate in org.locationtech.jts.algorithm.locate
Methods in org.locationtech.jts.algorithm.locate with parameters of type Coordinate Modifier and Type Method Description static booleanSimplePointInAreaLocator. containsPointInPolygon(Coordinate p, Polygon poly)Determines whether a point lies in aPolygon.static booleanSimplePointInAreaLocator. isContained(Coordinate p, Geometry geom)Determines whether a point is contained in aGeometry, or lies on its boundary.intIndexedPointInAreaLocator. locate(Coordinate p)intPointOnGeometryLocator. locate(Coordinate p)intSimplePointInAreaLocator. locate(Coordinate p)static intSimplePointInAreaLocator. locate(Coordinate p, Geometry geom)static intSimplePointInAreaLocator. locatePointInPolygon(Coordinate p, Polygon poly) -
Uses of Coordinate in org.locationtech.jts.geom
Subclasses of Coordinate in org.locationtech.jts.geom Modifier and Type Class Description classCoordinateXYCoordinate subclass supporting XY ordinates.classCoordinateXYMCoordinate subclass supporting XYM ordinates.classCoordinateXYZMCoordinate subclass supporting XYZM ordinates.Fields in org.locationtech.jts.geom declared as Coordinate Modifier and Type Field Description CoordinateLineSegment. p0CoordinateTriangle. p0The coordinates of the vertices of the triangleCoordinateLineSegment. p1CoordinateTriangle. p1The coordinates of the vertices of the triangleCoordinateTriangle. p2The coordinates of the vertices of the triangleMethods in org.locationtech.jts.geom that return Coordinate Modifier and Type Method Description static CoordinateTriangle. angleBisector(Coordinate a, Coordinate b, Coordinate c)Computes the point at which the bisector of the angle ABC cuts the segment AC.static Coordinate[]CoordinateArrays. atLeastNCoordinatesOrNothing(int n, Coordinate[] c)Returns either the given coordinate array if its length is greater than the given amount, or an empty coordinate array.CoordinateEnvelope. centre()Computes the coordinate of the centre of this envelope (as long as it is non-nullCoordinateTriangle. centroid()Computes the centroid (centre of mass) of this triangle.static CoordinateTriangle. centroid(Coordinate a, Coordinate b, Coordinate c)Computes the centroid (centre of mass) of a triangle.CoordinateTriangle. circumcentre()Computes the circumcentre of this triangle.static CoordinateTriangle. circumcentre(Coordinate a, Coordinate b, Coordinate c)Computes the circumcentre of a triangle.CoordinateLineSegment. closestPoint(Coordinate p)Computes the closest point on this line segment to another point.Coordinate[]LineSegment. closestPoints(LineSegment line)Computes the closest points on two line segments.CoordinateCoordinate. copy()Creates a copy of this Coordinate.static Coordinate[]CoordinateArrays. copyDeep(Coordinate[] coordinates)Creates a deep copy of the argumentCoordinatearray.static CoordinateCoordinates. create(int dimension)Factory method providing access to common Coordinate implementations.static CoordinateCoordinates. create(int dimension, int measures)Factory method providing access to common Coordinate implementations.default CoordinateCoordinateSequence. createCoordinate()Creates a coordinate for use in this sequence.static Coordinate[]CoordinateArrays. extract(Coordinate[] pts, int start, int end)CoordinateCoordinateList. getCoordinate(int i)CoordinateCoordinateSequence. getCoordinate(int i)Returns (possibly a copy of) the i'th coordinate in this sequence.abstract CoordinateGeometry. getCoordinate()Returns a vertex of thisGeometry(usually, but not necessarily, the first one).CoordinateGeometryCollection. getCoordinate()CoordinateLineSegment. getCoordinate(int i)CoordinateLineString. getCoordinate()protected CoordinateMultiPoint. getCoordinate(int n)Returns theCoordinateat the given position.CoordinatePoint. getCoordinate()CoordinatePolygon. getCoordinate()CoordinateTopologyException. getCoordinate()CoordinateCoordinateSequence. getCoordinateCopy(int i)Returns a copy of the i'th coordinate in this sequence.CoordinateLineString. getCoordinateN(int n)abstract Coordinate[]Geometry. getCoordinates()Returns an array containing the values of all the vertices for this geometry.Coordinate[]GeometryCollection. getCoordinates()Collects all coordinates of all subgeometries into an Array.Coordinate[]LineString. getCoordinates()Coordinate[]Point. getCoordinates()Coordinate[]Polygon. getCoordinates()CoordinateTriangle. inCentre()Computes the incentre of this triangle.static CoordinateTriangle. inCentre(Coordinate a, Coordinate b, Coordinate c)Computes the incentre of a triangle.static Coordinate[]CoordinateArrays. intersection(Coordinate[] coordinates, Envelope env)Extracts the coordinates which intersect anEnvelope.CoordinateLineSegment. intersection(LineSegment line)Computes an intersection point between two line segments, if there is one.CoordinateLineSegment. lineIntersection(LineSegment line)Computes the intersection point of the lines of infinite extent defined by two line segments (if there is one).CoordinateLineSegment. midPoint()Computes the midpoint of the segmentstatic CoordinateLineSegment. midPoint(Coordinate p0, Coordinate p1)Computes the midpoint of a segmentstatic CoordinateCoordinateArrays. minCoordinate(Coordinate[] coordinates)Returns the minimum coordinate, using the usual lexicographic comparison.static CoordinateCoordinateSequences. minCoordinate(CoordinateSequence seq)Returns the minimum coordinate, using the usual lexicographic comparison.CoordinateLineSegment. pointAlong(double segmentLengthFraction)Computes theCoordinatethat lies a given fraction along the line defined by this segment.CoordinateLineSegment. pointAlongOffset(double segmentLengthFraction, double offsetDistance)Computes theCoordinatethat lies a given fraction along the line defined by this segment and offset from the segment by a given distance.CoordinateLineSegment. project(Coordinate p)Compute the projection of a point onto the line determined by this line segment.static CoordinateCoordinateArrays. ptNotInList(Coordinate[] testPts, Coordinate[] pts)Finds a point in a list of points which is not contained in another list of pointsstatic Coordinate[]CoordinateArrays. removeNull(Coordinate[] coord)Collapses a coordinate array to remove all null elements.static Coordinate[]CoordinateArrays. removeRepeatedPoints(Coordinate[] coord)If the coordinate array argument has repeated points, constructs a new array containing no repeated points.static Coordinate[]CoordinateArrays. toCoordinateArray(Collection coordList)Converts the given Collection of Coordinates into a Coordinate array.Coordinate[]CoordinateList. toCoordinateArray()Returns the Coordinates in this collection.Coordinate[]CoordinateSequence. toCoordinateArray()Returns (possibly copies of) the Coordinates in this collection.CoordinatePrecisionModel. toExternal(Coordinate internal)Deprecated.no longer needed, since internal representation is same as external representationCoordinatePrecisionModel. toInternal(Coordinate external)Deprecated.use makePrecise insteadMethods in org.locationtech.jts.geom with parameters of type Coordinate Modifier and Type Method Description voidCoordinateList. add(int i, Coordinate coord, boolean allowRepeated)Inserts the specified coordinate at the specified position in this list.booleanCoordinateList. add(Coordinate coord)booleanCoordinateList. add(Coordinate[] coord, boolean allowRepeated)Adds an array of coordinates to the list.booleanCoordinateList. add(Coordinate[] coord, boolean allowRepeated, boolean direction)Adds an array of coordinates to the list.booleanCoordinateList. add(Coordinate[] coord, boolean allowRepeated, int start, int end)Adds a section of an array of coordinates to the list.voidCoordinateList. add(Coordinate coord, boolean allowRepeated)Adds a coordinate to the end of the list.static CoordinateTriangle. angleBisector(Coordinate a, Coordinate b, Coordinate c)Computes the point at which the bisector of the angle ABC cuts the segment AC.static doubleTriangle. area(Coordinate a, Coordinate b, Coordinate c)Computes the 2D area of a triangle.static doubleTriangle. area3D(Coordinate a, Coordinate b, Coordinate c)Computes the 3D area of a triangle.static Coordinate[]CoordinateArrays. atLeastNCoordinatesOrNothing(int n, Coordinate[] c)Returns either the given coordinate array if its length is greater than the given amount, or an empty coordinate array.static CoordinateTriangle. centroid(Coordinate a, Coordinate b, Coordinate c)Computes the centroid (centre of mass) of a triangle.static CoordinateTriangle. circumcentre(Coordinate a, Coordinate b, Coordinate c)Computes the circumcentre of a triangle.CoordinateLineSegment. closestPoint(Coordinate p)Computes the closest point on this line segment to another point.intCoordinate.DimensionalComparator. compare(Coordinate c1, Coordinate c2)Compares twoCoordinates along to the number of dimensions specified.static intCoordinateArrays. compare(Coordinate[] pts1, Coordinate[] pts2)Compares twoCoordinatearrays in the forward direction of their coordinates, using lexicographic ordering.intCoordinate. compareTo(Coordinate o)Compares thisCoordinatewith the specifiedCoordinatefor order.booleanEnvelope. contains(Coordinate p)Tests if the given point lies in or on the envelope.static Coordinate[]CoordinateArrays. copyDeep(Coordinate[] coordinates)Creates a deep copy of the argumentCoordinatearray.static voidCoordinateArrays. copyDeep(Coordinate[] src, int srcStart, Coordinate[] dest, int destStart, int length)Creates a deep copy of a given section of a sourceCoordinatearray into a destination Coordinate array.booleanEnvelope. covers(Coordinate p)Tests if the given point lies in or on the envelope.CoordinateSequenceCoordinateSequenceFactory. create(Coordinate[] coordinates)Returns aCoordinateSequencebased on the given array.LinearRingGeometryFactory. createLinearRing(Coordinate[] coordinates)Creates aLinearRingusing the givenCoordinates.LineStringGeometryFactory. createLineString(Coordinate[] coordinates)Creates a LineString using the given Coordinates.MultiPointGeometryFactory. createMultiPoint(Coordinate[] coordinates)Deprecated.MultiPointGeometryFactory. createMultiPointFromCoords(Coordinate[] coordinates)Creates aMultiPointusing the givenCoordinates.PointGeometryFactory. createPoint(Coordinate coordinate)Creates a Point using the given Coordinate.static PointGeometryFactory. createPointFromInternalCoord(Coordinate coord, Geometry exemplar)PolygonGeometryFactory. createPolygon(Coordinate[] shell)Constructs aPolygonwith the given exterior boundary.static intCoordinateArrays. dimension(Coordinate[] pts)Determine dimension based on subclass ofCoordinate.static intCoordinates. dimension(Coordinate coordinate)Determine dimension based on subclass ofCoordinate.doubleCoordinate. distance(Coordinate c)Computes the 2-dimensional Euclidean distance to another location.doubleLineSegment. distance(Coordinate p)Computes the distance between this line segment and a given point.doubleCoordinate. distance3D(Coordinate c)Computes the 3-dimensional Euclidean distance to another location.doubleLineSegment. distancePerpendicular(Coordinate p)Computes the perpendicular distance between the (infinite) line defined by this line segment and a point.static EnvelopeCoordinateArrays. envelope(Coordinate[] coordinates)Computes the envelope of the coordinates.protected booleanGeometry. equal(Coordinate a, Coordinate b, double tolerance)booleanCoordinate. equalInZ(Coordinate c, double tolerance)Tests if another coordinate has the same value for Z, within a tolerance.static booleanCoordinateArrays. equals(Coordinate[] coord1, Coordinate[] coord2)Returns true if the two arrays are identical, both null, or pointwise equal (as compared using Coordinate#equals)static booleanCoordinateArrays. equals(Coordinate[] coord1, Coordinate[] coord2, Comparator coordinateComparator)Returns true if the two arrays are identical, both null, or pointwise equal, using a user-definedComparatorforCoordinatesbooleanCoordinate. equals2D(Coordinate other)Returns whether the planar projections of the twoCoordinates are equal.booleanCoordinate. equals2D(Coordinate c, double tolerance)Tests if another Coordinate has the same values for the X and Y ordinates, within a specified tolerance value.booleanCoordinate. equals3D(Coordinate other)Tests if another coordinate has the same values for the X, Y and Z ordinates.voidEnvelope. expandToInclude(Coordinate p)Enlarges thisEnvelopeso that it contains the givenCoordinate.static Coordinate[]CoordinateArrays. extract(Coordinate[] pts, int start, int end)voidCoordinateFilter. filter(Coordinate coord)Performs an operation with thecoord.voidCoordinateSequence. getCoordinate(int index, Coordinate coord)Copies the i'th coordinate in the sequence to the suppliedCoordinate.static booleanCoordinateArrays. hasRepeatedPoints(Coordinate[] coord)Returns whether #equals returns true for any two consecutive Coordinates in the given array.static CoordinateTriangle. inCentre(Coordinate a, Coordinate b, Coordinate c)Computes the incentre of a triangle.static intCoordinateArrays. increasingDirection(Coordinate[] pts)Determines which orientation of theCoordinatearray is (overall) increasing.static intCoordinateArrays. indexOf(Coordinate coordinate, Coordinate[] coordinates)Returns the index ofcoordinateincoordinates.static intCoordinateSequences. indexOf(Coordinate coordinate, CoordinateSequence seq)Returns the index ofcoordinatein aCoordinateSequenceThe first position is 0; the second, 1; etc.voidEnvelope. init(Coordinate p)Initialize anEnvelopeto a region defined by a single Coordinate.voidEnvelope. init(Coordinate p1, Coordinate p2)Initialize anEnvelopeto a region defined by two Coordinates.doubleTriangle. interpolateZ(Coordinate p)Computes the Z-value (elevation) of an XY point on a three-dimensional plane defined by this triangle (whose vertices must have Z-values).static doubleTriangle. interpolateZ(Coordinate p, Coordinate v0, Coordinate v1, Coordinate v2)Computes the Z-value (elevation) of an XY point on a three-dimensional plane defined by a triangle whose vertices have Z-values.static Coordinate[]CoordinateArrays. intersection(Coordinate[] coordinates, Envelope env)Extracts the coordinates which intersect anEnvelope.booleanEnvelope. intersects(Coordinate p)Check if the pointpintersects (lies inside) the region of thisEnvelope.booleanEnvelope. intersects(Coordinate a, Coordinate b)Check if the extent defined by two extremal points intersects the extent of thisEnvelope.static booleanEnvelope. intersects(Coordinate p1, Coordinate p2, Coordinate q)Test the point q to see whether it intersects the Envelope defined by p1-p2static booleanEnvelope. intersects(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)Tests whether the envelope defined by p1-p2 and the envelope defined by q1-q2 intersect.static booleanTriangle. isAcute(Coordinate a, Coordinate b, Coordinate c)Tests whether a triangle is acute.booleanLineString. isCoordinate(Coordinate pt)Returns true if the given point is a vertex of thisLineString.static booleanCoordinateArrays. isRing(Coordinate[] pts)Tests whether an array ofCoordinates forms a ring, by checking length and closure.static doubleTriangle. longestSideLength(Coordinate a, Coordinate b, Coordinate c)Computes the length of the longest side of a trianglevoidPrecisionModel. makePrecise(Coordinate coord)Rounds a Coordinate to the PrecisionModel grid.static intCoordinateArrays. measures(Coordinate[] pts)Determine number of measures based on subclass ofCoordinate.static intCoordinates. measures(Coordinate coordinate)Determine number of measures based on subclass ofCoordinate.static CoordinateLineSegment. midPoint(Coordinate p0, Coordinate p1)Computes the midpoint of a segmentstatic CoordinateCoordinateArrays. minCoordinate(Coordinate[] coordinates)Returns the minimum coordinate, using the usual lexicographic comparison.intLineSegment. orientationIndex(Coordinate p)Determines the orientation index of aCoordinaterelative to this segment.booleanEnvelope. overlaps(Coordinate p)Deprecated.Use #intersects instead.static HCoordinateTriangle. perpendicularBisector(Coordinate a, Coordinate b)Computes the line which is the perpendicular bisector of the line segment a-b.CoordinateLineSegment. project(Coordinate p)Compute the projection of a point onto the line determined by this line segment.doubleLineSegment. projectionFactor(Coordinate p)Computes the Projection Factor for the projection of the point p onto this LineSegment.static CoordinateCoordinateArrays. ptNotInList(Coordinate[] testPts, Coordinate[] pts)Finds a point in a list of points which is not contained in another list of pointsstatic Coordinate[]CoordinateArrays. removeNull(Coordinate[] coord)Collapses a coordinate array to remove all null elements.static Coordinate[]CoordinateArrays. removeRepeatedPoints(Coordinate[] coord)If the coordinate array argument has repeated points, constructs a new array containing no repeated points.static voidCoordinateArrays. reverse(Coordinate[] coord)Reverses the coordinates in an array in-place.static voidCoordinateArrays. scroll(Coordinate[] coordinates, Coordinate firstCoordinate)Shifts the positions of the coordinates untilfirstCoordinateis first.static voidCoordinateSequences. scroll(CoordinateSequence seq, Coordinate firstCoordinate)Shifts the positions of the coordinates untilfirstCoordinateis first.doubleLineSegment. segmentFraction(Coordinate inputPt)Computes the fraction of distance (in [0.0, 1.0]) that the projection of a point occurs along this line segment.voidCoordinate. setCoordinate(Coordinate other)Sets thisCoordinates (x,y,z) values to that ofother.voidCoordinateXY. setCoordinate(Coordinate other)voidCoordinateXYM. setCoordinate(Coordinate other)voidCoordinateXYZM. setCoordinate(Coordinate other)voidLineSegment. setCoordinates(Coordinate p0, Coordinate p1)static doubleTriangle. signedArea(Coordinate a, Coordinate b, Coordinate c)Computes the signed 2D area of a triangle.CoordinatePrecisionModel. toExternal(Coordinate internal)Deprecated.no longer needed, since internal representation is same as external representationvoidPrecisionModel. toExternal(Coordinate internal, Coordinate external)Deprecated.no longer needed, since internal representation is same as external representationCoordinatePrecisionModel. toInternal(Coordinate external)Deprecated.use makePrecise insteadvoidPrecisionModel. toInternal(Coordinate external, Coordinate internal)Deprecated.use makePrecise insteadMethod parameters in org.locationtech.jts.geom with type arguments of type Coordinate Modifier and Type Method Description booleanCoordinateList. addAll(Collection<? extends Coordinate> coll, boolean allowRepeated)Add an array of coordinatesConstructors in org.locationtech.jts.geom with parameters of type Coordinate Constructor Description Coordinate(Coordinate c)Constructs aCoordinatehaving the same (x,y,z) values asother.CoordinateList(Coordinate[] coord)Constructs a new list from an array of Coordinates, allowing repeated points.CoordinateList(Coordinate[] coord, boolean allowRepeated)Constructs a new list from an array of Coordinates, allowing caller to specify if repeated points are to be removed.CoordinateXY(Coordinate coord)Constructs a CoordinateXY instance with the x and y ordinates of the given Coordinate.CoordinateXYM(Coordinate coord)Constructs a CoordinateXYM instance with the x and y ordinates of the given Coordinate.CoordinateXYZM(Coordinate coord)Constructs a CoordinateXYZM instance with the ordinates of the given Coordinate.Envelope(Coordinate p)Creates anEnvelopefor a region defined by a single Coordinate.Envelope(Coordinate p1, Coordinate p2)Creates anEnvelopefor a region defined by two Coordinates.LinearRing(Coordinate[] points, PrecisionModel precisionModel, int SRID)Deprecated.Use GeometryFactory insteadLineSegment(Coordinate p0, Coordinate p1)LineString(Coordinate[] points, PrecisionModel precisionModel, int SRID)Deprecated.Use GeometryFactory insteadPoint(Coordinate coordinate, PrecisionModel precisionModel, int SRID)Deprecated.Use GeometryFactory insteadTopologyException(String msg, Coordinate pt)Triangle(Coordinate p0, Coordinate p1, Coordinate p2)Creates a new triangle with the given vertices. -
Uses of Coordinate in org.locationtech.jts.geom.impl
Methods in org.locationtech.jts.geom.impl that return Coordinate Modifier and Type Method Description protected Coordinate[]CoordinateArraySequence. enforceArrayConsistency(Coordinate[] array)Ensure array contents of the same type, making use ofCoordinateSequence.createCoordinate()as needed.CoordinateCoordinateArraySequence. getCoordinate(int i)Get the Coordinate with index i.CoordinatePackedCoordinateSequence. getCoordinate(int i)CoordinateCoordinateArraySequence. getCoordinateCopy(int i)Get a copy of the Coordinate with index i.CoordinatePackedCoordinateSequence. getCoordinateCopy(int i)CoordinatePackedCoordinateSequence.Double. getCoordinateInternal(int i)CoordinatePackedCoordinateSequence.Float. getCoordinateInternal(int i)protected abstract CoordinatePackedCoordinateSequence. getCoordinateInternal(int index)Returns a Coordinate representation of the specified coordinate, by always building a new Coordinate objectCoordinate[]CoordinateArraySequence. toCoordinateArray()This method exposes the internal Array of Coordinate ObjectsCoordinate[]PackedCoordinateSequence. toCoordinateArray()Methods in org.locationtech.jts.geom.impl with parameters of type Coordinate Modifier and Type Method Description CoordinateSequenceCoordinateArraySequenceFactory. create(Coordinate[] coordinates)Returns aCoordinateArraySequencebased on the given array (the array is not copied).CoordinateSequencePackedCoordinateSequenceFactory. create(Coordinate[] coordinates)protected Coordinate[]CoordinateArraySequence. enforceArrayConsistency(Coordinate[] array)Ensure array contents of the same type, making use ofCoordinateSequence.createCoordinate()as needed.voidCoordinateArraySequence. getCoordinate(int index, Coordinate coord)voidPackedCoordinateSequence. getCoordinate(int i, Coordinate coord)Constructors in org.locationtech.jts.geom.impl with parameters of type Coordinate Constructor Description CoordinateArraySequence(Coordinate[] coordinates)Constructs a sequence based on the given array ofCoordinates (the array is not copied).CoordinateArraySequence(Coordinate[] coordinates, int dimension)Constructs a sequence based on the given array ofCoordinates (the array is not copied).CoordinateArraySequence(Coordinate[] coordinates, int dimension, int measures)Constructs a sequence based on the given array ofCoordinates (the array is not copied).Double(Coordinate[] coordinates)Builds a new packed coordinate sequence out of a coordinate arrayDouble(Coordinate[] coordinates, int dimension)Builds a new packed coordinate sequence out of a coordinate arrayDouble(Coordinate[] coordinates, int dimension, int measures)Builds a new packed coordinate sequence out of a coordinate arrayFloat(Coordinate[] coordinates, int dimension)Builds a new packed coordinate sequence out of a coordinate arrayFloat(Coordinate[] coordinates, int dimension, int measures)Constructs a packed coordinate sequence out of a coordinate array -
Uses of Coordinate in org.locationtech.jts.geom.util
Methods in org.locationtech.jts.geom.util that return Coordinate Modifier and Type Method Description abstract Coordinate[]GeometryEditor.CoordinateOperation. edit(Coordinate[] coordinates, Geometry geometry)Edits the array ofCoordinates from aGeometry.CoordinateAffineTransformation. transform(Coordinate src, Coordinate dest)Applies this transformation to the src coordinate and places the results in the dest coordinate (which may be the same as the source).Methods in org.locationtech.jts.geom.util with parameters of type Coordinate Modifier and Type Method Description protected CoordinateSequenceGeometryTransformer. createCoordinateSequence(Coordinate[] coords)Convenience method which provides standard way of creating aCoordinateSequenceabstract Coordinate[]GeometryEditor.CoordinateOperation. edit(Coordinate[] coordinates, Geometry geometry)Edits the array ofCoordinates from aGeometry.CoordinateAffineTransformation. transform(Coordinate src, Coordinate dest)Applies this transformation to the src coordinate and places the results in the dest coordinate (which may be the same as the source).Constructors in org.locationtech.jts.geom.util with parameters of type Coordinate Constructor Description AffineTransformation(Coordinate src0, Coordinate src1, Coordinate src2, Coordinate dest0, Coordinate dest1, Coordinate dest2)Constructs a transformation which maps the given source points into the given destination points. -
Uses of Coordinate in org.locationtech.jts.geomgraph
Fields in org.locationtech.jts.geomgraph declared as Coordinate Modifier and Type Field Description CoordinateEdgeIntersection. coordprotected CoordinateNode. coordMethods in org.locationtech.jts.geomgraph that return Coordinate Modifier and Type Method Description Coordinate[]GeometryGraph. getBoundaryPoints()CoordinateEdge. getCoordinate()CoordinateEdge. getCoordinate(int i)CoordinateEdgeEnd. getCoordinate()CoordinateEdgeEndStar. getCoordinate()CoordinateEdgeIntersection. getCoordinate()CoordinateEdgeRing. getCoordinate(int i)abstract CoordinateGraphComponent. getCoordinate()CoordinateNode. getCoordinate()Coordinate[]Edge. getCoordinates()CoordinateEdgeEnd. getDirectedCoordinate()CoordinateGeometryGraph. getInvalidPoint()Methods in org.locationtech.jts.geomgraph with parameters of type Coordinate Modifier and Type Method Description EdgeIntersectionEdgeIntersectionList. add(Coordinate intPt, int segmentIndex, double dist)Adds an intersection into the list, if it isn't already there.NodeNodeMap. addNode(Coordinate coord)This method expects that a node has a coordinate value.NodePlanarGraph. addNode(Coordinate coord)voidGeometryGraph. addPoint(Coordinate pt)Add a point computed externally.booleanEdgeRing. containsPoint(Coordinate p)This method will cause the ring to be computed.NodeNodeFactory. createNode(Coordinate coord)The basic node constructor does not allow for incident edgesNodeNodeMap. find(Coordinate coord)NodePlanarGraph. find(Coordinate coord)EdgePlanarGraph. findEdge(Coordinate p0, Coordinate p1)Returns the edge whose first two coordinates are p0 and p1EdgePlanarGraph. findEdgeInSameDirection(Coordinate p0, Coordinate p1)Returns the edge which starts at p0 and whose first segment is parallel to p1protected voidEdgeEnd. init(Coordinate p0, Coordinate p1)booleanPlanarGraph. isBoundaryNode(int geomIndex, Coordinate coord)booleanEdgeIntersectionList. isIntersection(Coordinate pt)Tests if the given point is an edge intersectionintGeometryGraph. locate(Coordinate pt)Determines theLocationof the givenCoordinatein this geometry.static intQuadrant. quadrant(Coordinate p0, Coordinate p1)Returns the quadrant of a directed line segment from p0 to p1.Constructors in org.locationtech.jts.geomgraph with parameters of type Coordinate Constructor Description Edge(Coordinate[] pts)Edge(Coordinate[] pts, Label label)EdgeEnd(Edge edge, Coordinate p0, Coordinate p1)EdgeEnd(Edge edge, Coordinate p0, Coordinate p1, Label label)EdgeIntersection(Coordinate coord, int segmentIndex, double dist)Node(Coordinate coord, EdgeEndStar edges) -
Uses of Coordinate in org.locationtech.jts.geomgraph.index
Methods in org.locationtech.jts.geomgraph.index that return Coordinate Modifier and Type Method Description Coordinate[]MonotoneChainEdge. getCoordinates()CoordinateSegmentIntersector. getProperIntersectionPoint()Methods in org.locationtech.jts.geomgraph.index with parameters of type Coordinate Modifier and Type Method Description int[]MonotoneChainIndexer. getChainStartIndices(Coordinate[] pts) -
Uses of Coordinate in org.locationtech.jts.index.chain
Methods in org.locationtech.jts.index.chain that return Coordinate Modifier and Type Method Description Coordinate[]MonotoneChain. getCoordinates()Return the subsequence of coordinates forming this chain.Methods in org.locationtech.jts.index.chain with parameters of type Coordinate Modifier and Type Method Description static ListMonotoneChainBuilder. getChains(Coordinate[] pts)static ListMonotoneChainBuilder. getChains(Coordinate[] pts, Object context)Return a list of theMonotoneChains for the given list of coordinates.static int[]MonotoneChainBuilder. getChainStartIndices(Coordinate[] pts)Return an array containing lists of start/end indexes of the monotone chains for the given list of coordinates.Constructors in org.locationtech.jts.index.chain with parameters of type Coordinate Constructor Description MonotoneChain(Coordinate[] pts, int start, int end, Object context) -
Uses of Coordinate in org.locationtech.jts.io
Methods in org.locationtech.jts.io with parameters of type Coordinate Modifier and Type Method Description static StringWKTWriter. toLineString(Coordinate[] coord)Generates the WKT for a LINESTRING specified by aCoordinateSequence.static StringWKTWriter. toLineString(Coordinate p0, Coordinate p1)Generates the WKT for a LINESTRING specified by twoCoordinates.static StringWKTWriter. toPoint(Coordinate p0)Generates the WKT for a POINT specified by aCoordinate. -
Uses of Coordinate in org.locationtech.jts.noding
Fields in org.locationtech.jts.noding declared as Coordinate Modifier and Type Field Description CoordinateSegmentNode. coordMethods in org.locationtech.jts.noding that return Coordinate Modifier and Type Method Description CoordinateBasicSegmentString. getCoordinate(int i)CoordinateNodedSegmentString. getCoordinate(int i)CoordinateSegmentNode. getCoordinate()Gets theCoordinategiving the location of this node.CoordinateSegmentString. getCoordinate(int i)Coordinate[]BasicSegmentString. getCoordinates()Coordinate[]NodedSegmentString. getCoordinates()Coordinate[]SegmentString. getCoordinates()CoordinateNodingIntersectionFinder. getInteriorIntersection()Gets the computed location of the intersection.CoordinateSegmentIntersectionDetector. getIntersection()Gets the computed location of the intersection.Coordinate[]NodingIntersectionFinder. getIntersectionSegments()Gets the endpoints of the intersecting segments.Coordinate[]SegmentIntersectionDetector. getIntersectionSegments()Gets the endpoints of the intersecting segments.CoordinateIntersectionAdder. getProperIntersectionPoint()Coordinate[]SegmentNodeList. getSplitCoordinates()Gets the list of coordinates for the fully noded segment string, including all original segment string vertices and vertices introduced by nodes in this list.Methods in org.locationtech.jts.noding with parameters of type Coordinate Modifier and Type Method Description SegmentNodeSegmentNodeList. add(Coordinate intPt, int segmentIndex)Adds an intersection into the list, if it isn't already there.voidNodableSegmentString. addIntersection(Coordinate intPt, int segmentIndex)Adds an intersection node for a given point and segment to this segment string.voidNodedSegmentString. addIntersection(Coordinate intPt, int segmentIndex)Adds an intersection node for a given point and segment to this segment string.SegmentNodeNodedSegmentString. addIntersectionNode(Coordinate intPt, int segmentIndex)Adds an intersection node for a given point and segment to this segment string.static intSegmentPointComparator. compare(int octant, Coordinate p0, Coordinate p1)Compares twoCoordinates for their relative position along a segment lying in the specifiedOctant.static intOctant. octant(Coordinate p0, Coordinate p1)Returns the octant of a directed line segment from p0 to p1.Constructors in org.locationtech.jts.noding with parameters of type Coordinate Constructor Description BasicSegmentString(Coordinate[] pts, Object data)Creates a new segment string from a list of vertices.NodedSegmentString(Coordinate[] pts, Object data)Creates a new segment string from a list of vertices.OrientedCoordinateArray(Coordinate[] pts)Creates a newOrientedCoordinateArrayfor the givenCoordinatearray.SegmentNode(NodedSegmentString segString, Coordinate coord, int segmentIndex, int segmentOctant) -
Uses of Coordinate in org.locationtech.jts.noding.snapround
Methods in org.locationtech.jts.noding.snapround that return Coordinate Modifier and Type Method Description CoordinateHotPixel. getCoordinate()Gets the coordinate this hot pixel is based at.Methods in org.locationtech.jts.noding.snapround with parameters of type Coordinate Modifier and Type Method Description booleanHotPixel. intersects(Coordinate p0, Coordinate p1)Tests whether the line segment (p0-p1) intersects this hot pixel.Constructors in org.locationtech.jts.noding.snapround with parameters of type Coordinate Constructor Description HotPixel(Coordinate pt, double scaleFactor, LineIntersector li)Creates a new hot pixel, using a given scale factor. -
Uses of Coordinate in org.locationtech.jts.operation
Methods in org.locationtech.jts.operation that return Coordinate Modifier and Type Method Description CoordinateIsSimpleOp. getNonSimpleLocation()Gets a coordinate for the location where the geometry fails to be simple. -
Uses of Coordinate in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer that return Coordinate Modifier and Type Method Description Coordinate[]OffsetCurveBuilder. getLineCurve(Coordinate[] inputPts, double distance)This method handles single points as well as LineStrings.Coordinate[]OffsetCurveBuilder. getOffsetCurve(Coordinate[] inputPts, double distance)Coordinate[]OffsetCurveBuilder. getRingCurve(Coordinate[] inputPts, int side, double distance)This method handles the degenerate cases of single points and lines, as well as rings.Coordinate[]BufferInputLineSimplifier. simplify(double distanceTol)Simplify the input coordinate list.static Coordinate[]BufferInputLineSimplifier. simplify(Coordinate[] inputLine, double distanceTol)Simplify the input coordinate list.Methods in org.locationtech.jts.operation.buffer with parameters of type Coordinate Modifier and Type Method Description Coordinate[]OffsetCurveBuilder. getLineCurve(Coordinate[] inputPts, double distance)This method handles single points as well as LineStrings.Coordinate[]OffsetCurveBuilder. getOffsetCurve(Coordinate[] inputPts, double distance)Coordinate[]OffsetCurveBuilder. getRingCurve(Coordinate[] inputPts, int side, double distance)This method handles the degenerate cases of single points and lines, as well as rings.static Coordinate[]BufferInputLineSimplifier. simplify(Coordinate[] inputLine, double distanceTol)Simplify the input coordinate list.Constructors in org.locationtech.jts.operation.buffer with parameters of type Coordinate Constructor Description BufferInputLineSimplifier(Coordinate[] inputLine) -
Uses of Coordinate in org.locationtech.jts.operation.distance
Methods in org.locationtech.jts.operation.distance that return Coordinate Modifier and Type Method Description Coordinate[]DistanceOp. closestPoints()Deprecated.renamed to nearestPointsstatic Coordinate[]DistanceOp. closestPoints(Geometry g0, Geometry g1)Deprecated.renamed to nearestPointsCoordinateGeometryLocation. getCoordinate()Returns theCoordinateof this location.Coordinate[]DistanceOp. nearestPoints()Report the coordinates of the nearest points in the input geometries.static Coordinate[]DistanceOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points of two geometries.Constructors in org.locationtech.jts.operation.distance with parameters of type Coordinate Constructor Description GeometryLocation(Geometry component, int segIndex, Coordinate pt)Constructs a GeometryLocation specifying a point on a geometry, as well as the segment that the point is on (orGeometryLocation.INSIDE_AREAif the point is not on a segment).GeometryLocation(Geometry component, Coordinate pt)Constructs a GeometryLocation specifying a point inside an area geometry. -
Uses of Coordinate in org.locationtech.jts.operation.linemerge
Constructors in org.locationtech.jts.operation.linemerge with parameters of type Coordinate Constructor Description LineMergeDirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)Constructs a LineMergeDirectedEdge connecting thefromnode to thetonode. -
Uses of Coordinate in org.locationtech.jts.operation.overlay
Methods in org.locationtech.jts.operation.overlay with parameters of type Coordinate Modifier and Type Method Description NodeOverlayNodeFactory. createNode(Coordinate coord)booleanOverlayOp. isCoveredByA(Coordinate coord)Tests if an L edge should be included in the result or not.booleanOverlayOp. isCoveredByLA(Coordinate coord)Tests if a point node should be included in the result or not. -
Uses of Coordinate in org.locationtech.jts.operation.overlay.snap
Methods in org.locationtech.jts.operation.overlay.snap that return Coordinate Modifier and Type Method Description Coordinate[]LineStringSnapper. snapTo(Coordinate[] snapPts)Snaps the vertices and segments of the source LineString to the given set of snap vertices.Methods in org.locationtech.jts.operation.overlay.snap with parameters of type Coordinate Modifier and Type Method Description Coordinate[]LineStringSnapper. snapTo(Coordinate[] snapPts)Snaps the vertices and segments of the source LineString to the given set of snap vertices.Constructors in org.locationtech.jts.operation.overlay.snap with parameters of type Coordinate Constructor Description LineStringSnapper(Coordinate[] srcPts, double snapTolerance)Creates a new snapper using the given points as source points to be snapped. -
Uses of Coordinate in org.locationtech.jts.operation.relate
Methods in org.locationtech.jts.operation.relate with parameters of type Coordinate Modifier and Type Method Description NodeRelateNodeFactory. createNode(Coordinate coord)Constructors in org.locationtech.jts.operation.relate with parameters of type Coordinate Constructor Description RelateNode(Coordinate coord, EdgeEndStar edges) -
Uses of Coordinate in org.locationtech.jts.operation.valid
Methods in org.locationtech.jts.operation.valid that return Coordinate Modifier and Type Method Description static CoordinateConnectedInteriorTester. findDifferentPoint(Coordinate[] coord, Coordinate pt)static CoordinateIsValidOp. findPtNotNode(Coordinate[] testCoords, LinearRing searchRing, GeometryGraph graph)Find a point from the list of testCoords that is NOT a node in the edge for the list of searchCoordsCoordinateConnectedInteriorTester. getCoordinate()CoordinateTopologyValidationError. getCoordinate()Returns the location of this error (on theGeometrycontaining the error).CoordinateConsistentAreaTester. getInvalidPoint()CoordinateIndexedNestedRingTester. getNestedPoint()Methods in org.locationtech.jts.operation.valid with parameters of type Coordinate Modifier and Type Method Description static CoordinateConnectedInteriorTester. findDifferentPoint(Coordinate[] coord, Coordinate pt)static CoordinateIsValidOp. findPtNotNode(Coordinate[] testCoords, LinearRing searchRing, GeometryGraph graph)Find a point from the list of testCoords that is NOT a node in the edge for the list of searchCoordsstatic booleanIsValidOp. isValid(Coordinate coord)Checks whether a coordinate is valid for processing.Constructors in org.locationtech.jts.operation.valid with parameters of type Coordinate Constructor Description TopologyValidationError(int errorType, Coordinate pt)Creates a validation error with the given type and location -
Uses of Coordinate in org.locationtech.jts.planargraph
Fields in org.locationtech.jts.planargraph declared as Coordinate Modifier and Type Field Description protected CoordinateDirectedEdge. p0protected CoordinateDirectedEdge. p1protected CoordinateNode. ptThe location of this NodeMethods in org.locationtech.jts.planargraph that return Coordinate Modifier and Type Method Description CoordinateDirectedEdge. getCoordinate()Returns the coordinate of the from-node.CoordinateDirectedEdgeStar. getCoordinate()Returns the coordinate for the node at which this star is basedCoordinateNode. getCoordinate()Returns the location of this Node.CoordinateDirectedEdge. getDirectionPt()Returns a point to which an imaginary line is drawn from the from-node to specify this DirectedEdge's orientation.Methods in org.locationtech.jts.planargraph with parameters of type Coordinate Modifier and Type Method Description NodeNodeMap. find(Coordinate coord)Returns the Node at the given location, or null if no Node was there.NodePlanarGraph. findNode(Coordinate pt)NodeNodeMap. remove(Coordinate pt)Removes the Node at the given location, and returns it (or null if no Node was there).Constructors in org.locationtech.jts.planargraph with parameters of type Coordinate Constructor Description DirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)Constructs a DirectedEdge connecting thefromnode to thetonode.Node(Coordinate pt)Constructs a Node with the given location.Node(Coordinate pt, DirectedEdgeStar deStar)Constructs a Node with the given location and collection of outgoing DirectedEdges. -
Uses of Coordinate in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision that return Coordinate Modifier and Type Method Description CoordinateCommonBitsRemover. getCommonCoordinate()The common bits of the Coordinates in the supplied Geometries. -
Uses of Coordinate in org.locationtech.jts.util
Fields in org.locationtech.jts.util declared as Coordinate Modifier and Type Field Description CoordinateGeometricShapeFactory.Dimensions. baseCoordinateGeometricShapeFactory.Dimensions. centreMethods in org.locationtech.jts.util that return Coordinate Modifier and Type Method Description protected CoordinateGeometricShapeFactory. coord(double x, double y)protected CoordinateGeometricShapeFactory. coordTrans(double x, double y, Coordinate trans)static Coordinate[]UniqueCoordinateArrayFilter. filterCoordinates(Coordinate[] coords)Convenience method which allows running the filter over an array ofCoordinates.CoordinateGeometricShapeFactory.Dimensions. getBase()CoordinateGeometricShapeFactory.Dimensions. getCentre()Coordinate[]UniqueCoordinateArrayFilter. getCoordinates()Returns the gatheredCoordinates.Methods in org.locationtech.jts.util with parameters of type Coordinate Modifier and Type Method Description protected CoordinateGeometricShapeFactory. coordTrans(double x, double y, Coordinate trans)voidUniqueCoordinateArrayFilter. filter(Coordinate coord)static Coordinate[]UniqueCoordinateArrayFilter. filterCoordinates(Coordinate[] coords)Convenience method which allows running the filter over an array ofCoordinates.voidGeometricShapeFactory.Dimensions. setBase(Coordinate base)voidGeometricShapeFactory. setBase(Coordinate base)Sets the location of the shape by specifying the base coordinate (which in most cases is the lower left point of the envelope containing the shape).voidGeometricShapeFactory.Dimensions. setCentre(Coordinate centre)voidGeometricShapeFactory. setCentre(Coordinate centre)Sets the location of the shape by specifying the centre of the shape's bounding box -
Uses of Coordinate in org.locationtech.spatial4j.io.jts
Methods in org.locationtech.spatial4j.io.jts with parameters of type Coordinate Modifier and Type Method Description protected voidJtsGeoJSONWriter. write(Writer output, NumberFormat nf, Coordinate coord)protected voidJtsGeoJSONWriter. write(Writer output, NumberFormat nf, Coordinate[] coord)protected voidJtsPolyshapeWriter. write(PolyshapeWriter.Encoder output, Coordinate[] coord)
-