Fisheye: Tag 3341 refers to a dead (removed) revision in file `DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/SensorPlLineCreatorBaseTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/SensorPlLineCreatorBase.cs
===================================================================
diff -u -r3339 -r3341
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/SensorPlLineCreatorBase.cs (.../SensorPlLineCreatorBase.cs) (revision 3339)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/SensorPlLineCreatorBase.cs (.../SensorPlLineCreatorBase.cs) (revision 3341)
@@ -187,9 +187,7 @@
///
protected double GetSensorXValue(Sensor sensor)
{
- GeometryPointString surfaceLineGeometry = SensorLocation.SurfaceLine.Geometry;
- double shift = surfaceLineGeometry.GetMaxX() - surfaceLineGeometry.GetMinX();
- return GetSensorXLocation(sensor, shift);
+ return sensor.RelativeLocation;
}
///
@@ -234,22 +232,5 @@
///
///
public abstract PlLine CreatePlLine();
-
- ///
- /// Gets the X coordinate of the sensor location.
- ///
- /// The to retrieve the X coordinate for.
- /// The offset for the X Coordinate
- /// The X location of the sensor.
- private static double GetSensorXLocation(Sensor sensor, double offset)
- {
- double sensorXCoordinate = sensor.RelativeLocation;
- if (sensorXCoordinate < 0)
- {
- return sensorXCoordinate + offset;
- }
-
- return sensorXCoordinate;
- }
}
}
\ No newline at end of file
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj
===================================================================
diff -u -r3339 -r3341
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj (.../Deltares.DamEngine.Calculators.Tests.csproj) (revision 3339)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/Deltares.DamEngine.Calculators.Tests.csproj (.../Deltares.DamEngine.Calculators.Tests.csproj) (revision 3341)
@@ -87,7 +87,6 @@
-