Cv2ClipLine Method (Size, 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(
	Size imgSize,
	ref Point pt1,
	ref Point pt2
)

Parameters

imgSize
Type: OpenCvSharp.CPlusPlusSize
The image size
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.Size,OpenCvSharp.CPlusPlus.Point@,OpenCvSharp.CPlusPlus.Point@)"]

See Also

Reference