gocv

package
v0.0.83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rect

type Rect struct {
	X      int32
	Y      int32
	Width  int32
	Height int32
}
var ZR Rect

func (Rect) Empty

func (r Rect) Empty() bool

Empty reports whether the rectangle contains no points.

func (Rect) In added in v0.0.83

func (r Rect) In(s Rect) bool

In reports whether every point in r is in s. true means s is larger than r

func (Rect) Intersect

func (r Rect) Intersect(s Rect) Rect

func (Rect) Scale

func (r Rect) Scale(factor float32) Rect

func (Rect) Union added in v0.0.83

func (r Rect) Union(s Rect) Rect

Union returns the smallest rect that contains both r and s.

Directories

Path Synopsis
cgo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL