• Introduction
  • Theory
  • Guides
  • Tutorials
  • FAQ
  • Articles
  • Documentation
  • PDF
Search Results for

    Show / Hide Table of Contents
    • Changelog
    • Contributing
    • Code paths
    • Debugging
    • Code of conduct
    • Commands
      • Help
      • Analyze Long Recording
      • False Colour Spectrograms
      • Concatenate Index Files
    • Config files
      • GenericRecognizerConfig
      • CommonParameters
      • OscillationParameters
      • HarmonicParameters
      • PostProcessingConfig
      • AnalyzerConfig
    • API
      • Acoustics.Shared
        • AnalysisIo
        • AnalysisIoInputDirectory
        • AppConfigHelper
        • Base58
        • Binary
        • ByteCountFormatter
        • DateTimeFormatter
        • FileDateHelpers
        • FilenameHelpers
        • ImageChrome
        • Interval<T>
        • IntervalExtensions
        • InvalidDataSetException
        • InvalidFileDateException
        • IOrderer<TOrder>
        • Json
        • Json.IntervalConverter
        • Json.LegacyTimeSpanDataConverter
        • MediaTypeExtGroup
        • MediaTypeGroup
        • MediaTypes
        • Meta
        • MultiException
        • NonClosingStreamWrapper
        • OrderCoordinator<T>
        • Orderer<TOrder, TOrderProperty>
        • PathDiagnostics
        • PathDiagnostics.PathDiffReport
        • PathUtils
        • Plugins
        • ProcessRunner
        • ProcessRunner.ProcessMaximumRetriesException
        • SortDirection
        • SpectrogramType
        • SunTimes
        • SunTimes.Coords
        • SunTimes.LatitudeCoords
        • SunTimes.LatitudeCoords.Direction
        • SunTimes.LongitudeCoords
        • SunTimes.LongitudeCoords.Direction
        • TempFileHelper
        • TimeSpanFormatter
        • Topology
        • TwoDimensionalArray
        • Validation
        • ValidationExtensions
        • Yaml
        • YamlTypeTagAttribute
      • Acoustics.Shared.ColorScales
        • ColorBrewer
        • ColorBrewer.DivergingPalettes
        • ColorBrewer.QualitativePalettes
        • ColorBrewer.SequentialMultipleHuesPalettes
        • ColorBrewer.SequentialSingleHuePalettes
        • Palette
        • Type
      • Acoustics.Shared.ConfigFile
        • Config
        • ConfigFile
        • ConfigFileException
        • ConfigFileExtensions
        • ConfigSerializeContractResolver
        • IConfig
        • INamedProfiles<T>
        • IProfiles<T>
      • Acoustics.Shared.Contracts
        • Contract
      • Acoustics.Shared.Csv
        • Csv
        • CsvIntervalConverter
        • CsvSetPointConverter
        • TopologyEnumConverter
      • Acoustics.Shared.Extensions
        • CartesianExtension
        • RandomExtensions
      • Acoustics.Shared.ImageSharp
        • DeltaImageProcessor<TPixelBg, TPixelFg>
        • DeltaImageProcessor<TPixelFg>
        • DeltaPixelBlender<TPixel>
        • Drawing
        • Drawing.NoAA
        • IInterval2<TX, TY>
        • RotateFlipType
      • Acoustics.Shared.Logging
        • Log4NetTextWriter
        • Log4NetTextWriter.Mode
        • Logging
      • Acoustics.Tools
        • AudioFilePreparer
        • AudioReadingRequest
        • AudioUtilityInfo
        • AudioUtilityModifiedInfo
        • AudioUtilityRequest
        • BandPassType
        • SpectrogramRequest
      • Acoustics.Tools.Audio
        • AbstractAudioUtility
        • AbstractSpectrogramUtility
        • AbstractUtility
        • AudioFormatNotSupportedException
        • AudioUtilityException
        • BitDepthOperationNotImplemented
        • ChannelNotAvailableException
        • ChannelSelectionOperationNotImplemented
        • CustomSpectrogramUtility
        • FfmpegAudioUtility
        • FfmpegRawPcmAudioUtility
        • IAudioUtility
        • ISpectrogramUtility
        • MasterAudioUtility
        • Mp3SpltAudioUtility
        • Mp3SpltAudioUtility.SplitFileInfo
        • ShntoolAudioUtility
        • SoxAudioUtility
        • SoxAudioUtility.SoxResampleQuality
        • SoxSpectrogramUtility
        • WavPackAudioUtility
      • Acoustics.Tools.Wav
        • IWavReader
        • WavAudioInfo
        • WavChunk
        • WavReader
        • WavReader.WaveFormat
        • WavStreamReader
        • WavUtils
      • AcousticWorkbench
        • AcousticEventService
        • AcousticWorkbenchResponse<T>
        • Api
        • AudioRecordingService
        • AuthenticatedApi
        • AuthenticationService
        • AuthenticationService.EmailLoginRequest
        • AuthenticationService.LoginRequest
        • AuthenticationService.LoginResponse
        • Error
        • IApi
        • IAuthenticatedApi
        • MediaService
        • Meta
        • Service
        • Service.HttpResponseException
        • UrlGenerator
      • AcousticWorkbench.Models
        • AudioEvent
        • AudioRecording
        • Available
        • CommonParameters
        • FormatInfo
        • ImageFormatInfo
        • Media
        • Recording
        • Tagging
      • AForge.Imaging.Filters
        • BaseUsingCopyPartialFilter
        • CannyEdgeDetector
      • AnalysisBase
        • AbstractStrongAnalyser
        • AnalysisCoordinator
        • AnalysisResult
        • AnalysisResult2
        • AnalysisSettings
        • AnalyzerConfig
        • AudioRecordingTooShortException
        • Author
        • Bibliography
        • Citation
        • FileSegment
        • FileSegment.FileDateBehavior
        • IAnalyser2
        • ICiteable
        • IHasStatus
        • ISourcePreparer
        • SaveBehavior
        • SaveBehaviorExtensions
        • SegmentSettings<TSegment>
        • SegmentSettingsBase
        • SegmentSplitException
        • Status
        • TimeAlignment
      • AnalysisBase.Extensions
        • ModifiedInfoExtensions
      • AnalysisBase.ResultBases
        • EventBase
        • EventIndex
        • ITemporalEvent
        • ResultBase
        • SpectralIndexBase
        • SummaryIndexBase
      • AnalysisBase.Segment
        • InvalidSegmentException
        • ISegment<TSource>
        • SourceMetadata
      • AnalysisPrograms
        • AcousticIndices
        • AcousticIndices.AcousticIndicesConfig
        • Aed
        • Aed.AedConfiguration
        • Aed.Arguments
        • AnalysesAvailable
        • Audio2InputForConvCnn
        • Audio2InputForConvCnn.Arguments
        • Audio2InputForConvCnn.AudioToSonogramResult
        • Audio2InputForConvCnn.CsvDataRecord
        • Audio2InputForConvCnn.SpeciesCounts
        • AudioCutter
        • AudioCutter.Arguments
        • AudioFileCheck
        • AudioFileCheck.Arguments
        • BuildMetadata
        • ChannelIntegrityAnalyzer
        • CheckEnvironment
        • CheckEnvironment.Arguments
        • ConcatenateIndexFiles
        • ConcatenateIndexFiles.Arguments
        • Create4Sonograms
        • Create4Sonograms.Arguments
        • Crow
        • DifferenceSpectrogram
        • DifferenceSpectrogram.Arguments
        • DrawEasyImage
        • DrawEasyImage.Arguments
        • DrawLongDurationSpectrograms
        • DrawLongDurationSpectrograms.Arguments
        • DrawSummaryIndexTracks
        • DrawSummaryIndexTracks.Arguments
        • DummyAnalysis
        • DummyAnalysis.Arguments
        • EPR
        • EPR.Arguments
        • FileRenamer
        • FileRenamer.Arguments
        • GroundParrotRecogniser
        • GroundParrotRecogniser.Arguments
        • Human1
        • KoalaMale
        • KoalaMale.KoalaMaleResults
        • LSKiwi3
        • LSKiwi3.Arguments
        • LSKiwiHelper
        • LSKiwiROC
        • LSKiwiROC.Arguments
        • MahnooshSandpit
        • MahnooshSandpit.Arguments
        • MainEntry
        • OscillationRecogniser
        • OscillationRecogniser.Arguments
        • OscillationsGeneric
        • OscillationsGeneric.Arguments
        • PlanesTrainsAndAutomobiles
        • PreprocessorForConvDnn
        • PreprocessorForSurfAnalysis
        • RheobatrachusSilus
        • Sandpit
        • Sandpit.Arguments
        • Segment
        • Segment.Arguments
        • SnrAnalysis
        • SnrAnalysis.Arguments
        • SpeciesAccumulationCurve
        • SpeciesAccumulationCurve.Arguments
        • SpeciesAccumulationStats
        • SPT
        • SPT.Arguments
        • SurfAnalysis
        • SurfAnalysis.Arguments
        • SurfAnalysis.AudioToSonogramResult
        • SurfAnalysis.CsvDataRecord
        • SurfAnalysis.SpeciesCounts
      • AnalysisPrograms.AcousticWorkbench.Orchestration
        • EventMetadataResolver
        • RemoteSegment
        • RemoteSegmentWithData
      • AnalysisPrograms.AnalyseLongRecordings
        • AnalyseLongRecording
        • AnalyseLongRecording.Arguments
      • AnalysisPrograms.ContentDescription
        • BuildModel
        • BuildModel.Arguments
        • UseModel
        • UseModel.CdConfig
      • AnalysisPrograms.Draw.RibbonPlots
        • RibbonPlot
        • RibbonPlot.Arguments
      • AnalysisPrograms.Draw.Zooming
        • DrawZoomingSpectrograms
        • DrawZoomingSpectrograms.Arguments
        • DrawZoomingSpectrograms.Arguments.ZoomActionType
      • AnalysisPrograms.EventStatistics
        • EventStatisticsAnalysis
        • EventStatisticsEntry
        • EventStatisticsEntry.Arguments
        • ImportedEvent
        • ImportedEvent.ImportedEventNameClassMap
      • AnalysisPrograms.Production
        • AnalysisOptionDevilException
        • CommandLineApplicationExtensions
        • CommandLineArgumentException
        • CustomHelpTextGenerator
        • ExceptionLookup
        • ExceptionLookup.ExceptionStyle
        • FileSystemProvider
        • FileSystemProvider.Options
        • InvalidAudioChannelException
        • InvalidDurationException
        • InvalidStartOrEndException
        • MissingDataException
        • NoDeveloperMethodException
        • PhysicalConsoleLogger
      • AnalysisPrograms.Production.Arguments
        • AnalyserArguments
        • DebugOptions
        • HelpArgs
        • ListArgs
        • LogVerbosity
        • MainArgs
        • SourceAndConfigArguments
        • SourceArguments
        • SourceConfigOutputDirArguments
        • SubCommandBase
      • AnalysisPrograms.Production.Parsers
        • DateTimeOffsetParser
        • DirectoryInfoParser
        • FileInfoParser
        • TimeSpanParser
      • AnalysisPrograms.Production.Validation
        • DirectoryExistsOrCreateAttribute
        • ExistingFileAttribute
        • InRangeAttribute
        • NotExistingFileAttribute
        • OneOfThese
      • AnalysisPrograms.Recognizers
        • GenericRecognizer
        • GenericRecognizer.GenericRecognizerConfig
        • NinoxStrenua
        • NinoxStrenua.NinoxStrenuaConfig
        • PetaurusAustralis
        • PetaurusAustralis.PetaurusAustralisConfig
        • PetaurusBreviceps
        • PetaurusBreviceps.PetaurusBrevicepsConfig
        • PetaurusNorfolcensis
        • PetaurusNorfolcensis.PetaurusNorfolcensisConfig
      • AnalysisPrograms.Recognizers.Base
        • BlobParameters
        • CommonParameters
        • DctParameters
        • ForwardTrackParameters
        • HarmonicParameters
        • IEventRecognizer
        • MinAndMaxBandwidthParameters
        • MultiRecognizer
        • MultiRecognizer.MultiRecognizerConfig
        • OnebinTrackParameters
        • OneframeTrackParameters
        • OscillationParameters
        • RecognizerBase
        • RecognizerBase.RecognizerConfig
        • RecognizerEntry
        • RecognizerEntry.Arguments
        • RecognizerResults
        • UpwardTrackParameters
      • AnalysisPrograms.Recognizers.Birds
        • ArdeaInsignis
        • AtrichornisRufescens
        • AtrichornisRufescens.AtrichornisRufescensConfig
        • CalyptorhynchusLathami
        • CalyptorhynchusLathami.CalyptorhynchusLathamiConfig
        • ClimacterisPicumnus
        • ClimacterisPicumnus.ClimacterisPicumnusConfig
        • LewiniaPectoralis
        • LewinsRailConfig
        • ManorinaMelanophrys
        • ManorinaMelanophrys.ManorinaMelanophrysConfig
        • NinoxConnivens
        • NinoxConnivens.NinoxConnivensConfig
        • TytoNovaehollandiae
        • TytoNovaehollandiae.TytoNovaehollandiaeConfig
        • TytoTenebricosa
        • TytoTenebricosa.TytoTenebricosaConfig
      • AnalysisPrograms.Recognizers.Frogs
        • LitoriaBicolor
        • LitoriaBicolorConfig
        • LitoriaCaerulea
        • LitoriaRothii
        • LitoriaRubella
      • AnalysisPrograms.SourcePreparers
        • LocalSourcePreparer
        • RemoteSourcePreparer
        • RemoteSourcePreparerException
      • AnalysisPrograms.SpectralPeakTracking
        • SpectralPeakTrackingConfig
        • SpectralPeakTrackingEntry
        • SpectralPeakTrackingEntry.Arguments
      • AnalysisPrograms.SpectrogramGenerator
        • Audio2Sonogram
        • Audio2Sonogram.Arguments
        • AudioToSonogramResult
        • SpectrogramGenerator
        • SpectrogramGeneratorConfig
        • SpectrogramImageType
      • AnalysisPrograms.StandardizedFeatures
        • StandardizedFeatureExtraction
        • StandardizedFeatureExtractionConfig
        • StandardizedFeatureExtractionConfig.BandsProperties
        • StandardizedFeatureExtractionConfig.Bandwidth
      • AudioAnalysisTools
        • AcousticComplexityIndex
        • AcousticEntropy
        • AcousticEvent
        • AcousticEvent.AcousticEventClassMap
        • ActivityAndCover
        • AnalysisKeys
        • BirdClefExperiment1
        • BirdClefExperiment1.Arguments
        • BirdClefExperiment1.Output
        • BlobEvent
        • ChannelIntegrity
        • ChannelIntegrity.Arguments
        • ChannelIntegrityIndices
        • ChirpEvent
        • ClickEvent
        • ClusterInfo
        • ConfigKeys
        • ConfigKeys.EndpointDetection
        • ConfigKeys.ImageSave
        • ConfigKeys.Mfcc
        • ConfigKeys.Recording
        • ConfigKeys.Sonogram
        • ConfigKeys.SonogramTypes
        • ConfigKeys.Windowing
        • CrossCorrelation
        • EndpointDetectionConfiguration
        • FindMatchingEvents
        • FrommoltProject
        • HarmonicAnalysis
        • HarmonicEvent
        • IPointData
        • ISignalToImage
        • ISpectralPoint
        • ITracks<T>
        • MfccConfiguration
        • OscillationEvent
        • Oscillations2010
        • Oscillations2012
        • Oscillations2014
        • Oscillations2014.FreqVsOscillationsResult
        • Oscillations2019
        • PointOfInterest
        • ResultsTools
        • RidgeDetection
        • RidgeDetection.RidgeDetectionConfiguration
        • SiteDescription
        • SpectralActivity
        • SpectralCentroid
        • SpectralClustering
        • SpectralClustering.ClusteringParameters
        • SpectralClustering.TrainingDataInfo
        • SpectralPeakTracking2018
        • SpectralPeakTracking2018.Output
        • SpectralPeakTrackingSettings
        • SpectralPeakTracks
        • SprTools
        • SummaryActivity
        • SunAndMoon
        • SunAndMoon.SunMoonTides
        • SURFFeatures
        • TemporalEvent
        • TowseySignalToImage
        • UnitConverters
        • WebSignalToImage
        • WhipEvent
        • WhistleEvent
      • AudioAnalysisTools.ContentDescriptionTools
        • ContentAlgorithms
        • ContentSignatures
        • ContentVisualization
        • DataProcessing
        • DescriptionResult
        • EditStatus
        • FunctionalTemplate
        • SourceAudioProvenance
        • TemplateCollection
        • TemplateManifest
      • AudioAnalysisTools.DSP
        • Clipping
        • DSP_Frames
        • DSP_Frames.EnvelopeAndFft
        • DSP_IIRFilter
        • DspFilters
        • FeatureExtraction
        • FeatureLearning
        • FeatureLearningSettings
        • FFT2D
        • FreqScaleType
        • FrequencyScale
        • KmeansClustering
        • KmeansClustering.Output
        • LocalContrastNormalisation
        • MFCCStuff
        • NoiseProfile
        • NoiseReductionType
        • NoiseRemoval_Briggs
        • NoiseRemovalModal
        • OctaveFreqScale
        • PatchSampling
        • PatchSampling.SamplingMethod
        • PcaWhitening
        • PcaWhitening.Output
        • PowerSpectralDensity
        • SNR
        • SNR.BackgroundNoise
        • SNR.SnrStatistics
        • WaveType
        • WavInfo
        • WavWriter
      • AudioAnalysisTools.Events
        • EventCommon
        • EventExtentions
        • EventFilters
        • InstantEvent
        • SpectralEvent
        • SpectralPoint
      • AudioAnalysisTools.Events.Drawing
        • EventDrawer
        • EventRenderingOptions
        • IDrawableEvent
      • AudioAnalysisTools.Events.Interfaces
        • IInstantEvent
        • ISpectralBand
        • ISpectralEvent
        • ITrack
      • AudioAnalysisTools.Events.Tracks
        • Track
        • TrackType
      • AudioAnalysisTools.Events.Types
        • ChatterEvent
        • CompositeEvent
        • EventConverters
        • EventPostProcessing
        • EventPostProcessing.BandwidthConfig
        • EventPostProcessing.DurationConfig
        • EventPostProcessing.PostProcessingConfig
        • EventPostProcessing.SidebandConfig
        • EventPostProcessing.SyllableSequenceConfig
        • EventPostProcessing.SyllableStackConfig
      • AudioAnalysisTools.EventStatistics
        • EventStatistics
        • EventStatistics.EventStatisticsClassMap
        • EventStatisticsCalculate
        • EventStatisticsConfiguration
      • AudioAnalysisTools.Indices
        • AnalyzerConfigIndexProperties
        • ConcatMode
        • GapsAndJoins
        • IIndexPropertyReferenceConfiguration
        • IndexCalculate
        • IndexCalculateConfig
        • IndexCalculateResult
        • IndexCalculateSixOnly
        • IndexDisplay
        • IndexDistributions
        • IndexDistributions.SpectralStats
        • IndexGenerationData
        • IndexMatrices
        • IndexProperties
        • IndexPropertiesCollection
        • InitialiseIndexProperties
        • RainIndices
        • RainIndices.RainStruct
        • SpectralIndexValues
        • SpectralIndexValuesForContentDescription
        • SpectralIndicesToAndFromTable
        • SpectralIndicesToAndFromTable.Arguments
        • SummaryIndexValues
      • AudioAnalysisTools.LongDurationSpectrograms
        • LdSpectrogram3D
        • LdSpectrogram3D.Arguments
        • LDSpectrogramClusters
        • LdSpectrogramConfig
        • LdSpectrogramDifference
        • LDSpectrogramDiscreteColour
        • LDSpectrogramDistance
        • LDSpectrogramRGB
        • LdSpectrogramRibbons
        • LdSpectrogramStitching
        • LdSpectrogramTStatistic
        • SpectrogramConstants
        • SpectrogramType
        • TimeOffsetSingleLayerSuperTile
        • ZoomFocusedSpectrograms
      • AudioAnalysisTools.LongDurationSpectrograms.Zooming
        • InvalidScaleException
        • SpectrogramZoomingConfig
        • ZoomCommon
        • ZoomParameters
        • ZoomTiledSpectrograms
      • AudioAnalysisTools.Scales
        • LinearScale
      • AudioAnalysisTools.StandardSpectrograms
        • AmplitudeSonogram
        • AmplitudeSpectrogram
        • BaseSonogram
        • DecibelSpectrogram
        • EnergySpectrogram
        • Image_MultiTrack
        • ImageTrack
        • SonogramConfig
        • SpectrogramAttributes
        • SpectrogramCepstral
        • SpectrogramMelScale
        • SpectrogramOctaveScale
        • SpectrogramSettings
        • SpectrogramSobelEdge
        • SpectrogramStandard
        • SpectrogramTools
        • TrackType
      • AudioAnalysisTools.TileImage
        • AbsoluteDateTilingProfile
        • DefaultSuperTile
        • DuplicateTileException
        • ImageComponent
        • ISuperTile
        • Layer
        • PanoJsTilingProfile
        • TileBias
        • Tiler
        • TilingProfile
      • AudioAnalysisTools.Tracks
        • ForwardTrackAlgorithm
        • OnebinTrackAlgorithm
        • OneframeTrackAlgorithm
        • UpwardTrackAlgorithm
      • AudioAnalysisTools.WavTools
        • AudioRecording
        • RecordingFetcher
        • TowseyWavReader
        • WavChooser
      • Be.Timvw.Framework.Collections.Generic
        • PropertyComparer<T>
      • BTR.Core.Linq
        • ExpressionExtensions
        • ExpressionVisitor
        • ExpressionVisitor<T>
      • log4net
        • LogExtensions
      • NeuralNets
        • ART
        • ART_2A
        • BinaryCluster
        • Cluster
        • FuzzyART
        • VQ
      • QutSensors.Shared
        • StatDescriptive
        • StatDescriptiveResult
      • SixLabors.ImageSharp
        • ImageSharpExtensions
      • System
        • ArrayExtensions
        • DateTimeAndTimeSpanExtensions
        • DateTimeAndTimeSpanExtensions.RoundingDirection
        • DoubleExtensions
        • DoubleSquareArrayExtensions
        • DoubleSquareArrayExtensions.MergingDirection
        • EnumerableExtensions
        • EnumExtensions
        • ExceptionsExtensions
        • ExtensionsString
        • FileInfoExtensions
        • FileInfoNameComparer
        • LoggedConsole
        • MathExtensions
        • NoConsole
        • ObjectExtensions
        • ProcessExtensions
        • ProcessExtensions.ParentProcessUtilities
        • ReflectionExtensions
        • SystemExtensions
        • TupleExtensions
      • System.Collections.Generic
        • DictionaryExtensions
      • System.Drawing
        • RectangleExtensions
      • System.IO
        • ExtensionsIO
      • System.Threading.Tasks
        • TaskExtensions
      • System.Xml.Linq
        • ExtensionsXml
      • TowseyLibrary
        • AutoAndCrossCorrelation
        • ColorCubeHelix
        • ColorCubeHelix.HslColor
        • ConfigDict
        • ConfigDictionary
        • ConfigurationExtensions
        • CsvTools
        • CubeHelix
        • DataTableTools
        • DataTools
        • DictionaryTools
        • Distribution
        • FFT
        • FFT.WindowFunc
        • FileTools
        • FunctionalTests
        • GaussianTools
        • GraphsAndCharts
        • Gratings
        • Histogram
        • ImageTools
        • Kernal
        • LLR
        • Log
        • Matrix3D
        • MatrixTools
        • NormalDist
        • Oblong
        • Oblong.OblongClassMap
        • OtsuThresholder
        • OtsuThresholder.Arguments
        • Plot
        • PolarCoordinates
        • PulseTrain
        • RandomNumber
        • RandomVariable
        • Spectrum
        • Statistics
        • StructureTensor
        • StructureTensor.RidgeTensorResult
        • StructureTensor.StructureTensorResult
        • SvdAndPca
        • TemporalMatrix
        • TernaryPlots
        • TestTools
        • TextUtilities
        • WaveletPacketDecomposition
        • WaveletPacketDecomposition.BinVector
        • WaveletTransformContinuous
        • WindowFunctions

    Struct Interval<T>

    Represents a interval between two points on the same dimension. Encoding boundness is left up to the type used.

    Implements
    IEquatable<Interval<T>>
    IComparable<Interval<T>>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Acoustics.Shared
    Assembly: Acoustics.Shared.dll
    Syntax
    public readonly struct Interval<T> : IEquatable<Interval<T>>, IComparable<Interval<T>> where T : struct, IComparable<T>, IFormattable
    Type Parameters
    Name Description
    T

    The type used to represent the points in this interval.

    Constructors

    | Improve this Doc View Source

    Interval(T, T)

    Declaration
    public Interval(T minimum, T maximum)
    Parameters
    Type Name Description
    T minimum
    T maximum
    | Improve this Doc View Source

    Interval(T, T, Topology)

    Declaration
    public Interval(T minimum, T maximum, Topology topology)
    Parameters
    Type Name Description
    T minimum
    T maximum
    Topology topology

    Properties

    | Improve this Doc View Source

    IsClosed

    Declaration
    public readonly bool IsClosed { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsDefault

    Declaration
    public readonly bool IsDefault { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsDegenerate

    Declaration
    public readonly bool IsDegenerate { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsEmpty

    Declaration
    public readonly bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsMaximumInclusive

    Declaration
    public readonly bool IsMaximumInclusive { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsMinimumInclusive

    Declaration
    public readonly bool IsMinimumInclusive { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsOpen

    Declaration
    public readonly bool IsOpen { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsProper

    Declaration
    public readonly bool IsProper { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Maximum

    Gets the Maximum.

    Declaration
    public readonly T Maximum { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Minimum

    Gets the Minimum.

    Declaration
    public readonly T Minimum { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Topology

    Gets the type of topology this interval has.

    Declaration
    public readonly Topology Topology { get; }
    Property Value
    Type Description
    Topology

    Methods

    | Improve this Doc View Source

    CombineTopology(Interval<T>)

    Declaration
    public readonly Topology CombineTopology(Interval<T> second)
    Parameters
    Type Name Description
    Interval<T> second
    Returns
    Type Description
    Topology
    | Improve this Doc View Source

    CompareTo(Interval<T>)

    Declaration
    public readonly int CompareTo(Interval<T> other)
    Parameters
    Type Name Description
    Interval<T> other
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    Contains(T, Topology)

    Declaration
    public readonly bool Contains(T scalar, Topology type = Topology.LeftClosedRightOpen)
    Parameters
    Type Name Description
    T scalar
    Topology type
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Contains(Interval<T>)

    Declaration
    public readonly bool Contains(Interval<T> interval)
    Parameters
    Type Name Description
    Interval<T> interval
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Deconstruct(out T, out T)

    Declaration
    public readonly void Deconstruct(out T minimum, out T maximum)
    Parameters
    Type Name Description
    T minimum
    T maximum
    | Improve this Doc View Source

    Equals(Interval<T>)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public readonly bool Equals(Interval<T> other)
    Parameters
    Type Name Description
    Interval<T> other

    An object to compare with this object.

    Returns
    Type Description
    Boolean

    true if the current object is equal to the other parameter; otherwise, false.

    | Improve this Doc View Source

    Equals(Object)

    Equals another instance.

    Declaration
    public override readonly bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The obj to compare.

    Returns
    Type Description
    Boolean

    True if equal, otherwise false.

    Overrides
    ValueType.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Get Hash Code.

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    Int32

    Hash Code.

    Overrides
    ValueType.GetHashCode()
    | Improve this Doc View Source

    IntersectsWith(Interval<T>)

    Declaration
    public readonly bool IntersectsWith(Interval<T> interval)
    Parameters
    Type Name Description
    Interval<T> interval
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ToString()

    Gets string representation of the Interval. technically incorrectly representing this value.

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    String

    String representation.

    Overrides
    ValueType.ToString()
    | Improve this Doc View Source

    ToString(Boolean, String, CultureInfo)

    Gets string representation of the Interval. technically incorrectly representing this value.

    Declaration
    public readonly string ToString(bool suppressName, string tFormat = "R", CultureInfo culture = null)
    Parameters
    Type Name Description
    Boolean suppressName

    If true only prints interval data and not type name.

    String tFormat
    CultureInfo culture
    Returns
    Type Description
    String

    String representation.

    | Improve this Doc View Source

    TryGetUnion(Interval<T>, out Interval<T>)

    Declaration
    public readonly bool TryGetUnion(Interval<T> interval, out Interval<T> union)
    Parameters
    Type Name Description
    Interval<T> interval
    Interval<T> union
    Returns
    Type Description
    Boolean

    Operators

    | Improve this Doc View Source

    Equality(Interval<T>, Interval<T>)

    Equals operator.

    Declaration
    public static bool operator ==(Interval<T> first, Interval<T> second)
    Parameters
    Type Name Description
    Interval<T> first

    The first interval.

    Interval<T> second

    The second interval.

    Returns
    Type Description
    Boolean

    True if equal, otherwise false.

    | Improve this Doc View Source

    Implicit((T Minimum, T Maximum, Topology Topology) to Interval<T>)

    Declaration
    public static implicit operator Interval<T>((T Minimum, T Maximum, Topology Topology) item)
    Parameters
    Type Name Description
    (T1, T2, T3)<T, T, Topology> item
    Returns
    Type Description
    Interval<T>
    | Improve this Doc View Source

    Implicit((T Minimum, T Maximum) to Interval<T>)

    Declaration
    public static implicit operator Interval<T>((T Minimum, T Maximum) item)
    Parameters
    Type Name Description
    (T1, T2)<T, T> item
    Returns
    Type Description
    Interval<T>
    | Improve this Doc View Source

    Inequality(Interval<T>, Interval<T>)

    Not equal operator.

    Declaration
    public static bool operator !=(Interval<T> first, Interval<T> second)
    Parameters
    Type Name Description
    Interval<T> first

    The first.

    Interval<T> second

    The second.

    Returns
    Type Description
    Boolean

    True if not equals, otherwise false.

    Implements

    System.IEquatable<T>
    System.IComparable<T>

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • Interval(T, T)
      • Interval(T, T, Topology)
    • Properties
      • IsClosed
      • IsDefault
      • IsDegenerate
      • IsEmpty
      • IsMaximumInclusive
      • IsMinimumInclusive
      • IsOpen
      • IsProper
      • Maximum
      • Minimum
      • Topology
    • Methods
      • CombineTopology(Interval<T>)
      • CompareTo(Interval<T>)
      • Contains(T, Topology)
      • Contains(Interval<T>)
      • Deconstruct(out T, out T)
      • Equals(Interval<T>)
      • Equals(Object)
      • GetHashCode()
      • IntersectsWith(Interval<T>)
      • ToString()
      • ToString(Boolean, String, CultureInfo)
      • TryGetUnion(Interval<T>, out Interval<T>)
    • Operators
      • Equality(Interval<T>, Interval<T>)
      • Implicit((T Minimum, T Maximum, Topology Topology) to Interval<T>)
      • Implicit((T Minimum, T Maximum) to Interval<T>)
      • Inequality(Interval<T>, Interval<T>)
    • Implements
    • Extension Methods
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top