From 432c90204f754a1b25662adad0b2500918dacc15 Mon Sep 17 00:00:00 2001 From: sesteves <sroesteves@gmail.com> Date: Fri, 22 Jul 2016 19:01:08 +0100 Subject: [PATCH] minor --- .../MultiLayerModelTest.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/test/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModelTest.java b/src/test/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModelTest.java index 56e461b0..1ac7b056 100644 --- a/src/test/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModelTest.java +++ b/src/test/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModelTest.java @@ -37,30 +37,30 @@ public class MultiLayerModelTest extends AbstractAlgorithmTest { @Test public void testGetPointOnGround() throws OrekitException, RuggedException { - Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); - Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); - - OneAxisEllipsoid oneAxisEllipsoid = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS, - Constants.WGS84_EARTH_FLATTENING, FramesFactory.getITRF(IERSConventions.IERS_2010, true)); - ExtendedEllipsoid ellipsoid = new ExtendedEllipsoid(oneAxisEllipsoid.getEquatorialRadius(), ellipsoid.getFlattening(), - ellipsoid.getBodyFrame()); - - - // compute intersection with ellipsoid - final NormalizedGeodeticPoint gp0 = ellipsoid.pointOnGround(position, los, 0.0); - // locate the entry tile along the line-of-sight - MinMaxTreeTile tile = cache.getTile(gp0.getLatitude(), gp0.getLongitude()); +// Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); +// Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); +// +// OneAxisEllipsoid oneAxisEllipsoid = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS, +// Constants.WGS84_EARTH_FLATTENING, FramesFactory.getITRF(IERSConventions.IERS_2010, true)); +// ExtendedEllipsoid ellipsoid = new ExtendedEllipsoid(oneAxisEllipsoid.getEquatorialRadius(), ellipsoid.getFlattening(), +// ellipsoid.getBodyFrame()); +// +// +// // compute intersection with ellipsoid +// final NormalizedGeodeticPoint gp0 = ellipsoid.pointOnGround(position, los, 0.0); +// // locate the entry tile along the line-of-sight +// MinMaxTreeTile tile = cache.getTile(gp0.getLatitude(), gp0.getLongitude()); // check mayon volcano tiles -// setUpMayonVolcanoContext(); -// final IntersectionAlgorithm algorithm = createAlgorithm(updater, 8); -// Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); -// Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); -// GeodeticPoint intersection = algorithm.refineIntersection(earth, position, los, -// algorithm.intersection(earth, position, los)); + setUpMayonVolcanoContext(); + final IntersectionAlgorithm algorithm = createAlgorithm(updater, 8); + Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); + Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); + GeodeticPoint intersection = algorithm.refineIntersection(earth, position, los, + algorithm.intersection(earth, position, los)); -- GitLab