Sample the pixel values on the specific line segment

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

- line (LineSegment2D)
- The line to obtain samples

The values on the (Eight-connected) line