| Package | Description |
|---|---|
| org.geolatte.geom |
A model for geospatial geometries.
|
| org.geolatte.geom.builder |
A DSL to simplify the creation of Geometries.
|
| org.geolatte.geom.cga | |
| org.geolatte.geom.codec |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems.
|
| org.geolatte.geom.codec.db.sqlserver |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems to Microsoft SQL Server internal
format.
|
| org.geolatte.geom.json | |
| org.geolatte.geom.jts |
JTS interoperability classes.
|
| Modifier and Type | Field and Description |
|---|---|
private LinearRing<P>[] |
Polygon.rings |
| Modifier and Type | Method and Description |
|---|---|
LinearRing<P>[] |
Polygon.components()
Returns the components
|
LinearRing<P> |
Polygon.getExteriorRing()
Returns the exterior boundary of this
Polygon. |
LinearRing<P> |
Polygon.getInteriorRingN(int index)
Returns the specified interior ring.
|
static <P extends Position> |
Geometries.mkLinearRing(PositionSequence<P> seq,
CoordinateReferenceSystem<P> crs)
Creates a
LinearRing from a PositionSequence and coordinate reference system |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<LinearRing<P>> |
Polygon.iterator()
Returns an
Iterator over the boundaries of this Polygon. |
| Modifier and Type | Method and Description |
|---|---|
private void |
Polygon.checkLinearRing(LinearRing<P> ring,
CoordinateReferenceSystem<P> crs) |
private void |
Polygon.checkRings(LinearRing<P>[] rings) |
static <P extends Position> |
Geometries.mkPolygon(LinearRing<P>... rings) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
Geometries.mkPolygon(java.util.List<LinearRing<P>> rings) |
| Constructor and Description |
|---|
Polygon(LinearRing<P>... rings)
Creates a
Polygon with the specified array of exterior and interior boundaries. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
DSL.ring(CoordinateReferenceSystem<P> crs,
P... positions)
Creates a
LinearRing |
(package private) LinearRing<P> |
DSL.LinearRingToken.toGeometry(CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
DSL.polygon(LinearRing<P> hull,
LinearRing<P>... rings)
Creates a
Polygon from the specified outer ring (or hull) and inner rings (if any) |
static <P extends Position> |
DSL.polygon(LinearRing<P> hull,
LinearRing<P>... rings)
Creates a
Polygon from the specified outer ring (or hull) and inner rings (if any) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
NumericalMethods.isCounterClockwise(LinearRing<?> ring)
Determines whether the specified
LinearRing is counter-clockwise. |
private static double |
NumericalMethods.shoelaceStep(java.lang.Integer idx,
LinearRing<?> ring) |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
PostgisWktDecoder.decodeLinearRingText(CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
AbstractWkbDecoder.readRing(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
AbstractWkbDecoder.readPolygonRings(int numRings,
ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
PostgisWktEncoder.addRing(LinearRing<P> ring) |
protected void |
WkbVisitor.writeRing(LinearRing<P> geom) |
| Modifier and Type | Method and Description |
|---|---|
private LinearRing<?> |
PolygonSqlServerDecoder.toLinearRing(SqlServerGeometry nativeGeom,
IndexRange range) |
| Modifier and Type | Method and Description |
|---|---|
(package private) <P extends Position> |
LinearPositionsListHolder.toLinearRings(CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
private static <P extends Position> |
JTS.to(LinearRing<P> linearRing,
org.locationtech.jts.geom.GeometryFactory gFact) |