
SepAxis(UI)          Cube Reference Manual          SepAxis(UI)

NAME
     SepAxis - Class describing axis of the data set.

SYNOPSIS
     #include <Cube/sepaxis.h>

DESCRIPTION
     The class SepAxis contains the information about the  dimen-
     sion  of the axis (len), the seismic coordinates of the data
     (origin, increment between sample delta), and  the  descrip-
     tion  of the axis (label).  The class SepAxis reads the axis
     definition from the header file.

PUBLIC OPERATIONS
     SepAxis(SepInput* dataset,int axisnum)
          Create a SepAxis number axisnum from the SepInput.

     SepAxis(float o,float d,int n,char *label,int axisnum)
          Create a SepAxis from a complete input description.

     SepAxis * Copy()
          Create a copy of the axis object.

     SepAxis * Pad(int padstart, int padend)
          Create and return a padded copy of itself.  The  origin
          and  the  number  of  element are computed from the two
          given indeces. The title is copied.

     int Len()
     float Origin()
     float Delta()
     float End()
     char * Label()
          Return axis parameters.

PROTECTED VARIABLES
     int len:
          axis number of samples.

     float origin:
          axis world origin.

     float delta:
          axis world sampling interval.

     char* label:
          axis label.

     int axisnum:
          Axis number.

SepAxis(UI)          Cube Reference Manual          SepAxis(UI)

SEE ALSO
     SepInfo, SepInput, intro

