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