예제 #1
0
 public virtual GeoPoint Project(Distance distance, Bearing bearing)
 {
     return(new Projection(this, distance, bearing).Project());
 }
예제 #2
0
 public virtual Bearing FinalBearingTo(GeoPoint that)
 {
     return(Bearing.DecimalDegrees((Bearing.Between(that, this).DecimalDegrees() + 180) % 360));
 }
예제 #3
0
 public virtual Bearing BearingTo(GeoPoint that)
 {
     return(Bearing.Between(this, that));
 }
예제 #4
0
 public Projection(GeoPoint from, Distance distance, Bearing heading)
 {
     this.from     = from;
     this.distance = distance;
     this.bearing  = heading;
 }
예제 #5
0
 public virtual GeoPoint Project(Distance distance, Bearing bearing)
 {
     return new Projection(this, distance, bearing).Project();
 }
예제 #6
0
 public Projection(GeoPoint from, Distance distance, Bearing heading)
 {
     this.from = from;
     this.distance = distance;
     this.bearing = heading;
 }