public static HashMap<ABObject[], ContactDimension> ExtractDimentsion()
   {
	   HashMap<ABObject[], ContactDimension> CDDictionary = new HashMap<ABObject[], ContactDimension>();
	   HashMap<ABObject[], ERA[]> RADictionary = new HashMap<ABObject[], ERA[]>();
	   HashMap<ABObject[], ContactRelation> CRDictionary = new HashMap<ABObject[], ContactRelation>();
	   for (Map.Entry<ABObject[], ERA[]> entry : RADictionary.entrySet())
	   {
		   ABObject[] key = entry.getKey();
		   ContactDimension cd = ContactDimension.NULL;
		   if (CRDictionary.get(key) != ContactRelation.NULL)
		   {
			   ERA[] value = entry.getValue();
			   if (value[0] == ERA.MEETS || value[0] == ERA.INVERSE_MEETS)
			   {
				   cd = ContactDimension.HORIZONTAL;
			   }
			   else
			   {
				   cd = ContactDimension.VERTICAL;
			   }
			   CDDictionary.put(key, cd);
		   }
	   }
	   return CDDictionary;
   }