fr.cnes.sirius.patrius.tools.force.validation
Class BasicPVCoordinatesProvider
java.lang.Object
fr.cnes.sirius.patrius.tools.force.validation.BasicPVCoordinatesProvider
- All Implemented Interfaces:
- PVCoordinatesProvider
public class BasicPVCoordinatesProvider
- extends Object
- implements PVCoordinatesProvider
- Since:
- 1.1
- Version:
- $Id: BasicPVCoordinatesProvider.java 7131 2012-12-12 15:02:39Z HoudrogeR $
- Author:
- Thomas Trapier
- Description :
- This class is only used in the tests of the package Directions. This
is a basic PVCoordinatesProvider : the attributes are a PVCoordinates object that can
be returned and its frame of expression.
- Concurrency :
- not thread-safe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPVCoordinatesProvider
public BasicPVCoordinatesProvider(PVCoordinates inCoordinates,
Frame inFrame)
- Build a direction from an origin and a target described by their
PVCoordinatesProvider
- Parameters:
inCoordinates
- the PVCoordinatesinFrame
- the frame in which the coordinates are expressed
getPVCoordinates
public final PVCoordinates getPVCoordinates(AbsoluteDate date,
Frame inFrame)
throws OrekitException
- Get the
PVCoordinates
of the body in the selected frame.
- Specified by:
getPVCoordinates
in interface PVCoordinatesProvider
- Parameters:
date
- current dateinFrame
- the frame where to define the position
- Returns:
- position/velocity of the body (m and m/s)
- Throws:
OrekitException
- if position cannot be computed in given frame
Copyright © 2016 CNES. All Rights Reserved.