Пример #1
0
 public static int GTIFKeyGet(GTIF gtif, geokey_t thekey, out modeltype_t val, int index, int count)
 {
     // ignore count
     val = 0;
     ushort[] vals;
     if (GTIFKeyGet(gtif, thekey, out vals, index, 1) == 0)
     {
         return(0);
     }
     val = (modeltype_t)vals[0];
     return(1);
 }
Пример #2
0
 public static bool GTIFKeySet(GTIF gtif, geokey_t keyID, modeltype_t val)
 {
     ushort[] val1 = new ushort[] { (ushort)val };
     return(GTIFKeySet(gtif, keyID, val1));
 }
Пример #3
0
 public static int GTIFKeyGet(GTIF gtif, geokey_t thekey, out modeltype_t val, int index)
 {
     return(GTIFKeyGet(gtif, thekey, out val, index, 0));
 }
Пример #4
0
		public static bool GTIFKeySet(GTIF gtif, geokey_t keyID, modeltype_t val)
		{
			ushort[] val1=new ushort[] { (ushort)val };
			return GTIFKeySet(gtif, keyID, val1);
		}
Пример #5
0
		public static int GTIFKeyGet(GTIF gtif, geokey_t thekey, out modeltype_t val, int index)
		{
			return GTIFKeyGet(gtif, thekey, out val, index, 0);
		}
Пример #6
0
		public static int GTIFKeyGet(GTIF gtif, geokey_t thekey, out modeltype_t val, int index, int count)
		{
			// ignore count
			val=0;
			ushort[] vals;
			if(GTIFKeyGet(gtif, thekey, out vals, index, 1)==0) return 0;
			val=(modeltype_t)vals[0];
			return 1;
		}