private Observer(double t, double x, double v) { this._v = v; Origin = new SpacetimePoint(t, x); }
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)))); }
public bool Equals(SpacetimePoint c) => (this.T - c.T < 1.0e-10) && (this.X - c.X < 1.0e-10);