public class Coordinate extends Object
Constructor and Description |
---|
Coordinate()
Default constructor
|
Coordinate(Coordinate coordinate)
Copy constructor
|
Coordinate(JsonObject coordinate)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
float |
getAdj()
Get adjustment
|
float |
getErr()
Get error
|
float |
getHeight()
Get height
|
String |
getNode()
Get name of node
|
List<Float> |
getVec()
Get vector
|
int |
hashCode() |
Coordinate |
setAdj(float adj)
Set adjustment
|
Coordinate |
setErr(float err)
Set error
|
Coordinate |
setHeight(float height)
Set height
|
Coordinate |
setNode(String node)
Set name of node
|
Coordinate |
setVec(List<Float> vec)
Set vector
|
JsonObject |
toJson()
Convert to JSON
|
public Coordinate()
public Coordinate(Coordinate coordinate)
coordinate
- the one to copypublic Coordinate(JsonObject coordinate)
coordinate
- the JSONpublic JsonObject toJson()
public String getNode()
public float getAdj()
public float getErr()
public float getHeight()
public Coordinate setNode(String node)
node
- name of nodepublic Coordinate setAdj(float adj)
adj
- adjustmentpublic Coordinate setErr(float err)
err
- errorpublic Coordinate setHeight(float height)
height
- heightpublic Coordinate setVec(List<Float> vec)
vec
- vectorCopyright © 2024 Eclipse. All rights reserved.