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 Details

    • x0

      public float x0
      Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    • y0

      public float y0
      Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    • x1

      public float x1
      Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    • y1

      public float y1
      Inclusive 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

      public ImageRectangle_F32(ImageRectangle_F32 orig)
    • ImageRectangle_F32

      public ImageRectangle_F32()
  • Method Details

    • setTo

      public void setTo(ImageRectangle_F32 orig)
    • setTo

      public void setTo(float x0, float y0, float x1, float y1)
    • area

      public float area()
      Returns the area of the rectangle