Index: Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/RingtoetsPipingSurfaceLineExtensions.cs
===================================================================
diff -u -r96e2d588e43f76a8eba5c47805eaaf8560f042d0 -r82c08997cab1058c739a21c9339e4fef59ee58ff
--- Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/RingtoetsPipingSurfaceLineExtensions.cs (.../RingtoetsPipingSurfaceLineExtensions.cs) (revision 96e2d588e43f76a8eba5c47805eaaf8560f042d0)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/RingtoetsPipingSurfaceLineExtensions.cs (.../RingtoetsPipingSurfaceLineExtensions.cs) (revision 82c08997cab1058c739a21c9339e4fef59ee58ff)
@@ -6,10 +6,23 @@
namespace Ringtoets.Piping.Plugin.FileImporter
{
+ ///
+ /// Extension methods for the class.
+ ///
public static class RingtoetsPipingSurfaceLineExtensions
{
private static readonly ILog log = LogManager.GetLogger(typeof(RingtoetsPipingSurfaceLineExtensions));
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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)
{
if (point != null)
@@ -27,6 +40,16 @@
return false;
}
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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)
{
if (point != null)
@@ -44,6 +67,16 @@
return false;
}
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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)
{
if (point != null)
@@ -61,6 +94,16 @@
return false;
}
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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)
{
if (point != null)
@@ -78,6 +121,16 @@
return false;
}
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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 TrySetDikeToeAtRiver(this RingtoetsPipingSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
@@ -95,6 +148,16 @@
return false;
}
+ ///
+ /// Tries to set the at the location of
+ /// .
+ ///
+ /// 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)
{
if (point != null)