func (box *Box2D) Points() []Point2D32f {
	var pts [4]C.CvPoint2D32f
	C.cvBoxPoints(
		box.CVBox(),
		(*C.CvPoint2D32f)(unsafe.Pointer(&pts[0])),
	)
	outPts := make([]Point2D32f, 4)
	for i, p := range pts {
		outPts[i].X = float32(p.x)
		outPts[i].Y = float32(p.y)
	}
	return outPts
}
func (box *Box2D) Points() []Point2D32f {
	var pts [4]C.CvPoint2D32f
	C.cvBoxPoints(
		box.CVBox(),
		(*C.CvPoint2D32f)(unsafe.Pointer(&pts[0])),
	)
	outPts := make([]Point2D32f, 4)
	for i, p := range pts {
		outPts[i].X = float32(p.x)
		outPts[i].Y = float32(p.y)
	}
	return outPts
}
func ( box * Box2D ) Points ( ) [ ] Point2D32f { var pts [ 4 ] C . CvPoint2D32f C . cvBoxPoints ( box . CVBox ( ) , ( * C . CvPoint2D32f ) ( unsafe . Pointer ( & pts [ 0 ] ) ) , ) outPts := make ( [ ] Point2D32f , 4 ) for i , p := range pts { outPts [ i ] . X = float32 ( p . x ) outPts [ i ] . Y = float32 ( p . y ) } return outPts }
// Finds box vertices
Finds box vertices