public class Line3D extends Object
At the moment it is not possible to set line width.
Modifier and Type | Field and Description |
---|---|
int |
color
color of line (hex)
|
boolean |
isPair |
double |
x1
x coordinate of start point
|
double |
x2
x coordinate of end point
|
double |
y1
y coordinate of start point
|
double |
y2
y coordinate of end point
|
double |
z1
z coordinate of start point
|
double |
z2
z coordinate of end point
|
Constructor and Description |
---|
Line3D()
Creates a new lines3D object.
|
Line3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
Color color) |
Line3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
Color color,
boolean isPair) |
Line3D(int[] p1,
int[] p2,
Color color)
Creates a new lines3D object with start point, end point and color of the line
|
Line3D(int[] p1,
int[] p2,
int rgb)
Creates a new lines3D object with start point, end point and color of the line
|
Line3D(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
Color color)
Creates a new lines3D object with start point, end point and color of the line
|
Line3D(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
int rgb)
Creates a new lines3D object with start point, end point and color of the line
|
public double x1
public double y1
public double z1
public double x2
public double y2
public double z2
public int color
public boolean isPair
public Line3D()
public Line3D(int x1, int y1, int z1, int x2, int y2, int z2, int rgb)
x1
- - x coordinate of start pointy1
- - y coordinate of start pointz1
- - z coordinate of start pointx2
- - x coordinate of end pointy2
- - y coordinate of end pointz2
- - z coordinate of end pointrgb
- - color of line (hex)public Line3D(int x1, int y1, int z1, int x2, int y2, int z2, Color color)
x1
- - x coordinate of start pointy1
- - y coordinate of start pointz1
- - z coordinate of start pointx2
- - x coordinate of end pointy2
- - y coordinate of end pointz2
- - z coordinate of end pointcolor
- - color of linepublic Line3D(double x1, double y1, double z1, double x2, double y2, double z2, Color color)
public Line3D(double x1, double y1, double z1, double x2, double y2, double z2, Color color, boolean isPair)
public Line3D(int[] p1, int[] p2, int rgb)
p1
- start point int[3]p2
- start point int[3]rgb
- color of the line (int)public Line3D(int[] p1, int[] p2, Color color)
p1
- start point int[3]p2
- start point int[3]color
- color of the lineCopyright © 2015–2021 Fiji. All rights reserved.