public class Point extends Geometry
| Constructor and Description |
|---|
Point()
Constructor
|
Point(mil.nga.sf.Point point)
Constructor
|
Point(Position position)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Position |
getCoordinates()
Returns coordinates as a GeoJSON Position object
|
mil.nga.sf.Geometry |
getGeometry()
Get the simple geometry
|
String |
getType()
Get the GeoJSON object type
|
void |
setCoordinates(Position position)
Sets the new position (supporting deserialization)
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic Point()
public Point(Position position)
position - positionpublic Point(mil.nga.sf.Point point)
point - simple pointpublic Position getCoordinates()
public void setCoordinates(Position position)
position - point positionpublic mil.nga.sf.Geometry getGeometry()
getGeometry in class Geometrypublic String getType()
getType in class GeoJsonObjectCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.