/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package eu.dnetlib.espas.spatial;

import java.util.Map;
import java.util.TreeMap;

/**
 *
 * @author gathanas
 */
public class Point{
      public enum CartesianCoord{X_Cord, Y_Cord, Z_Cord};
      public enum PolarCoord{LON_Cord, LAT_Cord, R_Cord};
      
//   coordinate name value assignments
   private Map<String, Double> coordinates;

   public Point() {
      coordinates = new TreeMap<String, Double>();
   }

   public void setCoordinate(String cName,Double cValue){
      coordinates.put(cName, cValue);
   }
   
   public Double getCoordinate(String cName){
      return coordinates.get(cName);
   }
   
   public int getCoordinateSize(){
      return coordinates.size();
   }
}
