Package boofcv.struct
Class ImageRectangle_F64
java.lang.Object
boofcv.struct.ImageRectangle_F64
Specifies an axis aligned rectangle inside an image using lower and upper extents.
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)double
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)double
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)double
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
area()
Returns the area of the rectanglevoid
setTo
(double x0, double y0, double x1, double y1) void
setTo
(ImageRectangle_F64 orig)
-
Field Details
-
x0
public double x0Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1) -
y0
public double y0Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1) -
x1
public double x1Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1) -
y1
public double y1Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
-
-
Constructor Details
-
ImageRectangle_F64
public ImageRectangle_F64(double x0, double y0, double x1, double y1) -
ImageRectangle_F64
-
ImageRectangle_F64
public ImageRectangle_F64()
-
-
Method Details
-
setTo
-
setTo
public void setTo(double x0, double y0, double x1, double y1) -
area
public double area()Returns the area of the rectangle
-