/usr/include/ossim/base/ossimTileHash.h is in libossim-dev 1.7.21-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46  | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License:  LGPL
// 
// See LICENSE.txt file in the top level directory for more details.
//
// Author:  David Burken Copied from TiledImageHash.
//
// Description: Hashing function for tiled rectangles.  Will hash a
//              dpt or fpt to a single index value.
//
// NOTE:  Works on rectangles that are positive in the line up (y)
//        direction.  Use TiledImageHash for rectangles that are positive
//        in the line down direction.
//              
//*******************************************************************
//  $Id: ossimTileHash.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef TileHash_HEADER
#define TileHash_HEADER
#include <ossim/base/ossimDrect.h>
#include <ossim/base/ossimPointHash.h>
class OSSIMDLLEXPORT ossimTileHash : public ossimPointHash
{
public:
   ossimTileHash(const ossimDrect &imageRect,
                 double tileWidth,
                 double tileHeight);
   virtual ~ossimTileHash();
   virtual long operator()(const ossimDpt &aPoint);
   virtual long operator()(const ossimFpt &aPoint);
   
private:
   ossimDrect   theImageRect;
   double  theTileWidth;
   double  theTileHeight;
   long    theNumberOfHorizTiles;
   long    theNumberOfVertTiles;
};
#endif
 |