示例#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;
 }