(Geometry point, Geometry clipSrc,
int burnField, double burnValue, List<Double> X, List<Double> Y,
List<Double> Z)
| 97 | * processing. |
| 98 | */ |
| 99 | public static void ProcessGeometry(Geometry point, Geometry clipSrc, |
| 100 | int burnField, double burnValue, List<Double> X, List<Double> Y, |
| 101 | List<Double> Z) { |
| 102 | |
| 103 | if (clipSrc != null && point.Within(clipSrc) == false) |
| 104 | return; |
| 105 | |
| 106 | X.add(point.GetX()); |
| 107 | Y.add(point.GetY()); |
| 108 | |
| 109 | if (burnField < 0) { |
| 110 | |
| 111 | Z.add(point.GetZ()); |
| 112 | } else { |
| 113 | |
| 114 | Z.add(burnValue); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /* |
| 119 | * Process all the features in a layer selection, collecting geometries and |
no test coverage detected