Exemplo n.º 1
0
        public void SetGeo(GeographicCoordinates newgeo)
        {
            vObjectProperty pr = GetProperty("GEO");

            if (pr == null)
            {
                SetProperty(new GeographicPosition(this, newgeo));
            }
            else
            {
                ((GeographicPosition)pr).SetCoord(newgeo.longitude, newgeo.latitude);
            }
        }
Exemplo n.º 2
0
 public GeographicPosition(vObject owner,GeographicCoordinates crd): base("GEO",owner)
 {
     _val=crd;
 }
Exemplo n.º 3
0
 public GeographicPosition(vObject owner): base("GEO",owner)
 {
     _val=new GeographicCoordinates();
 }
Exemplo n.º 4
0
		public void SetGeo(GeographicCoordinates newgeo)
		{
			vObjectProperty pr=GetProperty("GEO");
			if(pr==null)SetProperty(new GeographicPosition(this,newgeo));
			else ((GeographicPosition)pr).SetCoord(newgeo.longitude,newgeo.latitude);
		}
Exemplo n.º 5
0
 public GeographicPosition(vObject owner, GeographicCoordinates crd) : base("GEO", owner)
 {
     _val = crd;
 }
Exemplo n.º 6
0
 public GeographicPosition(vObject owner) : base("GEO", owner)
 {
     _val = new GeographicCoordinates();
 }