Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/RingtoetsPipingSurfaceLineExtensions.cs =================================================================== diff -u -r683ff9234262d9fa3bea5edc0abe35254f80e49d -r112d446cc7c77688fa3a24d3a83d1bf7e18b168a --- Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/RingtoetsPipingSurfaceLineExtensions.cs (.../RingtoetsPipingSurfaceLineExtensions.cs) (revision 683ff9234262d9fa3bea5edc0abe35254f80e49d) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Importers/RingtoetsPipingSurfaceLineExtensions.cs (.../RingtoetsPipingSurfaceLineExtensions.cs) (revision 112d446cc7c77688fa3a24d3a83d1bf7e18b168a) @@ -42,24 +42,19 @@ /// The to set the /// for. /// The point at which to set the . - /// true if the was set, false if - /// is null or there is no point in at the location - /// of . - public static bool TrySetDitchPolderSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetDitchPolderSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetDitchPolderSideAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -69,24 +64,19 @@ /// The to set the /// for. /// The point at which to set the . - /// true if the was set, false if - /// is null or there is no point in at the location - /// of . - public static bool TrySetBottomDitchPolderSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetBottomDitchPolderSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetBottomDitchPolderSideAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -96,24 +86,19 @@ /// The to set the /// for. /// The point at which to set the . - /// true if the was set, false if - /// is null or there is no point in at the location - /// of . - public static bool TrySetBottomDitchDikeSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetBottomDitchDikeSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetBottomDitchDikeSideAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -123,24 +108,19 @@ /// The to set the /// for. /// The point at which to set the . - /// true if the was set, false if - /// is null or there is no point in at the location - /// of . - public static bool TrySetDitchDikeSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetDitchDikeSide(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetDitchDikeSideAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -153,21 +133,19 @@ /// true if the was set, false if /// is null or there is no point in at the location /// of . - public static bool TrySetDikeToeAtRiver(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetDikeToeAtRiver(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetDikeToeAtRiverAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -177,24 +155,19 @@ /// The to set the /// for. /// The point at which to set the . - /// true if the was set, false if - /// is null or there is no point in at the location - /// of . - public static bool TrySetDikeToeAtPolder(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) + private static void TrySetDikeToeAtPolder(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point) { if (point != null) { try { surfaceLine.SetDikeToeAtPolderAt(point); - return true; } catch (ArgumentException e) { LogError(surfaceLine, e); } } - return false; } /// @@ -204,8 +177,8 @@ /// The surface line to set characteristic points for. /// The characteristic points to set, if the collection is valid. /// Thrown when is null. - /// Thrown when were - /// invalid to use for piping. + /// Thrown when defines + /// a dike toe at polder side in front of the dike toe at river side. public static void SetCharacteristicPoints(this RingtoetsPipingSurfaceLine surfaceLine, CharacteristicPoints characteristicPoints) { if (surfaceLine == null)