Class JxnLine3DPainter
- java.lang.Object
-
- JxnAbstractPainter
-
- JxnGraphicsPainter
-
- JxnLine3DPainter
-
- All Implemented Interfaces:
Jxn3DPainter,KmgXYPainter
public class JxnLine3DPainter extends JxnGraphicsPainter implements Jxn3DPainter
Defines a line object for display in aJxnPerspectivePlotFrame.
-
-
Constructor Summary
Constructors Constructor Description JxnLine3DPainter(double x1, double y1, double z1, double x2, double y2, double z2)Creates a line object (line from(x1,y1,z1)to(x2,y2,z2)) for display in aJxnPerspectivePlotFrame.JxnLine3DPainter(double x1, double y1, double z1, double x2, double y2, double z2, Color lineColor)SeeJxnLine3DPainter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JxnLine3DPainterapplyProjection(IKmg3DProjection p3d)Applies the projection(x,y,z) -> (x",y")(called internally).-
Methods inherited from class JxnAbstractPainter
applyStroke, applyStroke, getKmgDoubleBounds, lw, plot, plot90, setColor, setIgnoreBounds, setIgnoreBounds, setLineWidth, setLineWidthDefault, setStroke
-
Methods inherited from class JxnGraphicsPainter
paint
-
-
-
-
Constructor Detail
-
JxnLine3DPainter
public JxnLine3DPainter(double x1, double y1, double z1, double x2, double y2, double z2)Creates a line object (line from(x1,y1,z1)to(x2,y2,z2)) for display in aJxnPerspectivePlotFrame.
Note: If used which aPlotFrameother thanJxnPerspectivePlotFramez1 and z2 are silently ignored.
-
JxnLine3DPainter
public JxnLine3DPainter(double x1, double y1, double z1, double x2, double y2, double z2, Color lineColor)SeeJxnLine3DPainter.
-
-
Method Detail
-
applyProjection
public JxnLine3DPainter applyProjection(IKmg3DProjection p3d)
Applies the projection(x,y,z) -> (x",y")(called internally).- Specified by:
applyProjectionin interfaceJxn3DPainter
-
-