Cv2ClipLine Method (Size, Point, Point)
|
Clips the line against the image rectangle
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static bool ClipLine(
Size imgSize,
ref Point pt1,
ref Point pt2
)
Public Shared Function ClipLine (
imgSize As Size,
ByRef pt1 As Point,
ByRef pt2 As Point
) As Boolean
public:
static bool ClipLine(
Size imgSize,
Point% pt1,
Point% pt2
)
static member ClipLine :
imgSize : Size *
pt1 : Point byref *
pt2 : Point byref -> bool
OpenCvSharp.Cv2.ClipLine = function(imgSize, pt1, pt2);
Parameters
- imgSize
- Type: OpenCvSharpSize
The image size - pt1
- Type: OpenCvSharpPoint
The first line point - pt2
- Type: OpenCvSharpPoint
The second line point
Return Value
Type:
Boolean
See Also