| Package | Description |
|---|---|
| mil.nga.sf | |
| mil.nga.sf.extended | |
| mil.nga.sf.util | |
| mil.nga.sf.util.centroid |
| Modifier and Type | Class and Description |
|---|---|
class |
GeometryCollection<T extends Geometry>
A collection of zero or more Geometry instances.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CircularString
Circular String, Curve sub type
|
class |
CompoundCurve
Compound Curve, Curve sub type
|
class |
Curve
The base type for all 1-dimensional geometry types.
|
class |
CurvePolygon<T extends Curve>
A planar surface defined by an exterior ring and zero or more interior ring.
|
class |
GeometryCollection<T extends Geometry>
A collection of zero or more Geometry instances.
|
class |
Line
A LineString with exactly 2 Points.
|
class |
LinearRing
A LineString that is both closed and simple.
|
class |
LineString
A Curve that connects two or more points in space.
|
class |
MultiCurve<T extends Curve>
A restricted form of GeometryCollection where each Geometry in the collection
must be of type Curve.
|
class |
MultiLineString
A restricted form of MultiCurve where each Curve in the collection must be of
type LineString.
|
class |
MultiPoint
A restricted form of GeometryCollection where each Geometry in the collection
must be of type Point.
|
class |
MultiPolygon
A restricted form of MultiSurface where each Surface in the collection must
be of type Polygon.
|
class |
MultiSurface<T extends Surface>
A restricted form of GeometryCollection where each Geometry in the collection
must be of type Surface.
|
class |
Point
A single location in space.
|
class |
Polygon
A restricted form of CurvePolygon where each ring is defined as a simple,
closed LineString.
|
class |
PolyhedralSurface
Contiguous collection of polygons which share common boundary segments.
|
class |
Surface
The base type for all 2-dimensional geometry types.
|
class |
TIN
A tetrahedron (4 triangular faces), corner at the origin and each unit
coordinate digit.
|
class |
Triangle
Triangle
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
MultiLineString.copy()
Copy the geometry
|
Geometry |
MultiPolygon.copy()
Copy the geometry
|
Geometry |
Triangle.copy()
Copy the geometry
|
Geometry |
GeometryCollection.copy()
Copy the geometry
|
Geometry |
MultiPoint.copy()
Copy the geometry
|
Geometry |
CompoundCurve.copy()
Copy the geometry
|
Geometry |
LineString.copy()
Copy the geometry
|
Geometry |
Polygon.copy()
Copy the geometry
|
Geometry |
Line.copy()
Copy the geometry
|
Geometry |
Point.copy()
Copy the geometry
|
Geometry |
PolyhedralSurface.copy()
Copy the geometry
|
Geometry |
CircularString.copy()
Copy the geometry
|
Geometry |
CurvePolygon.copy()
Copy the geometry
|
Geometry |
LinearRing.copy()
Copy the geometry
|
Geometry |
TIN.copy()
Copy the geometry
|
abstract Geometry |
Geometry.copy()
Copy the geometry
|
| Modifier and Type | Method and Description |
|---|---|
GeometryCollection<Geometry> |
GeometryCollection.getAsGeometryCollection()
Get as a top level Geometry Collection
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExtendedGeometryCollection<T extends Geometry>
Extended Geometry Collection providing abstract geometry collection type
support
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExtendedGeometryCollection<T extends Geometry>
Extended Geometry Collection providing abstract geometry collection type
support
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
ExtendedGeometryCollection.copy()
Copy the geometry
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Geometry> |
GeometryUtils.hasM(List<T> geometries)
Determine if the geometries contain a M value
|
static <T extends Geometry> |
GeometryUtils.hasZ(List<T> geometries)
Determine if the geometries contain a Z value
|
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
GeometryUtils.deserialize(byte[] bytes)
Deserialize the bytes into a geometry
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryEnvelope |
GeometryEnvelopeBuilder.buildEnvelope(Geometry geometry)
Build Geometry Envelope
|
static void |
GeometryEnvelopeBuilder.buildEnvelope(Geometry geometry,
GeometryEnvelope envelope)
Build Geometry Envelope
|
static Point |
GeometryUtils.getCentroid(Geometry geometry)
Get the centroid point of a 2 dimensional representation of the Geometry
(balancing point of a 2d cutout of the geometry).
|
static int |
GeometryUtils.getDimension(Geometry geometry)
Get the dimension of the Geometry, 0 for points, 1 for curves, 2 for
surfaces.
|
static String |
GeometryPrinter.getGeometryString(Geometry geometry)
Get Geometry Information as a String
|
static void |
GeometryUtils.minimizeGeometry(Geometry geometry,
double maxX)
Minimize the geometry using the shortest x distance between each
connected set of points.
|
static void |
GeometryUtils.normalizeGeometry(Geometry geometry,
double maxX)
Normalize the geometry so all points outside of the min and max value
range are adjusted to fall within the range.
|
static byte[] |
GeometryUtils.serialize(Geometry geometry)
Serialize the geometry to bytes
|
| Modifier and Type | Method and Description |
|---|---|
void |
CentroidCurve.add(Geometry geometry)
Add a curve based dimension 1 geometry to the centroid total.
|
void |
CentroidSurface.add(Geometry geometry)
Add a surface based dimension 2 geometry to the centroid total.
|
void |
CentroidPoint.add(Geometry geometry)
Add a point based dimension 0 geometry to the centroid total
|
| Constructor and Description |
|---|
CentroidCurve(Geometry geometry)
Constructor
|
CentroidPoint(Geometry geometry)
Constructor
|
CentroidSurface(Geometry geometry)
Constructor
|
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.