Function opencv::core::clip_line_size [] [src]

pub fn clip_line_size(imgSize: Size, pt1: Point, pt2: Point) -> Result<bool, String>

clips the line segment by the rectangle Rect(0, 0, imgSize.width, imgSize.height)