Uses of Class
com.vividsolutions.jts.geom.Coordinate
-
Packages that use Coordinate Package Description com.vividsolutions.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.com.vividsolutions.jts.algorithm.distance Classes to compute distance metrics between geonetries.com.vividsolutions.jts.algorithm.locate Classes to determine the topological location of points in geometries.com.vividsolutions.jts.awt Classes to perform conversions from Java2D shape objects.com.vividsolutions.jts.edgegraph com.vividsolutions.jts.geom Contains theGeometryinterface hierarchy and supporting classes.com.vividsolutions.jts.geom.impl Implementations of interfaces for geometric structures.com.vividsolutions.jts.geom.util Provides classes that parse and modify Geometry objects.com.vividsolutions.jts.geomgraph Contains classes that implement topology graphs.com.vividsolutions.jts.geomgraph.index Contains classes that implement indexes for performing noding on geometry graph edges.com.vividsolutions.jts.index.chain Contains classes that implement Monotone Chainscom.vividsolutions.jts.index.kdtree Contains classes which implement a k-D tree index over 2-D point data.com.vividsolutions.jts.index.quadtree Contains classes that implement a Quadtree spatial indexcom.vividsolutions.jts.io Contains the interfaces for converting JTS objects to and from other formats.com.vividsolutions.jts.linearref Contains classes and interfaces implementing linear referencing on linear geometriescom.vividsolutions.jts.math com.vividsolutions.jts.noding Classes to compute nodings for arrangements of line segments and line segment sequences.com.vividsolutions.jts.noding.snapround Contains classes to implement the Snap Rounding algorithm for noding linestrings.com.vividsolutions.jts.operation Provides classes for implementing operations on geometriescom.vividsolutions.jts.operation.buffer Provides classes for computing buffers of geometriescom.vividsolutions.jts.operation.buffer.validate Classes to perform validation of the results of buffer operations.com.vividsolutions.jts.operation.distance Provides classes for computing the distance between geometriescom.vividsolutions.jts.operation.distance3d com.vividsolutions.jts.operation.linemerge Classes to perform line merging.com.vividsolutions.jts.operation.overlay Contains classes that perform a topological overlay to compute boolean spatial functions.com.vividsolutions.jts.operation.overlay.snap Classes to perform snapping on geometries to prepare them for overlay operations.com.vividsolutions.jts.operation.overlay.validate Classes to validate the results of overlay operations.com.vividsolutions.jts.operation.relate Contains classes to implement the computation of the spatial relationships ofGeometrys.com.vividsolutions.jts.operation.valid Provides classes for testing the validity of geometries.com.vividsolutions.jts.planargraph Contains classes to implement a planar graph data structure.com.vividsolutions.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.com.vividsolutions.jts.shape com.vividsolutions.jts.shape.fractal com.vividsolutions.jts.shape.random com.vividsolutions.jts.triangulate Classes to compute Delaunay triangulations.com.vividsolutions.jts.triangulate.quadedge Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.com.vividsolutions.jts.util Contains support classes for the Java Topology Suite.com.vividsolutions.jtsexample.geom com.vividsolutions.jtstest.clean com.vividsolutions.jtstest.testbuilder com.vividsolutions.jtstest.testbuilder.controller com.vividsolutions.jtstest.testbuilder.geom com.vividsolutions.jtstest.testbuilder.model com.vividsolutions.jtstest.testbuilder.topostretch com.vividsolutions.jtstest.testbuilder.ui com.vividsolutions.jtstest.testbuilder.ui.style com.vividsolutions.jtstest.testbuilder.ui.tools -
-
Uses of Coordinate in com.vividsolutions.jts.algorithm
Fields in com.vividsolutions.jts.algorithm declared as Coordinate Modifier and Type Field Description protected Coordinate[][]LineIntersector. inputLinesprotected Coordinate[]LineIntersector. intPtprotected CoordinateLineIntersector. paprotected CoordinateLineIntersector. pbMethods in com.vividsolutions.jts.algorithm that return Coordinate Modifier and Type Method Description static CoordinateInteriorPointArea. centre(Envelope envelope)Returns the centre point of the envelope.CoordinateMinimumBoundingCircle. getCentre()Gets the centre point of the computed Minimum Bounding Circle.CoordinateCentroid. getCentroid()Gets the computed centroid.static CoordinateCentroid. getCentroid(Geometry geom)Computes the centroid point of a geometry.CoordinateCentroidArea. getCentroid()Deprecated.CoordinateCentroidLine. getCentroid()Deprecated.CoordinateCentroidPoint. getCentroid()Deprecated.CoordinateHCoordinate. getCoordinate()CoordinateLineIntersector. getEndpoint(int segmentIndex, int ptIndex)Gets an endpoint of an input segment.Coordinate[]MinimumBoundingCircle. getExtremalPoints()Gets the extremal points which define the computed Minimum Bounding Circle.CoordinateInteriorPointArea. getInteriorPoint()Gets the computed interior point.CoordinateInteriorPointLine. getInteriorPoint()CoordinateInteriorPointPoint. getInteriorPoint()CoordinateCentralEndpointIntersector. getIntersection()Deprecated.static CoordinateCentralEndpointIntersector. getIntersection(Coordinate p00, Coordinate p01, Coordinate p10, Coordinate p11)Deprecated.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 segmentCoordinateMinimumDiameter. getWidthCoordinate()Gets theCoordinateforming one end of the minimum diameterstatic 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(java.util.Stack stack)An alternative to Stack.toArray, which is not present in earlier versions of Java.Methods in com.vividsolutions.jts.algorithm with parameters of type Coordinate Modifier and Type Method Description voidCentroidArea. add(Coordinate[] ring)Deprecated.Adds the area defined by an array of coordinates.voidCentroidLine. add(Coordinate[] pts)Deprecated.Adds the length defined by an array of coordinates.voidCentroidPoint. add(Coordinate pt)Deprecated.Adds the length defined by an array of coordinates.static doubleAngle. angle(Coordinate p)Returns the angle that 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 intNonRobustLineIntersector. computeIntersect(Coordinate p1, Coordinate p2, Coordinate p3, Coordinate p4)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.voidNonRobustLineIntersector. computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)voidRobustLineIntersector. computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)static intCGAlgorithms. computeOrientation(Coordinate p1, Coordinate p2, Coordinate q)Computes the orientation of a point q to the directed line segment p1-p2.static intNonRobustCGAlgorithms. computeOrientation(Coordinate p1, Coordinate p2, Coordinate q)Computes the orientation of a point q to the directed line segment p1-p2.voidRayCrossingCounter. countSegment(Coordinate p1, Coordinate p2)Counts a segmentstatic doubleCGAlgorithms3D. distance(Coordinate p0, Coordinate p1)static doubleCGAlgorithms. distanceLineLine(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 doubleNonRobustCGAlgorithms. distanceLineLine(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. distancePointLine(Coordinate p, Coordinate[] line)Computes the distance from a point to a sequence of line segments.static doubleCGAlgorithms. distancePointLine(Coordinate p, Coordinate A, Coordinate B)Computes the distance from a point p to a line segment AB Note: NON-ROBUST!static doubleCGAlgorithms. distancePointLinePerpendicular(Coordinate p, Coordinate A, Coordinate B)Computes the perpendicular distance from a point p to the (infinite) line containing the points ABstatic doubleCGAlgorithms3D. distancePointSegment(Coordinate p, Coordinate A, Coordinate B)static doubleCGAlgorithms3D. distanceSegmentSegment(Coordinate A, Coordinate B, Coordinate C, Coordinate D)Computes the distance between two 3D segments.static CoordinateCentralEndpointIntersector. getIntersection(Coordinate p00, Coordinate p01, Coordinate p10, Coordinate p11)Deprecated.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)Computes whether a ring defined by an array ofCoordinates is oriented counter-clockwise.static booleanNonRobustCGAlgorithms. isCCW(Coordinate[] ring)Computes whether a ring defined by an array ofCoordinateis oriented counter-clockwise.booleanMCPointInRing. isInside(Coordinate pt)booleanPointInRing. isInside(Coordinate pt)booleanSimplePointInRing. isInside(Coordinate pt)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)Tests whether a point lies on the line segments defined by a list of coordinates.static booleanCGAlgorithms. isPointInRing(Coordinate p, Coordinate[] ring)Tests whether a point lies inside or on a ring.static booleanNonRobustCGAlgorithms. isPointInRing(Coordinate p, Coordinate[] ring)Computes whether a ring defined by an array ofCoordinateis oriented counter-clockwise.intPointLocator. locate(Coordinate p, Geometry geom)Computes the topological relationship (Location) of a single point to a Geometry.static intCGAlgorithms. locatePointInRing(Coordinate p, Coordinate[] ring)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 intCGAlgorithms. orientationIndex(Coordinate p1, Coordinate p2, Coordinate q)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 intNonRobustCGAlgorithms. orientationIndex(Coordinate p1, Coordinate p2, Coordinate q)Returns the index of the direction of the pointqrelative to a vector specified byp1-p2.static intRobustDeterminant. orientationIndex(Coordinate p1, Coordinate p2, Coordinate q)Returns the index of the direction of the pointqrelative to a vector specified byp1-p2.static doubleCGAlgorithms. signedArea(Coordinate[] ring)Computes the signed area for a ring.Constructors in com.vividsolutions.jts.algorithm with parameters of type Coordinate Constructor Description CentralEndpointIntersector(Coordinate p00, Coordinate p01, Coordinate p10, Coordinate p11)Deprecated.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 com.vividsolutions.jts.algorithm.distance
Methods in com.vividsolutions.jts.algorithm.distance that return Coordinate Modifier and Type Method Description CoordinatePointPairDistance. getCoordinate(int i)Coordinate[]DiscreteHausdorffDistance. getCoordinates()Coordinate[]PointPairDistance. getCoordinates()Methods in com.vividsolutions.jts.algorithm.distance with parameters of type Coordinate Modifier and Type Method Description static voidDistanceToPoint. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPoint. computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPoint. computeDistance(LineString line, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPoint. computeDistance(Polygon poly, Coordinate pt, PointPairDistance ptDist)voidDiscreteHausdorffDistance.MaxPointDistanceFilter. filter(Coordinate pt)voidPointPairDistance. initialize(Coordinate p0, Coordinate p1)voidPointPairDistance. setMaximum(Coordinate p0, Coordinate p1)voidPointPairDistance. setMinimum(Coordinate p0, Coordinate p1) -
Uses of Coordinate in com.vividsolutions.jts.algorithm.locate
Methods in com.vividsolutions.jts.algorithm.locate with parameters of type Coordinate Modifier and Type Method Description static booleanSimplePointInAreaLocator. containsPointInPolygon(Coordinate p, Polygon poly)intIndexedPointInAreaLocator. locate(Coordinate p)intPointOnGeometryLocator. locate(Coordinate p)intSimplePointInAreaLocator. locate(Coordinate p)static intSimplePointInAreaLocator. locate(Coordinate p, Geometry geom) -
Uses of Coordinate in com.vividsolutions.jts.awt
Methods in com.vividsolutions.jts.awt with parameters of type Coordinate Modifier and Type Method Description voidIdentityPointTransformation. transform(Coordinate model, java.awt.geom.Point2D view)voidPointTransformation. transform(Coordinate src, java.awt.geom.Point2D dest)Transforms aCoordinateinto a Java2DPoint.Constructors in com.vividsolutions.jts.awt with parameters of type Coordinate Constructor Description PolygonShape(Coordinate[] shellVertices, java.util.Collection holeVerticesCollection)Creates a new polygonShape. -
Uses of Coordinate in com.vividsolutions.jts.edgegraph
Methods in com.vividsolutions.jts.edgegraph that return Coordinate Modifier and Type Method Description CoordinateHalfEdge. dest()Gets the destination coordinate of this edge.CoordinateHalfEdge. orig()Gets the origin coordinate of this edge.Methods in com.vividsolutions.jts.edgegraph with parameters of type Coordinate Modifier and Type Method Description HalfEdgeEdgeGraph. addEdge(Coordinate orig, Coordinate dest)Adds an edge between the coordinates orig and dest to this graph.static HalfEdgeHalfEdge. create(Coordinate p0, Coordinate p1)Creates a HalfEdge pair representing an edge between two vertices located at coordinates p0 and p1.protected HalfEdgeEdgeGraph. createEdge(Coordinate orig)Creates a single HalfEdge.booleanHalfEdge. equals(Coordinate p0, Coordinate p1)Tests whether this edge has the given orig and dest vertices.HalfEdgeHalfEdge. find(Coordinate dest)Finds the edge starting at the origin of this edge with the given dest vertex, if any.HalfEdgeEdgeGraph. findEdge(Coordinate orig, Coordinate dest)Finds an edge in this graph with the given origin and destination, if one exists.static booleanEdgeGraph. isValidEdge(Coordinate orig, Coordinate dest)Tests if the given coordinates form a valid edge (with non-zero length).Constructors in com.vividsolutions.jts.edgegraph with parameters of type Coordinate Constructor Description HalfEdge(Coordinate orig)Creates an edge originating from a given coordinate.MarkHalfEdge(Coordinate orig)Creates a new marked edge. -
Uses of Coordinate in com.vividsolutions.jts.geom
Fields in com.vividsolutions.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 com.vividsolutions.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.static Coordinate[]CoordinateArrays. copyDeep(Coordinate[] coordinates)Creates a deep copy of the argumentCoordinatearray.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.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(java.util.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 com.vividsolutions.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, 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.static intCoordinateArrays. compare(Coordinate[] pts1, Coordinate[] pts2)Compares twoCoordinatearrays in the forward direction of their coordinates, using lexicographic ordering.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.CoordinateSequenceDefaultCoordinateSequenceFactory. create(Coordinate[] coordinates)Deprecated.Returns a DefaultCoordinateSequence based on the given array (the array is not copied).LinearRingGeometryFactory. createLinearRing(Coordinate[] coordinates)Creates aLinearRingusing the givenCoordinates.LineStringGeometryFactory. createLineString(Coordinate[] coordinates)Creates a LineString using the given Coordinates.MultiPointGeometryFactory. createMultiPoint(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[] coordinates)Constructs aPolygonwith the given exterior boundary.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, java.util.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.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.OctagonalEnvelopeOctagonalEnvelope. expandToInclude(Coordinate p)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.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 pointpoverlaps (lies inside) the region 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.booleanOctagonalEnvelope. intersects(Coordinate p)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 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.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.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 insteadConstructors in com.vividsolutions.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.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 insteadOctagonalEnvelope(Coordinate p)Creates a new null bounding octagon bounding aCoordinateOctagonalEnvelope(Coordinate p0, Coordinate p1)Creates a new null bounding octagon bounding a pair ofCoordinatesPoint(Coordinate coordinate, PrecisionModel precisionModel, int SRID)Deprecated.Use GeometryFactory insteadTopologyException(java.lang.String msg, Coordinate pt)Triangle(Coordinate p0, Coordinate p1, Coordinate p2)Creates a new triangle with the given vertices. -
Uses of Coordinate in com.vividsolutions.jts.geom.impl
Methods in com.vividsolutions.jts.geom.impl that return Coordinate Modifier and Type Method Description 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 com.vividsolutions.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)voidCoordinateArraySequence. getCoordinate(int index, Coordinate coord)voidPackedCoordinateSequence. getCoordinate(int i, Coordinate coord)Constructors in com.vividsolutions.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).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 arrayFloat(Coordinate[] coordinates, int dimension)Constructs a packed coordinate sequence out of a coordinate array -
Uses of Coordinate in com.vividsolutions.jts.geom.util
Methods in com.vividsolutions.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 com.vividsolutions.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 aCoordinateSequencestatic AffineTransformationAffineTransformationFactory. createFromBaseLines(Coordinate src0, Coordinate src1, Coordinate dest0, Coordinate dest1)Creates an AffineTransformation defined by a maping between two baselines.static AffineTransformationAffineTransformationFactory. createFromControlVectors(Coordinate[] src, Coordinate[] dest)Creates an AffineTransformation defined by a set of control vectors.static AffineTransformationAffineTransformationFactory. createFromControlVectors(Coordinate src0, Coordinate dest0)Creates an AffineTransformation defined by a single control vector.static AffineTransformationAffineTransformationFactory. createFromControlVectors(Coordinate src0, Coordinate src1, Coordinate dest0, Coordinate dest1)Creates an AffineTransformation defined by a pair of control vectors.static AffineTransformationAffineTransformationFactory. createFromControlVectors(Coordinate src0, Coordinate src1, Coordinate src2, Coordinate dest0, Coordinate dest1, Coordinate dest2)Creates a tranformation from a set of three control vectors.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).Constructors in com.vividsolutions.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.AffineTransformationBuilder(Coordinate src0, Coordinate src1, Coordinate src2, Coordinate dest0, Coordinate dest1, Coordinate dest2)Constructs a new builder for the transformation defined by the given set of control point mappings. -
Uses of Coordinate in com.vividsolutions.jts.geomgraph
Fields in com.vividsolutions.jts.geomgraph declared as Coordinate Modifier and Type Field Description CoordinateEdgeIntersection. coordprotected CoordinateNode. coordMethods in com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.jts.geomgraph.index
Methods in com.vividsolutions.jts.geomgraph.index that return Coordinate Modifier and Type Method Description Coordinate[]MonotoneChainEdge. getCoordinates()CoordinateSegmentIntersector. getProperIntersectionPoint()Methods in com.vividsolutions.jts.geomgraph.index with parameters of type Coordinate Modifier and Type Method Description int[]MonotoneChainIndexer. getChainStartIndices(Coordinate[] pts) -
Uses of Coordinate in com.vividsolutions.jts.index.chain
Methods in com.vividsolutions.jts.index.chain that return Coordinate Modifier and Type Method Description Coordinate[]MonotoneChain. getCoordinates()Return the subsequence of coordinates forming this chain.Methods in com.vividsolutions.jts.index.chain with parameters of type Coordinate Modifier and Type Method Description static java.util.ListMonotoneChainBuilder. getChains(Coordinate[] pts)static java.util.ListMonotoneChainBuilder. getChains(Coordinate[] pts, java.lang.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 com.vividsolutions.jts.index.chain with parameters of type Coordinate Constructor Description MonotoneChain(Coordinate[] pts, int start, int end, java.lang.Object context) -
Uses of Coordinate in com.vividsolutions.jts.index.kdtree
Methods in com.vividsolutions.jts.index.kdtree that return Coordinate Modifier and Type Method Description CoordinateKdNode. getCoordinate()Returns the location of this nodestatic Coordinate[]KdTree. toCoordinates(java.util.Collection kdnodes)Converts a collection ofKdNodes to an array ofCoordinates.static Coordinate[]KdTree. toCoordinates(java.util.Collection kdnodes, boolean includeRepeated)Converts a collection ofKdNodes to an array ofCoordinates, specifying whether repeated nodes should be represented by multiple coordinates.Methods in com.vividsolutions.jts.index.kdtree with parameters of type Coordinate Modifier and Type Method Description KdNodeKdTree. insert(Coordinate p)Inserts a new point in the kd-tree, with no data.KdNodeKdTree. insert(Coordinate p, java.lang.Object data)Inserts a new point into the kd-tree.Constructors in com.vividsolutions.jts.index.kdtree with parameters of type Coordinate Constructor Description KdNode(Coordinate p, java.lang.Object data)Creates a new KdNode. -
Uses of Coordinate in com.vividsolutions.jts.index.quadtree
Methods in com.vividsolutions.jts.index.quadtree that return Coordinate Modifier and Type Method Description CoordinateKey. getCentre()CoordinateKey. getPoint() -
Uses of Coordinate in com.vividsolutions.jts.io
Methods in com.vividsolutions.jts.io with parameters of type Coordinate Modifier and Type Method Description static java.lang.StringWKTWriter. toLineString(Coordinate[] coord)Generates the WKT for a LINESTRING specified by aCoordinateSequence.static java.lang.StringWKTWriter. toLineString(Coordinate p0, Coordinate p1)Generates the WKT for a LINESTRING specified by twoCoordinates.static java.lang.StringWKTWriter. toPoint(Coordinate p0)Generates the WKT for a POINT specified by aCoordinate. -
Uses of Coordinate in com.vividsolutions.jts.linearref
Methods in com.vividsolutions.jts.linearref that return Coordinate Modifier and Type Method Description CoordinateLengthIndexedLine. extractPoint(double index)Computes theCoordinatefor the point on the line at the given index.CoordinateLengthIndexedLine. extractPoint(double index, double offsetDistance)Computes theCoordinatefor the point on the line at the given index, offset by the given distance.CoordinateLocationIndexedLine. extractPoint(LinearLocation index)Computes theCoordinatefor the point on the line at the given index.CoordinateLocationIndexedLine. extractPoint(LinearLocation index, double offsetDistance)Computes theCoordinatefor the point on the line at the given index, offset by the given distance.CoordinateLinearLocation. getCoordinate(Geometry linearGeom)Gets theCoordinatealong the given linearGeometrywhich is referenced by this location.CoordinateLinearGeometryBuilder. getLastCoordinate()CoordinateLinearIterator. getSegmentEnd()Gets the secondCoordinateof the current segment.CoordinateLinearIterator. getSegmentStart()Gets the firstCoordinateof the current segment.static CoordinateLinearLocation. pointAlongSegmentByFraction(Coordinate p0, Coordinate p1, double frac)Computes theCoordinateof a point a given fraction along the line segment (p0, p1).Methods in com.vividsolutions.jts.linearref with parameters of type Coordinate Modifier and Type Method Description voidLinearGeometryBuilder. add(Coordinate pt)Adds a point to the current line.voidLinearGeometryBuilder. add(Coordinate pt, boolean allowRepeatedPoints)Adds a point to the current line.doubleLengthIndexedLine. indexOf(Coordinate pt)Computes the minimum index for a point on the line.LinearLocationLocationIndexedLine. indexOf(Coordinate pt)Computes the index for a given point on the line.doubleLengthIndexedLine. indexOfAfter(Coordinate pt, double minIndex)Finds the index for a point on the line which is greater than the given index.LinearLocationLocationIndexedLine. indexOfAfter(Coordinate pt, LinearLocation minIndex)Finds the index for a point on the line which is greater than the given index.static CoordinateLinearLocation. pointAlongSegmentByFraction(Coordinate p0, Coordinate p1, double frac)Computes theCoordinateof a point a given fraction along the line segment (p0, p1).doubleLengthIndexedLine. project(Coordinate pt)Computes the index for the closest point on the line to the given point.LinearLocationLocationIndexedLine. project(Coordinate pt)Computes the index for the closest point on the line to the given point. -
Uses of Coordinate in com.vividsolutions.jts.math
Methods in com.vividsolutions.jts.math that return Coordinate Modifier and Type Method Description static CoordinateVector3D. normalize(Coordinate v)CoordinateVector2D. toCoordinate()CoordinateVector2D. translate(Coordinate coord)Methods in com.vividsolutions.jts.math with parameters of type Coordinate Modifier and Type Method Description static Vector2DVector2D. create(Coordinate coord)Creates a vector from aCoordinate.static Vector2DVector2D. create(Coordinate from, Coordinate to)Creates a vector with the direction and magnitude of the difference between the to and fromCoordinates.static Vector3DVector3D. create(Coordinate coord)Creates a vector from aCoordinate.static doubleVector3D. dot(Coordinate v1, Coordinate v2)Computes the 3D dot-product of twoCoordinates.static doubleVector3D. dot(Coordinate A, Coordinate B, Coordinate C, Coordinate D)Computes the dot product of the 3D vectors AB and CD.static doubleVector3D. length(Coordinate v)static CoordinateVector3D. normalize(Coordinate v)doublePlane3D. orientedDistance(Coordinate p)Computes the oriented distance from a point to the plane.CoordinateVector2D. translate(Coordinate coord)Constructors in com.vividsolutions.jts.math with parameters of type Coordinate Constructor Description Plane3D(Vector3D normal, Coordinate basePt)Vector2D(Coordinate v)Vector2D(Coordinate from, Coordinate to)Vector3D(Coordinate v)Vector3D(Coordinate from, Coordinate to) -
Uses of Coordinate in com.vividsolutions.jts.noding
Fields in com.vividsolutions.jts.noding declared as Coordinate Modifier and Type Field Description CoordinateSegmentNode. coordMethods in com.vividsolutions.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()CoordinateInteriorIntersectionFinder. getInteriorIntersection()Gets the computed location of the intersection.CoordinateSegmentIntersectionDetector. getIntersection()Gets the computed location of the intersection.Coordinate[]InteriorIntersectionFinder. 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 com.vividsolutions.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 com.vividsolutions.jts.noding with parameters of type Coordinate Constructor Description BasicSegmentString(Coordinate[] pts, java.lang.Object data)Creates a new segment string from a list of vertices.NodedSegmentString(Coordinate[] pts, java.lang.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 com.vividsolutions.jts.noding.snapround
Methods in com.vividsolutions.jts.noding.snapround that return Coordinate Modifier and Type Method Description CoordinateHotPixel. getCoordinate()Gets the coordinate this hot pixel is based at.Methods in com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.jts.operation
Methods in com.vividsolutions.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 com.vividsolutions.jts.operation.buffer
Methods in com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.jts.operation.buffer with parameters of type Coordinate Constructor Description BufferInputLineSimplifier(Coordinate[] inputLine) -
Uses of Coordinate in com.vividsolutions.jts.operation.buffer.validate
Methods in com.vividsolutions.jts.operation.buffer.validate that return Coordinate Modifier and Type Method Description CoordinatePointPairDistance. getCoordinate(int i)Coordinate[]PointPairDistance. getCoordinates()CoordinateBufferDistanceValidator. getErrorLocation()CoordinateBufferResultValidator. getErrorLocation()Methods in com.vividsolutions.jts.operation.buffer.validate with parameters of type Coordinate Modifier and Type Method Description static voidDistanceToPointFinder. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPointFinder. computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPointFinder. computeDistance(LineString line, Coordinate pt, PointPairDistance ptDist)static voidDistanceToPointFinder. computeDistance(Polygon poly, Coordinate pt, PointPairDistance ptDist)voidBufferCurveMaximumDistanceFinder.MaxPointDistanceFilter. filter(Coordinate pt)voidPointPairDistance. initialize(Coordinate p0, Coordinate p1)voidPointPairDistance. setMaximum(Coordinate p0, Coordinate p1)voidPointPairDistance. setMinimum(Coordinate p0, Coordinate p1) -
Uses of Coordinate in com.vividsolutions.jts.operation.distance
Methods in com.vividsolutions.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 nearestPointsCoordinateFacetSequence. getCoordinate(int index)CoordinateGeometryLocation. 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 com.vividsolutions.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 com.vividsolutions.jts.operation.distance3d
Methods in com.vividsolutions.jts.operation.distance3d that return Coordinate Modifier and Type Method Description CoordinateAxisPlaneCoordinateSequence. getCoordinate(int i)CoordinateAxisPlaneCoordinateSequence. getCoordinateCopy(int i)Coordinate[]Distance3DOp. nearestPoints()Report the coordinates of the nearest points in the input geometries.static Coordinate[]Distance3DOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points of two geometries.Coordinate[]AxisPlaneCoordinateSequence. toCoordinateArray()Methods in com.vividsolutions.jts.operation.distance3d with parameters of type Coordinate Modifier and Type Method Description voidAxisPlaneCoordinateSequence. getCoordinate(int index, Coordinate coord)booleanPlanarPolygon3D. intersects(Coordinate intPt)booleanPlanarPolygon3D. intersects(Coordinate pt, LineString ring) -
Uses of Coordinate in com.vividsolutions.jts.operation.linemerge
Constructors in com.vividsolutions.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 com.vividsolutions.jts.operation.overlay
Methods in com.vividsolutions.jts.operation.overlay with parameters of type Coordinate Modifier and Type Method Description booleanPolygonBuilder. containsPoint(Coordinate p)Checks the current set of shells (with their associated holes) to see if any of them contain the point.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 com.vividsolutions.jts.operation.overlay.snap
Methods in com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.jts.operation.overlay.validate
Methods in com.vividsolutions.jts.operation.overlay.validate that return Coordinate Modifier and Type Method Description CoordinateOverlayResultValidator. getInvalidLocation()Methods in com.vividsolutions.jts.operation.overlay.validate with parameters of type Coordinate Modifier and Type Method Description intFuzzyPointLocator. getLocation(Coordinate pt) -
Uses of Coordinate in com.vividsolutions.jts.operation.relate
Methods in com.vividsolutions.jts.operation.relate with parameters of type Coordinate Modifier and Type Method Description NodeRelateNodeFactory. createNode(Coordinate coord)Constructors in com.vividsolutions.jts.operation.relate with parameters of type Coordinate Constructor Description RelateNode(Coordinate coord, EdgeEndStar edges) -
Uses of Coordinate in com.vividsolutions.jts.operation.valid
Methods in com.vividsolutions.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()CoordinateRepeatedPointTester. getCoordinate()CoordinateTopologyValidationError. getCoordinate()Returns the location of this error (on theGeometrycontaining the error).CoordinateConsistentAreaTester. getInvalidPoint()CoordinateIndexedNestedRingTester. getNestedPoint()CoordinateQuadtreeNestedRingTester. getNestedPoint()CoordinateSimpleNestedRingTester. getNestedPoint()CoordinateSweeplineNestedRingTester. getNestedPoint()Methods in com.vividsolutions.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 searchCoordsbooleanRepeatedPointTester. hasRepeatedPoint(Coordinate[] coord)static booleanIsValidOp. isValid(Coordinate coord)Checks whether a coordinate is valid for processing.Constructors in com.vividsolutions.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 com.vividsolutions.jts.planargraph
Fields in com.vividsolutions.jts.planargraph declared as Coordinate Modifier and Type Field Description protected CoordinateDirectedEdge. p0protected CoordinateDirectedEdge. p1protected CoordinateNode. ptThe location of this NodeMethods in com.vividsolutions.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 wich 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 com.vividsolutions.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 com.vividsolutions.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 com.vividsolutions.jts.precision
Methods in com.vividsolutions.jts.precision that return Coordinate Modifier and Type Method Description Coordinate[]PrecisionReducerCoordinateOperation. edit(Coordinate[] coordinates, Geometry geom)CoordinateCommonBitsRemover. getCommonCoordinate()The common bits of the Coordinates in the supplied Geometries.Methods in com.vividsolutions.jts.precision with parameters of type Coordinate Modifier and Type Method Description Coordinate[]PrecisionReducerCoordinateOperation. edit(Coordinate[] coordinates, Geometry geom) -
Uses of Coordinate in com.vividsolutions.jts.shape
Methods in com.vividsolutions.jts.shape that return Coordinate Modifier and Type Method Description protected CoordinateGeometricShapeBuilder. createCoord(double x, double y)CoordinateGeometricShapeBuilder. getCentre() -
Uses of Coordinate in com.vividsolutions.jts.shape.fractal
Methods in com.vividsolutions.jts.shape.fractal with parameters of type Coordinate Modifier and Type Method Description voidKochSnowflakeBuilder. addSide(int level, Coordinate p0, Coordinate p1) -
Uses of Coordinate in com.vividsolutions.jts.shape.random
Methods in com.vividsolutions.jts.shape.random that return Coordinate Modifier and Type Method Description protected CoordinateRandomPointsBuilder. createCoord(double x, double y)protected CoordinateRandomPointsBuilder. createRandomCoord(Envelope env)Methods in com.vividsolutions.jts.shape.random with parameters of type Coordinate Modifier and Type Method Description protected booleanRandomPointsBuilder. isInExtent(Coordinate p) -
Uses of Coordinate in com.vividsolutions.jts.triangulate
Methods in com.vividsolutions.jts.triangulate that return Coordinate Modifier and Type Method Description CoordinateConstraintSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)Finds a point at which to split an encroached segment to allow the original segment to appear as edges in a constrained Delaunay triangulation.CoordinateMidpointSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)Gets the midpoint of the split segmentCoordinateNonEncroachingSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)A basic strategy for finding split points when nothing extra is known about the geometry of the situation.CoordinateConstraintEnforcementException. getCoordinate()Gets the approximate location of this error.CoordinateSegment. getEnd()Gets the end coordinate of the segmentCoordinateSplitSegment. getSplitPoint()CoordinateSegment. getStart()Gets the start coordinate of the segmentCoordinateSegment. intersection(Segment s)Computes the intersection point between this segment and another one.static CoordinateNonEncroachingSplitPointFinder. projectedSplitPoint(Segment seg, Coordinate encroachPt)Computes a split point which is the projection of the encroaching point on the segmentMethods in com.vividsolutions.jts.triangulate with parameters of type Coordinate Modifier and Type Method Description ConstraintVertexConstraintVertexFactory. createVertex(Coordinate p, Segment constraintSeg)CoordinateConstraintSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)Finds a point at which to split an encroached segment to allow the original segment to appear as edges in a constrained Delaunay triangulation.CoordinateMidpointSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)Gets the midpoint of the split segmentCoordinateNonEncroachingSplitPointFinder. findSplitPoint(Segment seg, Coordinate encroachPt)A basic strategy for finding split points when nothing extra is known about the geometry of the situation.voidConformingDelaunayTriangulator. insertSite(Coordinate p)Inserts a site into the triangulation, maintaining the conformal Delaunay property.static CoordinateNonEncroachingSplitPointFinder. projectedSplitPoint(Segment seg, Coordinate encroachPt)Computes a split point which is the projection of the encroaching point on the segmentvoidSplitSegment. splitAt(double length, Coordinate endPt)voidSplitSegment. splitAt(Coordinate pt)static CoordinateListDelaunayTriangulationBuilder. unique(Coordinate[] coords)Constructors in com.vividsolutions.jts.triangulate with parameters of type Coordinate Constructor Description ConstraintEnforcementException(java.lang.String msg, Coordinate pt)Creates a new instance with a given message and approximate location.ConstraintVertex(Coordinate p)Creates a new constraint vertexSegment(Coordinate p0, Coordinate p1)Creates a new instance for the given points.Segment(Coordinate p0, Coordinate p1, java.lang.Object data)Creates a new instance for the given points, with associated external data. -
Uses of Coordinate in com.vividsolutions.jts.triangulate.quadedge
Methods in com.vividsolutions.jts.triangulate.quadedge that return Coordinate Modifier and Type Method Description CoordinateQuadEdgeTriangle. getCoordinate(int i)CoordinateVertex. getCoordinate()Coordinate[]QuadEdgeTriangle. getCoordinates()Methods in com.vividsolutions.jts.triangulate.quadedge with parameters of type Coordinate Modifier and Type Method Description booleanQuadEdgeTriangle. contains(Coordinate pt)static booleanQuadEdgeTriangle. contains(QuadEdge[] tri, Coordinate pt)Tests whether the point pt is contained in the triangle defined by 3QuadEdgees.static booleanQuadEdgeTriangle. contains(Vertex[] tri, Coordinate pt)Tests whether the point pt is contained in the triangle defined by 3Vertexes.static doubleVertex. interpolateZ(Coordinate p, Coordinate p0, Coordinate p1)Computes the interpolated Z-value for a point p lying on the segment p0-p1static doubleVertex. interpolateZ(Coordinate p, Coordinate v0, Coordinate v1, Coordinate v2)Interpolates the Z-value (height) of a point enclosed in a triangle whose vertices all have Z values.static booleanTrianglePredicate. isInCircleCC(Coordinate a, Coordinate b, Coordinate c, Coordinate p)Computes the inCircle test using distance from the circumcentre.static booleanTrianglePredicate. isInCircleDDFast(Coordinate a, Coordinate b, Coordinate c, Coordinate p)static booleanTrianglePredicate. isInCircleDDNormalized(Coordinate a, Coordinate b, Coordinate c, Coordinate p)static booleanTrianglePredicate. isInCircleDDSlow(Coordinate a, Coordinate b, Coordinate c, Coordinate p)Tests if a point is inside the circle defined by the triangle with vertices a, b, c (oriented counter-clockwise).static booleanTrianglePredicate. isInCircleNonRobust(Coordinate a, Coordinate b, Coordinate c, Coordinate p)Tests if a point is inside the circle defined by the triangle with vertices a, b, c (oriented counter-clockwise).static booleanTrianglePredicate. isInCircleNormalized(Coordinate a, Coordinate b, Coordinate c, Coordinate p)Tests if a point is inside the circle defined by the triangle with vertices a, b, c (oriented counter-clockwise).static booleanTrianglePredicate. isInCircleRobust(Coordinate a, Coordinate b, Coordinate c, Coordinate p)Tests if a point is inside the circle defined by the triangle with vertices a, b, c (oriented counter-clockwise).booleanQuadEdgeSubdivision. isOnEdge(QuadEdge e, Coordinate p)Tests whether aCoordinatelies on aQuadEdge, up to a tolerance determined by the subdivision tolerance.QuadEdgeQuadEdgeSubdivision. locate(Coordinate p)Finds a quadedge of a triangle containing a location specified by aCoordinate, if one exists.QuadEdgeQuadEdgeSubdivision. locate(Coordinate p0, Coordinate p1)Locates the edge between the given vertices, if it exists in the subdivision.static DDTrianglePredicate. triAreaDDFast(Coordinate a, Coordinate b, Coordinate c)Constructors in com.vividsolutions.jts.triangulate.quadedge with parameters of type Coordinate Constructor Description Vertex(Coordinate _p) -
Uses of Coordinate in com.vividsolutions.jts.util
Fields in com.vividsolutions.jts.util declared as Coordinate Modifier and Type Field Description CoordinateGeometricShapeFactory.Dimensions. baseCoordinateGeometricShapeFactory.Dimensions. centreMethods in com.vividsolutions.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[]CoordinateArrayFilter. getCoordinates()Returns the gatheredCoordinates.Coordinate[]UniqueCoordinateArrayFilter. getCoordinates()Returns the gatheredCoordinates.Methods in com.vividsolutions.jts.util with parameters of type Coordinate Modifier and Type Method Description static voidDebug. breakIfEqual(Coordinate p0, Coordinate p1, double tolerance)protected CoordinateGeometricShapeFactory. coordTrans(double x, double y, Coordinate trans)static booleanDebug. equals(Coordinate c1, Coordinate c2, double tolerance)voidCoordinateArrayFilter. filter(Coordinate coord)voidCoordinateCountFilter. filter(Coordinate coord)voidUniqueCoordinateArrayFilter. filter(Coordinate coord)static Coordinate[]UniqueCoordinateArrayFilter. filterCoordinates(Coordinate[] coords)Convenience method which allows running the filter over an array ofCoordinates.static booleanDebug. hasSegment(Geometry geom, Coordinate p0, Coordinate p1)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 boxstatic LineStringDebug. toLine(Coordinate p0, Coordinate p1)static LineStringDebug. toLine(Coordinate p0, Coordinate p1, Coordinate p2)static LineStringDebug. toLine(Coordinate p0, Coordinate p1, Coordinate p2, Coordinate p3) -
Uses of Coordinate in com.vividsolutions.jtsexample.geom
Subclasses of Coordinate in com.vividsolutions.jtsexample.geom Modifier and Type Class Description classExtendedCoordinateMethods in com.vividsolutions.jtsexample.geom that return Coordinate Modifier and Type Method Description CoordinateExtendedCoordinateSequence. getCoordinate(int i)CoordinateExtendedCoordinateSequence. getCoordinateCopy(int index)Coordinate[]ExtendedCoordinateSequence. toCoordinateArray()Methods in com.vividsolutions.jtsexample.geom with parameters of type Coordinate Modifier and Type Method Description static ExtendedCoordinate[]ExtendedCoordinateSequence. copy(Coordinate[] coordinates)CoordinateSequenceExtendedCoordinateSequenceFactory. create(Coordinate[] coordinates)Returns an ExtendedCoordinateSequence based on the given array -- the array is used directly if it is an instance of ExtendedCoordinate[]; otherwise it is copied.voidExtendedCoordinateSequence. getCoordinate(int index, Coordinate coord)Constructors in com.vividsolutions.jtsexample.geom with parameters of type Coordinate Constructor Description ExtendedCoordinate(Coordinate coord)ExtendedCoordinateSequence(Coordinate[] copyCoords)Constructor that makes a copy of an array of Coordinates. -
Uses of Coordinate in com.vividsolutions.jtstest.clean
Methods in com.vividsolutions.jtstest.clean that return Coordinate Modifier and Type Method Description static Coordinate[]CleanDuplicatePoints. removeDuplicatePoints(Coordinate[] coord)Methods in com.vividsolutions.jtstest.clean with parameters of type Coordinate Modifier and Type Method Description static Coordinate[]CleanDuplicatePoints. removeDuplicatePoints(Coordinate[] coord) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder
Methods in com.vividsolutions.jtstest.testbuilder that return Coordinate Modifier and Type Method Description CoordinateValidPanel. getMarkPoint()Methods in com.vividsolutions.jtstest.testbuilder with parameters of type Coordinate Modifier and Type Method Description voidJTSTestBuilderFrame. displayInfo(Coordinate modelPt)java.lang.StringGeometryEditPanel. getInfo(Coordinate pt)voidGeometryEditPanel. setHighlightPoint(Coordinate pt) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.controller
Methods in com.vividsolutions.jtstest.testbuilder.controller with parameters of type Coordinate Modifier and Type Method Description static voidJTSTestBuilderController. copyComponentToClipboard(Coordinate pt)static voidJTSTestBuilderController. extractComponentsToTestCase(Coordinate pt) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.geom
Methods in com.vividsolutions.jtstest.testbuilder.geom that return Coordinate Modifier and Type Method Description static CoordinateNearestPointFinder. findNearestPoint(Geometry geom, Coordinate pt, double tolerance)static Coordinate[]AdjacentVertexFinder. findVertices(Geometry geom, Coordinate testPt)CoordinateGeometryLocation. getCoordinate()CoordinateVertexLocater.Location. getCoordinate()CoordinateNearestPointFinder. getNearestPoint(Coordinate pt, double tolerance)CoordinateVertexLocater. getVertex(Coordinate testPt, double tolerance)Coordinate[]AdjacentVertexFinder. getVertices(Coordinate testPt)static CoordinateVertexLocater. locateVertex(Geometry geom, Coordinate testPt, double tolerance)Methods in com.vividsolutions.jtstest.testbuilder.geom with parameters of type Coordinate Modifier and Type Method Description GeometryGeometryCombiner. addLineString(Geometry orig, Coordinate[] pts)GeometryGeometryCombiner. addPoint(Geometry orig, Coordinate pt)GeometryGeometryCombiner. addPolygonRing(Geometry orig, Coordinate[] pts)static CoordinateNearestPointFinder. findNearestPoint(Geometry geom, Coordinate pt, double tolerance)static Coordinate[]AdjacentVertexFinder. findVertices(Geometry geom, Coordinate testPt)java.util.ListComponentLocater. getComponents(Coordinate queryPt, double tolerance)GeometryLocationGeometryPointLocater. getLocation(Coordinate testPt, boolean vertexOnly, double tolerance)java.util.ListFacetLocater. getLocations(Coordinate queryPt, double tolerance)java.util.ListVertexLocater. getLocations(Coordinate testPt, double tolerance)CoordinateNearestPointFinder. getNearestPoint(Coordinate pt, double tolerance)CoordinateVertexLocater. getVertex(Coordinate testPt, double tolerance)Coordinate[]AdjacentVertexFinder. getVertices(Coordinate testPt)static GeometryGeometryVertexInserter. insert(Geometry geom, LineString line, int segIndex, Coordinate newVertex)static GeometryLocationGeometryPointLocater. locateNonVertexPoint(Geometry geom, Coordinate testPt, double tolerance)static GeometryLocationGeometryPointLocater. locateVertex(Geometry geom, Coordinate testPt, double tolerance)static CoordinateVertexLocater. locateVertex(Geometry geom, Coordinate testPt, double tolerance)static GeometryGeometryVertexMover. move(Geometry geom, Coordinate fromLoc, Coordinate toLoc)Constructors in com.vividsolutions.jtstest.testbuilder.geom with parameters of type Coordinate Constructor Description GeometryLocation(Geometry parent, Geometry component, int[] componentPath, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int index, Coordinate pt) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.model
Methods in com.vividsolutions.jtstest.testbuilder.model that return Coordinate Modifier and Type Method Description Coordinate[]GeometryEditModel. findAdjacentVertices(Coordinate vertex)CoordinateGeometryEditModel. locateVertexPt(Coordinate testPt, double tolerance)Methods in com.vividsolutions.jtstest.testbuilder.model with parameters of type Coordinate Modifier and Type Method Description Coordinate[]GeometryEditModel. findAdjacentVertices(Coordinate vertex)GeometryLayerList. getComponent(Coordinate pt, double tolerance)GeometryLocationGeometryEditModel. locateNonVertexPoint(Coordinate testPt, double tolerance)Locates a non-vertex point on a line segment of the current geometry within the given tolerance, if any.GeometryLocationGeometryEditModel. locateVertex(Coordinate testPt, double tolerance)Locates a vertex of the current geometry within the given tolerance, if any.CoordinateGeometryEditModel. locateVertexPt(Coordinate testPt, double tolerance)voidGeometryEditModel. moveVertex(Coordinate fromLoc, Coordinate toLoc) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.topostretch
Methods in com.vividsolutions.jtstest.testbuilder.topostretch that return Coordinate Modifier and Type Method Description CoordinateStretchedVertex. getStretchedVertex(double dist)Gets the point which this near vertex will be stretched to (by a given distance)CoordinateStretchedVertex. getVertexCoordinate()Constructors in com.vividsolutions.jtstest.testbuilder.topostretch with parameters of type Coordinate Constructor Description StretchedVertex(Coordinate vertexPt, Coordinate[] parentLine, int parentIndex, Coordinate nearPt, Coordinate[] nearPts, int nearIndex)Creates a vertex which lies near a vertexStretchedVertex(Coordinate vertexPt, Coordinate[] parentLine, int parentIndex, LineSegment nearSeg)Creates a vertex for a point which lies near a line segment -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.ui
Methods in com.vividsolutions.jtstest.testbuilder.ui that return Coordinate Modifier and Type Method Description CoordinateViewport. toModelCoordinate(java.awt.geom.Point2D viewPt)Methods in com.vividsolutions.jtstest.testbuilder.ui with parameters of type Coordinate Modifier and Type Method Description booleanViewport. containsInModel(Coordinate p)java.lang.StringGeometryLocationsWriter. OLDwriteLocation(Geometry geom, Coordinate p, double tolerance)java.awt.geom.Point2DViewport. toView(Coordinate modelCoordinate)voidViewport. transform(Coordinate modelCoordinate, java.awt.geom.Point2D point)java.lang.StringGeometryLocationsWriter. writeComponentLocation(Geometry geom, Coordinate p, double tolerance)java.lang.StringGeometryLocationsWriter. writeFacetLocation(Geometry geom, Coordinate p, double tolerance)static java.lang.StringGeometryLocationsWriter. writeLocation(LayerList layers, Coordinate pt, double tolerance)java.lang.StringGeometryLocationsWriter. writeLocation(Layer lyr, Coordinate p, double tolerance)java.lang.StringGeometryLocationsWriter. writeLocationString(LayerList layers, Coordinate pt, double tolerance)java.lang.StringGeometryLocationsWriter. writeSingleLocation(Layer lyr, Coordinate p, double tolerance) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.ui.style
Methods in com.vividsolutions.jtstest.testbuilder.ui.style with parameters of type Coordinate Modifier and Type Method Description protected voidSegmentStyle. paint(int index, Coordinate p0, Coordinate p1, int lineType, Viewport viewport, java.awt.Graphics2D g) -
Uses of Coordinate in com.vividsolutions.jtstest.testbuilder.ui.tools
Fields in com.vividsolutions.jtstest.testbuilder.ui.tools declared as Coordinate Modifier and Type Field Description protected CoordinateLineBandTool. tentativeCoordinateMethods in com.vividsolutions.jtstest.testbuilder.ui.tools that return Coordinate Modifier and Type Method Description CoordinateLineBandTool. lastCoordinate()protected Coordinate[]LineBandTool. toArray(java.util.List coordinates)protected CoordinateBasicTool. toModelSnapped(java.awt.geom.Point2D p)protected CoordinateBasicTool. toModelSnappedIfCloseToViewGrid(java.awt.geom.Point2D p)protected CoordinateBasicTool. toModelSnappedToViewGrid(java.awt.geom.Point2D p)Methods in com.vividsolutions.jtstest.testbuilder.ui.tools with parameters of type Coordinate Modifier and Type Method Description protected voidLineBandTool. add(Coordinate c)
-