public class Line extends AbstractCoordinateShape
Line in 3D space. Line is represented by two points, width and color and width.
  • Field Details

    • width

      public final double width
      width of the line.
    • color

      public Color color
      Color of the line.
  • Constructor Details

    • Line

      public Line(Line parentLine)
    • Line

      public Line(Point3D point1, Point3D point2, Color color, double width)
  • Method Details