Class GeoDataController.CoordinateAttributePoint
- java.lang.Object
-
- org.openforis.collect.web.controller.GeoDataController.NodeInfo<CoordinateAttribute>
-
- org.openforis.collect.web.controller.GeoDataController.CoordinateAttributePoint
-
- Enclosing class:
- GeoDataController
public static class GeoDataController.CoordinateAttributePoint extends GeoDataController.NodeInfo<CoordinateAttribute>
-
-
Field Summary
-
Fields inherited from class org.openforis.collect.web.controller.GeoDataController.NodeInfo
node
-
-
Constructor Summary
Constructors Constructor Description CoordinateAttributePoint(CoordinateAttribute attribute, Coordinate coordinate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetDistance()Returns the distance to the expected locationCoordinategetOriginalCoordinate()DoublegetX()DoublegetY()-
Methods inherited from class org.openforis.collect.web.controller.GeoDataController.NodeInfo
getAttrDefId, getAttrId, getRecId, getRecKeys, getRecordData, getRecStep
-
-
-
-
Constructor Detail
-
CoordinateAttributePoint
public CoordinateAttributePoint(CoordinateAttribute attribute, Coordinate coordinate)
-
-
Method Detail
-
getOriginalCoordinate
public Coordinate getOriginalCoordinate()
-
getX
public Double getX()
-
getY
public Double getY()
-
getDistance
public Double getDistance()
Returns the distance to the expected location- Returns:
-
-