Class Circle

java.lang.Object
com.flir.thermalsdk.image.Circle

public class Circle extends Object
Represents a set of tree integers that represent the center point and a radius of a circle.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The radius of the Circle structure.
    final int
    The x-coordinate of the center of the Circle structure.
    final int
    The y-coordinate of the center of the Circle structure.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Circle(int x, int y, int radius)
    Create a Circle.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

      public final int x
      The x-coordinate of the center of the Circle structure.
    • y

      public final int y
      The y-coordinate of the center of the Circle structure.
    • radius

      public final int radius
      The radius of the Circle structure.
  • Constructor Details

    • Circle

      public Circle(int x, int y, int radius)
      Create a Circle.
      Parameters:
      x - The x-coordinate of the center of the Circle structure.
      y - The y-coordinate of the center of the Circle structure.
      radius - The radius of the Circle structure.
      Throws:
      IllegalArgumentException - if any of the values would create an invalid circle, i.e. negative radius
  • Method Details