Class AbstractCurvilinearGrid

    • Constructor Detail

      • AbstractCurvilinearGrid

        protected AbstractCurvilinearGrid​(CurvilinearCoords curvCoords)
    • Method Detail

      • transformNativeHeadingToWgs84

        public double transformNativeHeadingToWgs84​(double xComp,
                                                    double yComp,
                                                    double lon,
                                                    double lat)
        Transforms a heading in native grid co-ordinates (degrees clockwise from positive y-direction) into a heading in WGS84 (degrees clockwise from north).
        Specified by:
        transformNativeHeadingToWgs84 in class AbstractTransformedGrid
        Parameters:
        xComp - The x-component of the heading
        yComp - The y-component of the heading
        lon - The longitude of the given components
        lat - The latitude of the given components
        Returns:
        The transformed heading
      • contains

        public boolean contains​(HorizontalPosition position)
        Returns:
        true if the given position is contained within this domain.
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Description copied from interface: HorizontalDomain
        Returns the bounding box of the domain in the domain's own coordinate reference system. For domains which do not have a native co-ordinate reference system this may return a BoundingBox in a different CRS. Consequently this BoundingBox is not guaranteed to be a tight bound around the domain.
      • getGeographicBoundingBox

        public org.opengis.metadata.extent.GeographicBoundingBox getGeographicBoundingBox()
        Description copied from interface: HorizontalDomain
        Returns the bounding box of the domain in WGS84 latitude-longitude coordinates.
      • getXSize

        public int getXSize()
        Returns:
        The size of the x-axis
      • getYSize

        public int getYSize()
        Returns:
        The size of the y-axis
      • size

        public long size()
        Description copied from interface: HorizontalGrid
        Returns the size of this domain. Equivalent to getXSize() * getYSize()