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(); }
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(); }