Emgu CV Library Documentation
cvClipLine Method (imgSize, pt1, pt2)
NamespacesEmgu.CVCvInvokecvClipLine(MCvSize, MCvPoint%, MCvPoint%)

www.emgu.com/wiki
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.
Declaration Syntax
C#Visual BasicVisual C++
public static int cvClipLine(
	MCvSize imgSize,
	ref MCvPoint pt1,
	ref MCvPoint pt2
)
Public Shared Function cvClipLine ( _
	imgSize As MCvSize, _
	ByRef pt1 As MCvPoint, _
	ByRef pt2 As MCvPoint _
) As Integer
public:
static int cvClipLine(
	MCvSize imgSize, 
	MCvPoint% pt1, 
	MCvPoint% pt2
)
Parameters
imgSize (MCvSize)
Size of the image
pt1 ( MCvPoint %)
First ending point of the line segment. It is modified by the function
pt2 ( MCvPoint %)
Second ending point of the line segment. It is modified by the function.
Return Value
It returns 0 if the line segment is completely outside the image and 1 otherwise.

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)