// TODO the following constructor could be removed if we ALWAYS knew the origin public seg3d(xyz _a, xyz _b) { a = _a; b = _b; origin = null; }