Java Code Examples for mil.nga.sf.Point#setX()
The following examples show how to use
mil.nga.sf.Point#setX() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FeatureUtils.java From geopackage-android with MIT License | 5 votes |
/** * Update a point * * @param point */ private static void updatePoint(Point point) { point.setX(POINT_UPDATED_X); point.setY(POINT_UPDATED_Y); if (point.hasZ()) { point.setZ(POINT_UPDATED_Z); } if (point.hasM()) { point.setM(POINT_UPDATED_M); } }
Example 2
Source File: FeatureUtils.java From geopackage-java with MIT License | 5 votes |
/** * Update a point * * @param point */ private static void updatePoint(Point point) { point.setX(POINT_UPDATED_X); point.setY(POINT_UPDATED_Y); if (point.hasZ()) { point.setZ(POINT_UPDATED_Z); } if (point.hasM()) { point.setM(POINT_UPDATED_M); } }