Sample the pixel values on the specific line segment

C# | Visual Basic | Visual C++ |
public TDepth[,] Sample( LineSegment2D<int> line, LINE_SAMPLE_TYPE type )
Public Function Sample ( _ line As LineSegment2D(Of Integer), _ type As LINE_SAMPLE_TYPE _ ) As TDepth(,)
public: array<TDepth,2>^ Sample( LineSegment2D<int>^ line, LINE_SAMPLE_TYPE type )

- line (LineSegment2D<(Of <(Int32>)>))
- The line to obtain samples
- type (LINE_SAMPLE_TYPE)
- The sampling type

The values on the line