Click or drag to resize
CvInvokeClipLine Method
http://www.emgu.com
Calculates a part of the line segment which is entirely in the rectangle.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static bool ClipLine(
	Rectangle rectangle,
	ref Point pt1,
	ref Point pt2
)

Parameters

rectangle
Type: System.DrawingRectangle
The rectangle
pt1
Type: System.DrawingPoint
First ending point of the line segment. It is modified by the function
pt2
Type: System.DrawingPoint
Second ending point of the line segment. It is modified by the function.

Return Value

Type: Boolean
It returns false if the line segment is completely outside the rectangle and true otherwise.
See Also