Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSurfaceLine.cs
===================================================================
diff -u -r93acf9b0dcf191ef5088f4d822a81b1759c10532 -r66396d7a91ffdfadfcd6a94759ce579c611c78b9
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSurfaceLine.cs (.../MacroStabilityInwardsSurfaceLine.cs) (revision 93acf9b0dcf191ef5088f4d822a81b1759c10532)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSurfaceLine.cs (.../MacroStabilityInwardsSurfaceLine.cs) (revision 66396d7a91ffdfadfcd6a94759ce579c611c78b9)
@@ -52,18 +52,6 @@
public Point3D DikeToeAtRiver { get; private set; }
///
- /// Gets the location of the start of traffic load when approaching
- /// from outside the polder.
- ///
- public Point3D TrafficLoadOutside { get; private set; }
-
- ///
- /// Gets the location of the start of traffic load when approaching
- /// from inside the polder.
- ///
- public Point3D TrafficLoadInside { get; private set; }
-
- ///
/// Gets the location of the top of the dike when approaching from
/// inside the polder.
///
@@ -261,40 +249,6 @@
}
///
- /// Sets the at the given point.
- ///
- /// The location as a which to set as the .
- /// Thrown when doesn't contain a at
- /// .
- /// Thrown when is null.
- public void SetTrafficLoadInsideAt(Point3D point)
- {
- Point3D geometryPoint = GetPointFromGeometry(point);
- if (geometryPoint == null)
- {
- throw CreatePointNotInGeometryException(point, RingtoetsCommonDataResources.CharacteristicPoint_TrafficLoadInside);
- }
- TrafficLoadInside = geometryPoint;
- }
-
- ///
- /// Sets the at the given point.
- ///
- /// The location as a which to set as the .
- /// Thrown when doesn't contain a at
- /// .
- /// Thrown when is null.
- public void SetTrafficLoadOutsideAt(Point3D point)
- {
- Point3D geometryPoint = GetPointFromGeometry(point);
- if (geometryPoint == null)
- {
- throw CreatePointNotInGeometryException(point, RingtoetsCommonDataResources.CharacteristicPoint_TrafficLoadOutside);
- }
- TrafficLoadOutside = geometryPoint;
- }
-
- ///
/// Sets the at the given point.
///
/// The location as a which to set as the .
@@ -411,8 +365,6 @@
hashCode = (hashCode * 397) ^ (SurfaceLevelInside?.GetHashCode() ?? 0);
hashCode = (hashCode * 397) ^ (SurfaceLevelOutside?.GetHashCode() ?? 0);
- hashCode = (hashCode * 397) ^ (TrafficLoadInside?.GetHashCode() ?? 0);
- hashCode = (hashCode * 397) ^ (TrafficLoadOutside?.GetHashCode() ?? 0);
hashCode = (hashCode * 397) ^ (DikeTopAtPolder?.GetHashCode() ?? 0);
hashCode = (hashCode * 397) ^ (DikeTopAtRiver?.GetHashCode() ?? 0);
hashCode = (hashCode * 397) ^ (ShoulderBaseInside?.GetHashCode() ?? 0);
@@ -431,8 +383,6 @@
private void SetCharacteristicPoints(MacroStabilityInwardsSurfaceLine fromSurfaceLine)
{
SurfaceLevelOutside = PointFromGeometryOrNull(fromSurfaceLine.SurfaceLevelOutside);
- TrafficLoadOutside = PointFromGeometryOrNull(fromSurfaceLine.TrafficLoadOutside);
- TrafficLoadInside = PointFromGeometryOrNull(fromSurfaceLine.TrafficLoadInside);
DikeTopAtPolder = PointFromGeometryOrNull(fromSurfaceLine.DikeTopAtPolder);
DikeTopAtRiver = PointFromGeometryOrNull(fromSurfaceLine.DikeTopAtRiver);
ShoulderBaseInside = PointFromGeometryOrNull(fromSurfaceLine.ShoulderBaseInside);
@@ -463,8 +413,6 @@
{
return Equals(SurfaceLevelInside, other.SurfaceLevelInside)
&& Equals(SurfaceLevelOutside, other.SurfaceLevelOutside)
- && Equals(TrafficLoadInside, other.TrafficLoadInside)
- && Equals(TrafficLoadOutside, other.TrafficLoadOutside)
&& Equals(DikeTopAtPolder, other.DikeTopAtPolder)
&& Equals(DikeTopAtRiver, other.DikeTopAtRiver)
&& Equals(ShoulderBaseInside, other.ShoulderBaseInside)