public class Point extends Geometry
| Constructor and Description |
|---|
Point()
Constructor
|
Point(boolean hasZ,
boolean hasM,
double x,
double y)
Constructor
|
Point(double x,
double y)
Constructor
|
Point(double x,
double y,
Double z)
Constructor
|
Point(double x,
double y,
Double z,
Double m)
Constructor
|
Point(Point point)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
copy()
Copy the geometry
|
boolean |
equals(Object obj) |
Double |
getM()
Get m
|
double |
getX()
Get x
|
double |
getY()
Get y
|
Double |
getZ()
Get z
|
int |
hashCode() |
boolean |
isEmpty()
Is the Geometry empty
|
boolean |
isSimple()
Determine if this Geometry has no anomalous geometric points, such as
self intersection or self tangency
|
void |
setM(Double m)
Set m
|
void |
setX(double x)
Set x
|
void |
setY(double y)
Set y
|
void |
setZ(Double z)
Set z
|
getCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasured, setHasM, setHasZ, updateZMpublic Point()
public Point(double x,
double y)
x - x coordinatey - y coordinatepublic Point(double x,
double y,
Double z)
x - x coordinatey - y coordinatez - z coordinatepublic Point(double x,
double y,
Double z,
Double m)
x - x coordinatey - y coordinatez - z coordinatem - m coordinatepublic Point(boolean hasZ,
boolean hasM,
double x,
double y)
hasZ - has zhasM - has mx - x coordinatey - y coordinatepublic Point(Point point)
point - point to copypublic double getX()
public void setX(double x)
x - x coordinatepublic double getY()
public void setY(double y)
y - y coordinatepublic Double getZ()
public void setZ(Double z)
z - z coordinatepublic Double getM()
public void setM(Double m)
m - m coordinatepublic Geometry copy()
public boolean isEmpty()
public boolean isSimple()
Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.