Calculates a part of the line segment which is entirely in the image. It returns 0 if the line segment is completely outside the image and 1 otherwise.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static int cvClipLine( Size imgSize, ref Point pt1, ref Point pt2 ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvClipLine ( _ imgSize As Size, _ ByRef pt1 As Point, _ ByRef pt2 As Point _ ) As Integer |
Visual C++ |
---|
public: static int cvClipLine( Size imgSize, Point% pt1, Point% pt2 ) |
Parameters
- imgSize
- Type: System.Drawing..::.Size
Size of the image
- pt1
- Type:
System.Drawing..::.Point
%
First ending point of the line segment. It is modified by the function
- pt2
- Type:
System.Drawing..::.Point
%
Second ending point of the line segment. It is modified by the function.