|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.AbstractAttitudeLaw org.orekit.attitudes.GroundPointing org.orekit.attitudes.LofOffsetPointing
public class LofOffsetPointing
This class provides a default attitude provider.
The attitude pointing law is defined by an attitude provider and the satellite axis vector chosen for pointing.
Constructor Summary | |
---|---|
LofOffsetPointing(BodyShape shape,
AttitudeProvider attLaw,
Vector3D satPointingVector)
Creates new instance. |
Method Summary | |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state. |
protected Vector3D |
getTargetPoint(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point in specified frame. |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation. |
Methods inherited from class org.orekit.attitudes.GroundPointing |
---|
getBodyFrame, getBodyShape, getTargetPV |
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw |
---|
getAttitude, getSpinDerivativesComputation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LofOffsetPointing(BodyShape shape, AttitudeProvider attLaw, Vector3D satPointingVector)
shape
- Body shapeattLaw
- Attitude lawsatPointingVector
- satellite vector defining the pointing directionMethod Detail |
---|
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getAttitude
in interface AttitudeProvider
getAttitude
in class GroundPointing
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed
OrekitException
- if attitude cannot be computedprotected Vector3D getTargetPoint(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getTargetPoint
in class GroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided
OrekitException
- if some specific error occurs,
such as no target reachedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws OrekitException
Spin derivatives computation applies to provided law attitudeLaw
.
setSpinDerivativesComputation
in interface AttitudeProvider
setSpinDerivativesComputation
in class AbstractAttitudeLaw
computeSpinDerivatives
- true if spin derivatives should be computed
OrekitException
- if spin derivatives can not be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |