Uses of Interface
org.locationtech.jts.geom.CoordinateSequence
-
Packages that use CoordinateSequence Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.algorithm.distance Classes to compute distance metrics between geometries.org.locationtech.jts.densify Classes to perform densification on geometries.org.locationtech.jts.geom Contains theGeometryinterface hierarchy and supporting classes.org.locationtech.jts.geom.impl Implementations of interfaces for geometric structures.org.locationtech.jts.geom.util Provides classes that parse and modify Geometry objects.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jts.operation.buffer.validate Classes to perform validation of the results of buffer operations.org.locationtech.jts.operation.distance Provides classes for computing the distance between geometriesorg.locationtech.jts.operation.distance3d org.locationtech.jts.operation.overlay.snap Classes to perform snapping on geometries to prepare them for overlay operations.org.locationtech.jts.operation.predicate Classes which implement topological predicates optimized for particular kinds of geometries.org.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.org.locationtech.jts.simplify Classes which implement algorithms for simplifying or generalizing geometries.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.geom org.locationtech.jtsexample.io.gml2 org.locationtech.jtstest.testbuilder.geom org.locationtech.jtstest.util.io -
-
Uses of CoordinateSequence in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm with parameters of type CoordinateSequence Modifier and Type Method Description static booleanPointLocation. isOnLine(Coordinate p, CoordinateSequence line)Tests whether a point lies on the line defined by aCoordinateSequence.static doubleCGAlgorithms. length(CoordinateSequence pts)Deprecated.Computes the length of a linestring specified by a sequence of points.static intRayCrossingCounter. locatePointInRing(Coordinate p, CoordinateSequence ring)Determines theLocationof a point in a ring.static doubleLength. ofLine(CoordinateSequence pts)Computes the length of a linestring specified by a sequence of points.static doubleArea. ofRing(CoordinateSequence ring)Computes the area for a ring.static doubleArea. ofRingSigned(CoordinateSequence ring)Computes the signed area for a ring.static doubleCGAlgorithms. signedArea(CoordinateSequence ring)Deprecated.Computes the signed area for a ring. -
Uses of CoordinateSequence in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type CoordinateSequence Modifier and Type Method Description voidDiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter. filter(CoordinateSequence seq, int index) -
Uses of CoordinateSequence in org.locationtech.jts.densify
Methods in org.locationtech.jts.densify that return CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceDensifier.DensifyTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Methods in org.locationtech.jts.densify with parameters of type CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceDensifier.DensifyTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent) -
Uses of CoordinateSequence in org.locationtech.jts.geom
Classes in org.locationtech.jts.geom that implement CoordinateSequence Modifier and Type Class Description (package private) classDefaultCoordinateSequenceDeprecated.no longer usedFields in org.locationtech.jts.geom declared as CoordinateSequence Modifier and Type Field Description private CoordinateSequencePoint. coordinatesTheCoordinatewrapped by thisPoint.protected CoordinateSequenceLineString. pointsThe points of thisLineString.Methods in org.locationtech.jts.geom that return CoordinateSequence Modifier and Type Method Description CoordinateSequenceCoordinateSequence. copy()Returns a deep copy of this collection.CoordinateSequenceCoordinateSequenceFactory. create(int size, int dimension)Creates aCoordinateSequenceof the specified size and dimension.CoordinateSequenceCoordinateSequenceFactory. create(Coordinate[] coordinates)Returns aCoordinateSequencebased on the given array.CoordinateSequenceCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Creates aCoordinateSequencewhich is a copy of the givenCoordinateSequence.CoordinateSequenceDefaultCoordinateSequenceFactory. create(int size, int dimension)Deprecated.CoordinateSequenceDefaultCoordinateSequenceFactory. create(Coordinate[] coordinates)Deprecated.Returns a DefaultCoordinateSequence based on the given array (the array is not copied).CoordinateSequenceDefaultCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Deprecated.private static CoordinateSequenceCoordinateSequences. createClosedRing(CoordinateSequenceFactory fact, CoordinateSequence seq, int size)static CoordinateSequenceCoordinateSequences. ensureValidRing(CoordinateSequenceFactory fact, CoordinateSequence seq)Ensures that a CoordinateSequence forms a valid ring, returning a new closed sequence of the correct length if required.static CoordinateSequenceCoordinateSequences. extend(CoordinateSequenceFactory fact, CoordinateSequence seq, int size)CoordinateSequenceLineString. getCoordinateSequence()CoordinateSequencePoint. getCoordinateSequence()Methods in org.locationtech.jts.geom with parameters of type CoordinateSequence Modifier and Type Method Description protected intCoordinateSequenceComparator. compareCoordinate(CoordinateSequence s1, CoordinateSequence s2, int i, int dimension)Compares the same coordinate of twoCoordinateSequences along the given number of dimensions.static voidCoordinateSequences. copy(CoordinateSequence src, int srcPos, CoordinateSequence dest, int destPos, int length)Copies a section of aCoordinateSequenceto anotherCoordinateSequence.static voidCoordinateSequences. copyCoord(CoordinateSequence src, int srcPos, CoordinateSequence dest, int destPos)Copies a coordinate of aCoordinateSequenceto anotherCoordinateSequence.CoordinateSequenceCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Creates aCoordinateSequencewhich is a copy of the givenCoordinateSequence.CoordinateSequenceDefaultCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Deprecated.private static CoordinateSequenceCoordinateSequences. createClosedRing(CoordinateSequenceFactory fact, CoordinateSequence seq, int size)LinearRingGeometryFactory. createLinearRing(CoordinateSequence coordinates)Creates aLinearRingusing the givenCoordinateSequence.LineStringGeometryFactory. createLineString(CoordinateSequence coordinates)Creates a LineString using the given CoordinateSequence.MultiPointGeometryFactory. createMultiPoint(CoordinateSequence coordinates)Creates aMultiPointusing the points in the givenCoordinateSequence.PointGeometryFactory. createPoint(CoordinateSequence coordinates)Creates a Point using the given CoordinateSequence; a null or empty CoordinateSequence will create an empty Point.PolygonGeometryFactory. createPolygon(CoordinateSequence shell)Constructs aPolygonwith the given exterior boundary.static CoordinateSequenceCoordinateSequences. ensureValidRing(CoordinateSequenceFactory fact, CoordinateSequence seq)Ensures that a CoordinateSequence forms a valid ring, returning a new closed sequence of the correct length if required.OctagonalEnvelopeOctagonalEnvelope. expandToInclude(CoordinateSequence seq)static CoordinateSequenceCoordinateSequences. extend(CoordinateSequenceFactory fact, CoordinateSequence seq, int size)voidCoordinateSequenceFilter. filter(CoordinateSequence seq, int i)Performs an operation on a coordinate in aCoordinateSequence.private voidLineString. init(CoordinateSequence points)private voidPoint. init(CoordinateSequence coordinates)static booleanCoordinateSequences. isEqual(CoordinateSequence cs1, CoordinateSequence cs2)Tests whether twoCoordinateSequences are equal.static booleanCoordinateSequences. isRing(CoordinateSequence seq)Tests whether aCoordinateSequenceforms a validLinearRing, by checking the sequence length and closure (whether the first and last points are identical in 2D).static voidCoordinateSequences. reverse(CoordinateSequence seq)Reverses the coordinates in a sequence in-place.static voidCoordinateSequences. swap(CoordinateSequence seq, int i, int j)Swaps two coordinates in a sequence.static java.lang.StringCoordinateSequences. toString(CoordinateSequence cs)Creates a string representation of aCoordinateSequence.Constructors in org.locationtech.jts.geom with parameters of type CoordinateSequence Constructor Description DefaultCoordinateSequence(CoordinateSequence coordSeq)Deprecated.Creates a new sequence based on a deep copy of the givenCoordinateSequence.LinearRing(CoordinateSequence points, GeometryFactory factory)Constructs aLinearRingwith the vertices specified by the givenCoordinateSequence.LineString(CoordinateSequence points, GeometryFactory factory)Constructs aLineStringwith the given points.Point(CoordinateSequence coordinates, GeometryFactory factory) -
Uses of CoordinateSequence in org.locationtech.jts.geom.impl
Classes in org.locationtech.jts.geom.impl that implement CoordinateSequence Modifier and Type Class Description classCoordinateArraySequenceACoordinateSequencebacked by an array ofCoordinates.classPackedCoordinateSequenceACoordinateSequenceimplementation based on a packed arrays.static classPackedCoordinateSequence.DoublePacked coordinate sequence implementation based on doublesstatic classPackedCoordinateSequence.FloatPacked coordinate sequence implementation based on floatsMethods in org.locationtech.jts.geom.impl that return CoordinateSequence Modifier and Type Method Description CoordinateSequenceCoordinateArraySequenceFactory. create(int size, int dimension)The created sequence dimension is clamped to be <= 3.CoordinateSequenceCoordinateArraySequenceFactory. create(Coordinate[] coordinates)Returns aCoordinateArraySequencebased on the given array (the array is not copied).CoordinateSequenceCoordinateArraySequenceFactory. create(CoordinateSequence coordSeq)CoordinateSequencePackedCoordinateSequenceFactory. create(double[] packedCoordinates, int dimension)CoordinateSequencePackedCoordinateSequenceFactory. create(float[] packedCoordinates, int dimension)CoordinateSequencePackedCoordinateSequenceFactory. create(int size, int dimension)CoordinateSequencePackedCoordinateSequenceFactory. create(Coordinate[] coordinates)CoordinateSequencePackedCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Methods in org.locationtech.jts.geom.impl with parameters of type CoordinateSequence Modifier and Type Method Description CoordinateSequenceCoordinateArraySequenceFactory. create(CoordinateSequence coordSeq)CoordinateSequencePackedCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Constructors in org.locationtech.jts.geom.impl with parameters of type CoordinateSequence Constructor Description CoordinateArraySequence(CoordinateSequence coordSeq)Creates a new sequence based on a deep copy of the givenCoordinateSequence. -
Uses of CoordinateSequence in org.locationtech.jts.geom.util
Methods in org.locationtech.jts.geom.util that return CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceGeometryTransformer. copy(CoordinateSequence seq)Convenience method which provides a standard way of copyingCoordinateSequencesprotected CoordinateSequenceGeometryTransformer. createCoordinateSequence(Coordinate[] coords)Convenience method which provides standard way of creating aCoordinateSequenceabstract CoordinateSequenceGeometryEditor.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry)Edits aCoordinateSequencefrom aGeometry.protected CoordinateSequenceGeometryTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Transforms aCoordinateSequence.Methods in org.locationtech.jts.geom.util with parameters of type CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceGeometryTransformer. copy(CoordinateSequence seq)Convenience method which provides a standard way of copyingCoordinateSequencesabstract CoordinateSequenceGeometryEditor.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry)Edits aCoordinateSequencefrom aGeometry.voidAffineTransformation. filter(CoordinateSequence seq, int i)Transforms the i'th coordinate in the input sequencevoidAffineTransformation. transform(CoordinateSequence seq, int i)Applies this transformation to the i'th coordinate in the given CoordinateSequence.protected CoordinateSequenceGeometryTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Transforms aCoordinateSequence. -
Uses of CoordinateSequence in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return CoordinateSequence Modifier and Type Method Description private CoordinateSequenceWKBReader. readCoordinateSequence(int size)private CoordinateSequenceWKBReader. readCoordinateSequenceLineString(int size)private CoordinateSequenceWKBReader. readCoordinateSequenceRing(int size)Methods in org.locationtech.jts.io with parameters of type CoordinateSequence Modifier and Type Method Description private voidWKTWriter. appendCoordinate(CoordinateSequence seq, int i, java.io.Writer writer)Appends the i'th coordinate from the sequence to the writerprivate voidWKTWriter. appendSequenceText(CoordinateSequence seq, int level, boolean doIndent, java.io.Writer writer)Converts aLineStringto <LineString Text> format, then appends it to the writer.static java.lang.StringWKTWriter. toLineString(CoordinateSequence seq)Generates the WKT for a LINESTRING specified by aCoordinateSequence.private voidWKBWriter. writeCoordinate(CoordinateSequence seq, int index, OutStream os)private voidWKBWriter. writeCoordinateSequence(CoordinateSequence seq, boolean writeSize, OutStream os) -
Uses of CoordinateSequence in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that return CoordinateSequence Modifier and Type Method Description private CoordinateSequenceGeoJsonReader. createCoordinate(java.util.List<java.lang.Number> ordinates)private CoordinateSequenceGeoJsonReader. createCoordinateSequence(java.util.List<java.util.List<java.lang.Number>> coordinates)Methods in org.locationtech.jts.io.geojson with parameters of type CoordinateSequence Modifier and Type Method Description private java.lang.StringGeoJsonWriter. getJsonString(CoordinateSequence coordinateSequence) -
Uses of CoordinateSequence in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type CoordinateSequence Modifier and Type Method Description voidBufferCurveMaximumDistanceFinder.MaxMidpointDistanceFilter. filter(CoordinateSequence seq, int index) -
Uses of CoordinateSequence in org.locationtech.jts.operation.distance
Fields in org.locationtech.jts.operation.distance declared as CoordinateSequence Modifier and Type Field Description private CoordinateSequenceFacetSequence. ptsMethods in org.locationtech.jts.operation.distance with parameters of type CoordinateSequence Modifier and Type Method Description private static voidFacetSequenceTreeBuilder. addFacetSequences(CoordinateSequence pts, java.util.List sections)Constructors in org.locationtech.jts.operation.distance with parameters of type CoordinateSequence Constructor Description FacetSequence(CoordinateSequence pts, int start)Creates a new sequence for a single point from a CoordinateSequence.FacetSequence(CoordinateSequence pts, int start, int end)Creates a new section based on a CoordinateSequence. -
Uses of CoordinateSequence in org.locationtech.jts.operation.distance3d
Classes in org.locationtech.jts.operation.distance3d that implement CoordinateSequence Modifier and Type Class Description classAxisPlaneCoordinateSequenceA CoordinateSequence wrapper which projects 3D coordinates into one of the three Cartesian axis planes, using the standard orthonormal projection (i.e.Fields in org.locationtech.jts.operation.distance3d declared as CoordinateSequence Modifier and Type Field Description private CoordinateSequenceAxisPlaneCoordinateSequence. seqMethods in org.locationtech.jts.operation.distance3d that return CoordinateSequence Modifier and Type Method Description private static CoordinateSequencePlanarPolygon3D. project(CoordinateSequence seq, int facingPlane)static CoordinateSequenceAxisPlaneCoordinateSequence. projectToXY(CoordinateSequence seq)Creates a wrapper projecting to the XY plane.static CoordinateSequenceAxisPlaneCoordinateSequence. projectToXZ(CoordinateSequence seq)Creates a wrapper projecting to the XZ plane.static CoordinateSequenceAxisPlaneCoordinateSequence. projectToYZ(CoordinateSequence seq)Creates a wrapper projecting to the YZ plane.Methods in org.locationtech.jts.operation.distance3d with parameters of type CoordinateSequence Modifier and Type Method Description private Vector3DPlanarPolygon3D. averageNormal(CoordinateSequence seq)Computes an average normal vector from a list of polygon coordinates.private CoordinatePlanarPolygon3D. averagePoint(CoordinateSequence seq)Computes a point which is the average of all coordinates in a sequence.private static CoordinateSequencePlanarPolygon3D. project(CoordinateSequence seq, int facingPlane)static CoordinateSequenceAxisPlaneCoordinateSequence. projectToXY(CoordinateSequence seq)Creates a wrapper projecting to the XY plane.static CoordinateSequenceAxisPlaneCoordinateSequence. projectToXZ(CoordinateSequence seq)Creates a wrapper projecting to the XZ plane.static CoordinateSequenceAxisPlaneCoordinateSequence. projectToYZ(CoordinateSequence seq)Creates a wrapper projecting to the YZ plane.Constructors in org.locationtech.jts.operation.distance3d with parameters of type CoordinateSequence Constructor Description AxisPlaneCoordinateSequence(CoordinateSequence seq, int[] indexMap) -
Uses of CoordinateSequence in org.locationtech.jts.operation.overlay.snap
Methods in org.locationtech.jts.operation.overlay.snap that return CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceSnapTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Methods in org.locationtech.jts.operation.overlay.snap with parameters of type CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceSnapTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent) -
Uses of CoordinateSequence in org.locationtech.jts.operation.predicate
Fields in org.locationtech.jts.operation.predicate declared as CoordinateSequence Modifier and Type Field Description private CoordinateSequenceGeometryContainsPointVisitor. rectSeq -
Uses of CoordinateSequence in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision with parameters of type CoordinateSequence Modifier and Type Method Description voidCommonBitsRemover.Translater. filter(CoordinateSequence seq, int i)voidCoordinatePrecisionReducerFilter. filter(CoordinateSequence seq, int i)Rounds the Coordinates in the sequence to match the PrecisionModelvoidSimpleMinimumClearance.ComputeMCCoordinateSequenceFilter. filter(CoordinateSequence seq, int i) -
Uses of CoordinateSequence in org.locationtech.jts.simplify
Methods in org.locationtech.jts.simplify that return CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceDouglasPeuckerSimplifier.DPTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceTopologyPreservingSimplifier.LineStringTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceVWSimplifier.VWTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Methods in org.locationtech.jts.simplify with parameters of type CoordinateSequence Modifier and Type Method Description protected CoordinateSequenceDouglasPeuckerSimplifier.DPTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceTopologyPreservingSimplifier.LineStringTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceVWSimplifier.VWTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent) -
Uses of CoordinateSequence in org.locationtech.jts.util
Methods in org.locationtech.jts.util with parameters of type CoordinateSequence Modifier and Type Method Description voidDebug.SegmentFindingFilter. filter(CoordinateSequence seq, int i) -
Uses of CoordinateSequence in org.locationtech.jtsexample.geom
Classes in org.locationtech.jtsexample.geom that implement CoordinateSequence Modifier and Type Class Description classExtendedCoordinateSequenceDemonstrates how to implement a CoordinateSequence for a new kind of coordinate (anExtendedCoordinatein this example).Methods in org.locationtech.jtsexample.geom that return CoordinateSequence Modifier and Type Method Description CoordinateSequenceExtendedCoordinateSequenceFactory. create(int size, int dimension)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.CoordinateSequenceExtendedCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Methods in org.locationtech.jtsexample.geom with parameters of type CoordinateSequence Modifier and Type Method Description static ExtendedCoordinate[]ExtendedCoordinateSequence. copy(CoordinateSequence coordSeq)CoordinateSequenceExtendedCoordinateSequenceFactory. create(CoordinateSequence coordSeq)Constructors in org.locationtech.jtsexample.geom with parameters of type CoordinateSequence Constructor Description ExtendedCoordinateSequence(CoordinateSequence coordSeq)Constructor that makes a copy of a CoordinateSequence. -
Uses of CoordinateSequence in org.locationtech.jtsexample.io.gml2
Methods in org.locationtech.jtsexample.io.gml2 with parameters of type CoordinateSequence Modifier and Type Method Description LinearRingFixingGeometryFactory. createLinearRing(CoordinateSequence cs) -
Uses of CoordinateSequence in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type CoordinateSequence Modifier and Type Method Description private voidGeometryPointLocater.NearestSegmentLocationFilter. checkSegment(LineString lineStr, CoordinateSequence seq, int i)private voidGeometryPointLocater.NearestSegmentLocationFilter. checkVertex(LineString lineStr, CoordinateSequence seq, int i)voidAdjacentVertexFinder.AdjacentVertexFilter. filter(CoordinateSequence seq, int i)voidNearestPointFinder.NearestPointFilter. filter(CoordinateSequence seq, int i)voidVertexLocater.NearestVertexFilter. filter(CoordinateSequence seq, int i)voidVertexLocater.NearVerticesFilter. filter(CoordinateSequence seq, int i)private voidFacetLocater. findLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations)private voidFacetLocater. findSegmentLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations)private voidFacetLocater. findVertexLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations) -
Uses of CoordinateSequence in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type CoordinateSequence Modifier and Type Method Description private voidSVGWriter. appendCoordinate(CoordinateSequence seq, int i, java.io.Writer writer)Appends the i'th coordinate from the sequence to the writerprivate voidSVGWriter. appendSequencePath(CoordinateSequence seq, int level, boolean doIndent, java.io.Writer writer)Converts aLineStringto <LineString Text> format, then appends it to the writer.private voidSVGWriter. appendSequencePoints(CoordinateSequence seq, int level, boolean doIndent, java.io.Writer writer)
-