示例#1
0
 private Observer(double t, double x, double v)
 {
     this._v = v;
     Origin  = new SpacetimePoint(t, x);
 }
示例#2
0
        public Coordinate Coord(SpacetimePoint p)
        {
            var g = LorentzFactor(Observer.Default);

            return(new Coordinate(g * (p.T - Origin.T - _v * (p.X - Origin.X)), g * (p.X - Origin.X - _v * (p.T - Origin.T))));
        }
示例#3
0
 public bool Equals(SpacetimePoint c) => (this.T - c.T < 1.0e-10) && (this.X - c.X < 1.0e-10);