public Ray2DD(Vector2D origin, Vector2D direction) { this.origin = origin; this.direction = direction; }