Skip to content
Snippets Groups Projects
Commit ec4d62bf authored by sesteves's avatar sesteves
Browse files

minor

parent c4debd59
No related branches found
No related tags found
No related merge requests found
...@@ -37,30 +37,30 @@ public class MultiLayerModelTest extends AbstractAlgorithmTest { ...@@ -37,30 +37,30 @@ public class MultiLayerModelTest extends AbstractAlgorithmTest {
@Test @Test
public void testGetPointOnGround() throws OrekitException, RuggedException { public void testGetPointOnGround() throws OrekitException, RuggedException {
Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); // Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098);
Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); // Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311);
//
OneAxisEllipsoid oneAxisEllipsoid = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS, // OneAxisEllipsoid oneAxisEllipsoid = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS,
Constants.WGS84_EARTH_FLATTENING, FramesFactory.getITRF(IERSConventions.IERS_2010, true)); // Constants.WGS84_EARTH_FLATTENING, FramesFactory.getITRF(IERSConventions.IERS_2010, true));
ExtendedEllipsoid ellipsoid = new ExtendedEllipsoid(oneAxisEllipsoid.getEquatorialRadius(), ellipsoid.getFlattening(), // ExtendedEllipsoid ellipsoid = new ExtendedEllipsoid(oneAxisEllipsoid.getEquatorialRadius(), ellipsoid.getFlattening(),
ellipsoid.getBodyFrame()); // ellipsoid.getBodyFrame());
//
//
// compute intersection with ellipsoid // // compute intersection with ellipsoid
final NormalizedGeodeticPoint gp0 = ellipsoid.pointOnGround(position, los, 0.0); // final NormalizedGeodeticPoint gp0 = ellipsoid.pointOnGround(position, los, 0.0);
// locate the entry tile along the line-of-sight // // locate the entry tile along the line-of-sight
MinMaxTreeTile tile = cache.getTile(gp0.getLatitude(), gp0.getLongitude()); // MinMaxTreeTile tile = cache.getTile(gp0.getLatitude(), gp0.getLongitude());
// check mayon volcano tiles // check mayon volcano tiles
// setUpMayonVolcanoContext(); setUpMayonVolcanoContext();
// final IntersectionAlgorithm algorithm = createAlgorithm(updater, 8); final IntersectionAlgorithm algorithm = createAlgorithm(updater, 8);
// Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098); Vector3D position = new Vector3D(-3787079.6453602533, 5856784.405679551, 1655869.0582939098);
// Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311); Vector3D los = new Vector3D( 0.5127552821932051, -0.8254313129088879, -0.2361041470463311);
// GeodeticPoint intersection = algorithm.refineIntersection(earth, position, los, GeodeticPoint intersection = algorithm.refineIntersection(earth, position, los,
// algorithm.intersection(earth, position, los)); algorithm.intersection(earth, position, los));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment