Beispiel #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);
            }
        }
 public GeographicPosition(vObject owner,GeographicCoordinates crd): base("GEO",owner)
 {
     _val=crd;
 }
 public GeographicPosition(vObject owner): base("GEO",owner)
 {
     _val=new GeographicCoordinates();
 }
Beispiel #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);
		}
Beispiel #5
0
 public GeographicPosition(vObject owner, GeographicCoordinates crd) : base("GEO", owner)
 {
     _val = crd;
 }
Beispiel #6
0
 public GeographicPosition(vObject owner) : base("GEO", owner)
 {
     _val = new GeographicCoordinates();
 }