Documentation of 'vmm3d.core3D.Axes3D' Java class
Axes3D
vmm3d.core3D

Class Axes3D



  • public class Axes3D
    extends Axes2D
    A Decoration that displays x-, y-, and z-axes in three-space. The axes are drawn as line segments from the origin to the points (1,0,0), (0,1,0), and (0,0,1). This is a subclass of Axes2D so that both 2D and 3D axes can be treated uniformly.
    • Constructor Detail

      • Axes3D

        public Axes3D()
        Create an Axes3D decoration, which is in layer 1 by default.
        See Also:
        Decoration.setLayer(int)
    • Method Detail

      • doDraw

        public void doDraw(org.freehep.graphics2d.VectorGraphics g,
                           View view,
                           Transform transform)
        Draws a set of axes in the specified View. If the view is not in fact a three dimensionsal view, then a set of two dimensional axes is drawn.
        Overrides:
        doDraw in class Axes2D
        Parameters:
        g - The graphics context where the Exhibit and its decorations are being drawn.
        view - The View that is drawing the Exhibit; this object contains other information that might be of use, such as the Display, if any, associated with the View, and the the actual Exhibit that is being drawn.
        transform - Contains information about the rectangular area in the xy-plane that is being drawn and about the rectangle of pixels in the graphics context where it is drawn. Note that at least for the top-level View class, transform.getX() and transform.getY() can be assumed to be zero.
        See Also:
        Exhibit#render(Graphics2D, View, Transform, ArrayList), Decoration.computeDrawData(View, boolean, Transform, Transform)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.