public static Matrix getMatrixTowadsCenterRM(double[] BL, Point pos, double inclination) { Matrix move = MatFactory.getMatrixMove(pos.x, pos.y, pos.z); Matrix rt = MatFactory.getMatrixTowadsCenter(BL[0], BL[1], inclination); return(rt * move); }
private Matrix moon2camMatrix(Point pos) { double[] BLH = _moon.threeD2geo(pos.x, pos.y, pos.z); // shift the origin to x0,y0,z0 return(MatFactory.getMatrixTowadsCenterRM(BLH, pos, _orbit.inclination())); }