mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 06:20:02 +00:00
Spring pool tests and single source marker
- Only the centerline cell of the first station carries the source feature - Headwater and styled geometry tests expect the spring pool - Transect table starts with the first 24 stations
This commit is contained in:
1 parent
d1c73025a0
commit
6945cbfd9b
4 files changed
+24
-11
No files matched your search
+2
-1
@@ -82,7 +82,8 @@ public final class SurfaceFootprintCompiler {
|
||||
HydraulicSegment segment = exposed.get(stations.segmentIndex()[column.station()]);
|
||||
int flowX = (int) StrictMath.round(centerline.tangentX()[column.station()]);
|
||||
int flowZ = (int) StrictMath.round(centerline.tangentZ()[column.station()]);
|
||||
boolean source = column.station() == 0 && column.role() == SurfaceRole.CHANNEL && !column.apron();
|
||||
boolean source = column.station() == 0 && column.role() == SurfaceRole.CHANNEL && !column.apron()
|
||||
&& column.x() == centerline.x()[0] && column.z() == centerline.z()[0];
|
||||
int y = column.role() == SurfaceRole.CHANNEL ? column.headY() : column.height();
|
||||
HydrologyFeatureRef feature = features.feature(segment, column.role(), source, column.x(), y, column.z(), flowX, flowZ);
|
||||
columns.add(new SurfaceLayerColumn(
|
||||
|
||||
Reference in new issue
Block a user