| 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.jts |
JTS interoperability classes.
|
| Modifier and Type | Method and Description |
|---|---|
<Q extends Position> |
LinearRing.as(Class<Q> castToType) |
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 |
|---|---|
Iterator<LinearRing<P>> |
Polygon.iterator()
Returns an
Iterator over the boundaries of this Polygon. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
Geometries.mkPolygon(LinearRing<P>... rings) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
Geometries.mkPolygon(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 |
| 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 double |
NumericalMethods.area(LinearRing<?> ring)
Determine the (signed) area of a linearring, using the the
Shoelace algorithm.
|
static boolean |
NumericalMethods.isCounterClockwise(LinearRing<?> ring)
Determines whether the specified
LinearRing is counter-clockwise. |
static double |
NumericalMethods.orient2d(LinearRing<?> ring)
Determine the orientation of a
LinearRing
This uses Newell's method (see Graphics Gems III, V. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
JTS.from(org.locationtech.jts.geom.LinearRing jtsLinearRing,
CoordinateReferenceSystem<P> crs) |
Copyright © 2023 geolatte.org. All rights reserved.