Search Results for

    Show / Hide Table of Contents

    Struct SeqSlice

    Represents a sequence slice.

    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public struct SeqSlice

    Constructors

    | Improve this Doc View Source

    SeqSlice(Int32, Int32)

    Initializes a new instance of the SeqSlice structure from the specified start and end indices.

    Declaration
    public SeqSlice(int start, int end)
    Parameters
    Type Name Description
    Int32 start

    The inclusive start index of the slice.

    Int32 end

    The exclusive end index boundary of the slice.

    Fields

    | Improve this Doc View Source

    EndIndex

    The exclusive end index boundary of the slice.

    Declaration
    public int EndIndex
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    StartIndex

    The inclusive start index of the slice.

    Declaration
    public int StartIndex
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    WholeSeqEndIndex

    An index value that represents the end of the whole sequence.

    Declaration
    public const int WholeSeqEndIndex = null
    Field Value
    Type Description
    Int32

    Properties

    | Improve this Doc View Source

    WholeSeq

    Returns a SeqSlice that is set to encompass the whole sequence.

    Declaration
    public static SeqSlice WholeSeq { get; }
    Property Value
    Type Description
    SeqSlice

    Methods

    | Improve this Doc View Source

    SliceLength(Seq)

    Calculates the number of elements in the slice for a specified sequence.

    Declaration
    public int SliceLength(Seq seq)
    Parameters
    Type Name Description
    Seq seq

    The sequence on which to compute the slice length.

    Returns
    Type Description
    Int32

    The number of elements in the slice for the specified sequence.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX