Modifier and Type | Method and Description |
---|---|
static double |
CGAlgorithms.length(CoordinateSequence pts)
Computes the length of a linestring specified by a sequence of points.
|
static int |
RayCrossingCounter.locatePointInRing(Coordinate p,
CoordinateSequence ring)
Determines the
Location of a point in a ring. |
static double |
CGAlgorithms.signedArea(CoordinateSequence ring)
Computes the signed area for a ring.
|
Modifier and Type | Method and Description |
---|---|
void |
DiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter.filter(CoordinateSequence seq,
int index) |
Modifier and Type | Field and Description |
---|---|
protected CoordinateSequence |
LineString.points
The points of this
LineString . |
Modifier and Type | Method and Description |
---|---|
CoordinateSequence |
CoordinateSequenceFactory.create(Coordinate[] coordinates)
Returns a
CoordinateSequence based on the given array. |
CoordinateSequence |
DefaultCoordinateSequenceFactory.create(Coordinate[] coordinates)
Deprecated.
Returns a DefaultCoordinateSequence based on the given array (the array is
not copied).
|
CoordinateSequence |
CoordinateSequenceFactory.create(CoordinateSequence coordSeq)
Creates a
CoordinateSequence which is a copy
of the given CoordinateSequence . |
CoordinateSequence |
DefaultCoordinateSequenceFactory.create(CoordinateSequence coordSeq)
Deprecated.
|
CoordinateSequence |
CoordinateSequenceFactory.create(int size,
int dimension)
Creates a
CoordinateSequence of the specified size and dimension. |
CoordinateSequence |
DefaultCoordinateSequenceFactory.create(int size,
int dimension)
Deprecated.
|
static CoordinateSequence |
CoordinateSequences.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 CoordinateSequence |
CoordinateSequences.extend(CoordinateSequenceFactory fact,
CoordinateSequence seq,
int size) |
CoordinateSequence |
LineString.getCoordinateSequence() |
CoordinateSequence |
Point.getCoordinateSequence() |
Modifier and Type | Method and Description |
---|---|
protected int |
CoordinateSequenceComparator.compareCoordinate(CoordinateSequence s1,
CoordinateSequence s2,
int i,
int dimension)
Compares the same coordinate of two
CoordinateSequence s
along the given number of dimensions. |
static void |
CoordinateSequences.copy(CoordinateSequence src,
int srcPos,
CoordinateSequence dest,
int destPos,
int length)
Copies a section of a
CoordinateSequence to another CoordinateSequence . |
static void |
CoordinateSequences.copyCoord(CoordinateSequence src,
int srcPos,
CoordinateSequence dest,
int destPos)
Copies a coordinate of a
CoordinateSequence to another CoordinateSequence . |
CoordinateSequence |
CoordinateSequenceFactory.create(CoordinateSequence coordSeq)
Creates a
CoordinateSequence which is a copy
of the given CoordinateSequence . |
CoordinateSequence |
DefaultCoordinateSequenceFactory.create(CoordinateSequence coordSeq)
Deprecated.
|
LinearRing |
GeometryFactory.createLinearRing(CoordinateSequence coordinates)
Creates a
LinearRing using the given CoordinateSequence . |
LineString |
GeometryFactory.createLineString(CoordinateSequence coordinates)
Creates a LineString using the given CoordinateSequence.
|
MultiPoint |
GeometryFactory.createMultiPoint(CoordinateSequence coordinates)
Creates a
MultiPoint using the
points in the given CoordinateSequence . |
Point |
GeometryFactory.createPoint(CoordinateSequence coordinates)
Creates a Point using the given CoordinateSequence; a null or empty
CoordinateSequence will create an empty Point.
|
Polygon |
GeometryFactory.createPolygon(CoordinateSequence coordinates)
Constructs a
Polygon with the given exterior boundary. |
static CoordinateSequence |
CoordinateSequences.ensureValidRing(CoordinateSequenceFactory fact,
CoordinateSequence seq)
Ensures that a CoordinateSequence forms a valid ring,
returning a new closed sequence of the correct length if required.
|
OctagonalEnvelope |
OctagonalEnvelope.expandToInclude(CoordinateSequence seq) |
static CoordinateSequence |
CoordinateSequences.extend(CoordinateSequenceFactory fact,
CoordinateSequence seq,
int size) |
void |
CoordinateSequenceFilter.filter(CoordinateSequence seq,
int i)
Performs an operation on a coordinate in a
CoordinateSequence . |
static boolean |
CoordinateSequences.isEqual(CoordinateSequence cs1,
CoordinateSequence cs2)
Tests whether two
CoordinateSequence s are equal. |
static boolean |
CoordinateSequences.isRing(CoordinateSequence seq)
Tests whether a
CoordinateSequence forms a valid LinearRing ,
by checking the sequence length and closure
(whether the first and last points are identical in 2D). |
static void |
CoordinateSequences.reverse(CoordinateSequence seq)
Reverses the coordinates in a sequence in-place.
|
static void |
CoordinateSequences.swap(CoordinateSequence seq,
int i,
int j)
Swaps two coordinates in a sequence.
|
static String |
CoordinateSequences.toString(CoordinateSequence cs)
Creates a string representation of a
CoordinateSequence . |
Constructor and Description |
---|
LinearRing(CoordinateSequence points,
GeometryFactory factory)
Constructs a
LinearRing with the vertices
specifed by the given CoordinateSequence . |
LineString(CoordinateSequence points,
GeometryFactory factory)
Constructs a
LineString with the given points. |
Point(CoordinateSequence coordinates,
GeometryFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
CoordinateArraySequence
A
CoordinateSequence backed by an array of Coordinates . |
class |
PackedCoordinateSequence
A
CoordinateSequence implementation based on a packed arrays. |
static class |
PackedCoordinateSequence.Double
Packed coordinate sequence implementation based on doubles
|
static class |
PackedCoordinateSequence.Float
Packed coordinate sequence implementation based on floats
|
Modifier and Type | Method and Description |
---|---|
CoordinateSequence |
CoordinateArraySequenceFactory.create(Coordinate[] coordinates)
Returns a
CoordinateArraySequence based on the given array (the array is
not copied). |
CoordinateSequence |
PackedCoordinateSequenceFactory.create(Coordinate[] coordinates) |
CoordinateSequence |
CoordinateArraySequenceFactory.create(CoordinateSequence coordSeq) |
CoordinateSequence |
PackedCoordinateSequenceFactory.create(CoordinateSequence coordSeq) |
CoordinateSequence |
PackedCoordinateSequenceFactory.create(double[] packedCoordinates,
int dimension) |
CoordinateSequence |
PackedCoordinateSequenceFactory.create(float[] packedCoordinates,
int dimension) |
CoordinateSequence |
CoordinateArraySequenceFactory.create(int size,
int dimension)
The created sequence dimension is clamped to be <= 3.
|
CoordinateSequence |
PackedCoordinateSequenceFactory.create(int size,
int dimension) |
Modifier and Type | Method and Description |
---|---|
CoordinateSequence |
CoordinateArraySequenceFactory.create(CoordinateSequence coordSeq) |
CoordinateSequence |
PackedCoordinateSequenceFactory.create(CoordinateSequence coordSeq) |
Constructor and Description |
---|
CoordinateArraySequence(CoordinateSequence coordSeq)
Creates a new sequence based on a deep copy of the given
CoordinateSequence . |
Modifier and Type | Method and Description |
---|---|
protected CoordinateSequence |
GeometryTransformer.copy(CoordinateSequence seq)
Convenience method which provides statndard way of copying
CoordinateSequence s |
protected CoordinateSequence |
GeometryTransformer.createCoordinateSequence(Coordinate[] coords)
Convenience method which provides standard way of
creating a
CoordinateSequence |
abstract CoordinateSequence |
GeometryEditor.CoordinateSequenceOperation.edit(CoordinateSequence coordSeq,
Geometry geometry)
Edits a
CoordinateSequence from a Geometry . |
protected CoordinateSequence |
GeometryTransformer.transformCoordinates(CoordinateSequence coords,
Geometry parent)
Transforms a
CoordinateSequence . |
Modifier and Type | Method and Description |
---|---|
protected CoordinateSequence |
GeometryTransformer.copy(CoordinateSequence seq)
Convenience method which provides statndard way of copying
CoordinateSequence s |
abstract CoordinateSequence |
GeometryEditor.CoordinateSequenceOperation.edit(CoordinateSequence coordSeq,
Geometry geometry)
Edits a
CoordinateSequence from a Geometry . |
void |
AffineTransformation.filter(CoordinateSequence seq,
int i)
Transforms the i'th coordinate in the input sequence
|
void |
AffineTransformation.transform(CoordinateSequence seq,
int i)
Applies this transformation to the i'th coordinate
in the given CoordinateSequence.
|
protected CoordinateSequence |
GeometryTransformer.transformCoordinates(CoordinateSequence coords,
Geometry parent)
Transforms a
CoordinateSequence . |
Modifier and Type | Method and Description |
---|---|
static String |
WKTWriter.toLineString(CoordinateSequence seq)
Generates the WKT for a LINESTRING
specified by a
CoordinateSequence . |
Modifier and Type | Method and Description |
---|---|
void |
BufferCurveMaximumDistanceFinder.MaxMidpointDistanceFilter.filter(CoordinateSequence seq,
int index) |
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AxisPlaneCoordinateSequence
A CoordinateSequence wrapper which
projects 3D coordinates into one of the
three Cartesian axis planes,
using the standard orthonormal projection
(i.e.
|
Modifier and Type | Method and Description |
---|---|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToXY(CoordinateSequence seq)
Creates a wrapper projecting to the XY plane.
|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToXZ(CoordinateSequence seq)
Creates a wrapper projecting to the XZ plane.
|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToYZ(CoordinateSequence seq)
Creates a wrapper projecting to the YZ plane.
|
Modifier and Type | Method and Description |
---|---|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToXY(CoordinateSequence seq)
Creates a wrapper projecting to the XY plane.
|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToXZ(CoordinateSequence seq)
Creates a wrapper projecting to the XZ plane.
|
static CoordinateSequence |
AxisPlaneCoordinateSequence.projectToYZ(CoordinateSequence seq)
Creates a wrapper projecting to the YZ plane.
|
Modifier and Type | Method and Description |
---|---|
void |
CoordinatePrecisionReducerFilter.filter(CoordinateSequence seq,
int i)
Rounds the Coordinates in the sequence to match the PrecisionModel
|
Copyright © 2016. All rights reserved.