Package boofcv.struct

Class ImageRectangle_F64

java.lang.Object
boofcv.struct.ImageRectangle_F64

public class ImageRectangle_F64
extends Object
Specifies an axis aligned rectangle inside an image using lower and upper extents.
  • Field Summary

    Fields
    Modifier and Type Field Description
    double x0
    Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    double x1
    Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    double y0
    Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
    double y1
    Inclusive lower extent (x0,y) and exclusive upper extent (x1,y1)
  • Constructor Summary

    Constructors
    Constructor Description
    ImageRectangle_F64()  
    ImageRectangle_F64​(double x0, double y0, double x1, double y1)  
    ImageRectangle_F64​(ImageRectangle_F64 orig)  
  • Method Summary

    Modifier and Type Method Description
    double area()
    Returns the area of the rectangle
    void setTo​(double x0, double y0, double x1, double y1)  
    void setTo​(ImageRectangle_F64 orig)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x0

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

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

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

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

      public ImageRectangle_F64​(ImageRectangle_F64 orig)
    • ImageRectangle_F64

      public ImageRectangle_F64()
  • Method Details

    • setTo

      public void setTo​(ImageRectangle_F64 orig)
    • setTo

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

      public double area()
      Returns the area of the rectangle