Package ucar.nc2.ft

Interface TrajectoryProfileFeature

    • Method Detail

      • size

        int size()
        The number of profiles along the trajectory.
        Specified by:
        size in interface DsgFeatureCollection
        Returns:
        number of profiles along the trajectory, or -1 if not known.
      • getFeatureData

        @Nonnull
        StructureData getFeatureData()
                              throws IOException
        The data associated with the Section feature.
        Returns:
        the actual data of this section. may be empty, not null.
        Throws:
        IOException
      • hasNext

        boolean hasNext()
                 throws IOException
        Deprecated.
        use foreach
        Use the internal iterator to check if there is another ProfileFeature in the iteration.
        Returns:
        true is there is another Section in the iteration.
        Throws:
        IOException - on read error
      • next

        ProfileFeature next()
                     throws IOException
        Deprecated.
        use foreach
        Use the internal iterator to get the next ProfileFeature in the iteration. You must call hasNext() before you call this.
        Returns:
        the next ProfileFeature in the iteration
        Throws:
        IOException - on read error
      • resetIteration

        void resetIteration()
                     throws IOException
        Deprecated.
        use foreach
        Reset the internal iterator for another iteration over the ProfileFeature in this Collection.
        Throws:
        IOException - on read error