Cv2ClipLine Method (Rect, Point, Point) OpenCvSharp Class Library
Clips the line against the image rectangle

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool ClipLine(
	Rect imgRect,
	ref Point pt1,
	ref Point pt2
)

Parameters

imgRect
Type: OpenCvSharp.CPlusPlusRect
sThe image rectangle
pt1
Type: OpenCvSharp.CPlusPlusPoint
The first line point
pt2
Type: OpenCvSharp.CPlusPlusPoint
The second line point

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ClipLine(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Point@,OpenCvSharp.CPlusPlus.Point@)"]

See Also

Reference