using System;
using System.Collections.Generic;
using Core.Common.Base.Geometry;
namespace Ringtoets.Integration.IO.Assembly
{
///
/// Class that holds all the information to export a failure mechanism section
/// which is the result of an combined section assembly.
///
public class ExportableCombinedFailureMechanismSection : ExportableFailureMechanismSection
{
///
/// Creates a new instance of .
///
/// The geometry of the failure mechanism section.
/// The start distance of the failure mechanism section between the section
/// and the start of the reference line in meters.
/// The end distance of the failure mechanism section between the section
/// and the start of the reference line in meters.
/// The assembly method which was used to get this section.
/// Thrown when
/// is null.
public ExportableCombinedFailureMechanismSection(IEnumerable geometry,
double startDistance,
double endDistance,
ExportableAssemblyMethod assemblyMethod)
: base(geometry, startDistance, endDistance)
{
AssemblyMethod = assemblyMethod;
}
///
/// Gets the assembly method that was used to get this section.
///
public ExportableAssemblyMethod AssemblyMethod { get; }
}
}