Documentation of 'sgtplot.dm.SGT3DVector' Java class
SGT3DVector
sgtplot.dm

Class SGT3DVector

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, SGTData


    public class SGT3DVector
    extends SGTVector
    Defines a data object to be a Vector. Interpretation of U and V is determined by the CoordinateSystem. For Cartesian, U and V are the Cartesian vector components. For Polar , U and V are R (radius) and Theta (angle) vector components, respectively.
    Since:
    1.0
    See Also:
    SGTData, CoordinateSystem, Serialized Form
    • Constructor Detail

      • SGT3DVector

        public SGT3DVector()
        Default constructor.
      • SGT3DVector

        public SGT3DVector(SGTGrid uComp,
                           SGTGrid vComp,
                           SGTGrid wComp)
        Construct a SGTVector from two components. The two components must match in both SGTData and CoordinateSystem Interfaces. Both components must be the same shape.
        Parameters:
        uComp - U component of the vector
        vComp - V component of the vector
        vComp - W component of the vector
    • Method Detail

      • getW

        public SGTGrid getW()
        Get the W component.
        Returns:
        W component
      • setU

        public void setU(SGTGrid wComp)
        Set the W component.
        Overrides:
        setU in class SGTVector
        Parameters:
        uComp - W component
      • setComponents

        public void setComponents(SGTGrid uComp,
                                  SGTGrid vComp,
                                  SGTGrid wComp)
        Set the vector components.
        Parameters:
        uComp - U component
        vComp - V component
      • getId

        public java.lang.String getId()
        Get the unique identifier. The presence of the identifier is optional, but if it is present it should be unique. This field is used to search for the layer that contains the data.
        Specified by:
        getId in interface SGTData
        Overrides:
        getId in class SGTVector
        Returns:
        unique identifier
        See Also:
        Pane, Layer
      • setId

        public void setId(java.lang.String ident)
        Set the unique identifier.
        Overrides:
        setId in class SGTVector

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.