public class List4ImageLine
extends java.lang.Object
ImageLine
class holds the coordinates of a line.Modifier and Type | Field and Description |
---|---|
static int |
LINE |
static int |
MAX_X |
static int |
MAX_Y |
static int |
MAX_Z |
static int |
POINT |
static int |
TEXT |
static int |
X |
static int |
Y |
static int |
Z |
Constructor and Description |
---|
List4ImageLine(int ptype,
double px1,
double py1,
double pz1,
double px2,
double py2,
double pz2,
boolean precalc)
The constructor
List4ImageLine creates a new instance(object) of the class. |
List4ImageLine(int ptype,
java.lang.String ptext,
double px1,
double py1,
double pz1,
double px2,
double py2,
double pz2,
boolean precalc)
The constructor
List4ImageLine creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getRecalc()
get field: the current recalc.
|
java.lang.String |
getText()
get field: the current value of text.
|
int |
getType()
get field: the current type.
|
double |
getX1_old()
get field: the current value of x1.
|
double |
getX1()
get field: the current value of x1.
|
double |
getX2_old()
get field: the current value of x2.
|
double |
getX2()
get field: the current value of x2.
|
double |
getY1_old()
get field: the current value of y1.
|
double |
getY1()
get field: the current value of y1.
|
double |
getY2_old()
get field: the current value of y2.
|
double |
getY2()
get field: the current value of y2.
|
double |
getZ1_old()
get field: the current value of z1.
|
double |
getZ1()
get field: the current value of z1.
|
double |
getZ2_old()
get field: the current value of z2.
|
double |
getZ2()
get field: the current value of z2.
|
void |
setRecalc(boolean input)
set field: the current recalc.
|
void |
setText(java.lang.String input)
set field: set the field text.
|
void |
setType(int input)
set field: the current type.
|
void |
setX1(double input)
set field: set the field of x1.
|
void |
setX2(double input)
set field: set the field of x2.
|
void |
setY1(double input)
set field: set the field of y1.
|
void |
setY2(double input)
set field: set the field y2.
|
void |
setZ1(double input)
set field: set the field z1.
|
void |
setZ2(double input)
set field: set the field zy2.
|
public static final int POINT
public static final int LINE
public static final int TEXT
public static final int X
public static final int Y
public static final int Z
public static final int MAX_X
public static final int MAX_Y
public static final int MAX_Z
public List4ImageLine(int ptype, double px1, double py1, double pz1, double px2, double py2, double pz2, boolean precalc)
List4ImageLine
creates a new instance(object) of the class.ptype
- the data type.px1
- coordinate.px2
- coordinate.py1
- coordinate.py2
- coordinate.pz1
- coordinate.pz2
- coordinate.precalc
- .public List4ImageLine(int ptype, java.lang.String ptext, double px1, double py1, double pz1, double px2, double py2, double pz2, boolean precalc)
List4ImageLine
creates a new instance(object) of the class.ptype
- the data type.ptext
- the text.px1
- coordinate.px2
- coordinate.py1
- coordinate.py2
- coordinate.pz1
- coordinate.pz2
- coordinate.precalc
- .public int getType()
public boolean getRecalc()
public double getX1()
public double getX2()
public double getY1()
public double getY2()
public double getZ1()
public double getZ2()
public double getX1_old()
public double getX2_old()
public double getY1_old()
public double getY2_old()
public double getZ1_old()
public double getZ2_old()
public java.lang.String getText()
public void setType(int input)
input
- typepublic void setRecalc(boolean input)
input
- recalcpublic void setX1(double input)
input
- x1public void setX2(double input)
input
- x2public void setY1(double input)
input
- y1public void setY2(double input)
input
- y2public void setZ1(double input)
input
- z1public void setZ2(double input)
input
- z2public void setText(java.lang.String input)
input
- text