Package boofcv.struct
Class ImageRectangle_F32
java.lang.Object
boofcv.struct.ImageRectangle_F32
@Generated("boofcv.struct.ImageRectangle_F64") public class ImageRectangle_F32 extends Object
Specifies an axis aligned rectangle inside an image using lower and upper extents.
-
Field Summary
Fields Modifier and Type Field Description float
x0
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)float
x1
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)float
y0
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)float
y1
Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1) -
Constructor Summary
Constructors Constructor Description ImageRectangle_F32()
ImageRectangle_F32(float x0, float y0, float x1, float y1)
ImageRectangle_F32(ImageRectangle_F32 orig)
-
Method Summary
Modifier and Type Method Description float
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
-