Package com.flir.thermalsdk.image
Class Line
java.lang.Object
com.flir.thermalsdk.image.Line
Represents a line as a coordinate and orientation pair.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines a line orientation in 2D environment. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intFor horizontal line the coordinate will be Y position, for vertical line the coordinate will be X position.final Line.LineOrientationThe line orientation in 2D environment. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
coordinate
public final int coordinateFor horizontal line the coordinate will be Y position, for vertical line the coordinate will be X position. -
orientation
The line orientation in 2D environment.
-
-
Constructor Details
-
Line
Create a Line.- Parameters:
coordinate- For horizontal line the coordinate will be Y position, for vertical line the coordinate will be X position.orientation- The line orientation in 2D environment.- Throws:
IllegalArgumentException- if any of the values would create an invalid line, i.e. negative coordinate
-
-
Method Details