public class CelestialBodyFrame extends Frame
CelestialPoint
.CelestialPoint
. For FactoryManagedFrame
such as GCRF frame, Earth celestial
body is not attached, so users need to attach it using #setCelestialPoint(CelestialPoint)
.
Warning: this class does not check if provided celestial body is indeed centered on this frame.
Modifier and Type | Field and Description |
---|---|
protected CelestialPoint |
celestialPoint
Celestial point centered on this frame.
|
Modifier | Constructor and Description |
---|---|
|
CelestialBodyFrame(Frame parent,
TransformProvider transformProvider,
String name,
boolean pseudoInertial,
CelestialPoint celestialPoint)
Generic constructor.
|
|
CelestialBodyFrame(Frame parent,
TransformProvider transformProvider,
String name,
CelestialPoint celestialPoint)
Constructor.
|
|
CelestialBodyFrame(Frame parent,
Transform transform,
String name,
boolean pseudoInertial,
CelestialPoint celestialPoint)
Constructor.
|
|
CelestialBodyFrame(Frame parent,
Transform transform,
String name,
CelestialPoint celestialPoint)
Constructor.
|
protected |
CelestialBodyFrame(String name,
boolean pseudoInertial)
Protected constructor used only for the root frame.
|
Modifier and Type | Method and Description |
---|---|
CelestialPoint |
getCelestialPoint()
Getter for the celestial point centered on this frame.
|
getAncestor, getDepth, getFirstCommonPseudoInertialAncestor, getFirstPseudoInertialAncestor, getFrozenFrame, getName, getNativeFrame, getParent, getPVCoordinates, getRoot, getTransformJacobian, getTransformProvider, getTransformTo, getTransformTo, getTransformTo, getTransformTo, isChildOf, isPseudoInertial, setName, setReferential, toString
protected CelestialPoint celestialPoint
protected CelestialBodyFrame(String name, boolean pseudoInertial)
name
- name of the framepseudoInertial
- true if frame is considered pseudo-inertial (i.e. suitable for propagating orbit)public CelestialBodyFrame(Frame parent, Transform transform, String name, CelestialPoint celestialPoint)
Warning: this class does not check if provided celestial body is indeed centered on this frame.
parent
- parent frame (must be non-null)transform
- transform from parent frame to instancename
- name of the framecelestialPoint
- celestial point centered on this frameIllegalArgumentException
- if the parent frame is nullpublic CelestialBodyFrame(Frame parent, TransformProvider transformProvider, String name, CelestialPoint celestialPoint)
Warning: this class does not check if provided celestial body is indeed centered on this frame.
parent
- parent frame (must be non-null)transformProvider
- provider for transform from parent frame to instancename
- name of the framecelestialPoint
- celestial point centered on this frameIllegalArgumentException
- if the parent frame is nullpublic CelestialBodyFrame(Frame parent, Transform transform, String name, boolean pseudoInertial, CelestialPoint celestialPoint)
Warning: this class does not check if provided celestial body is indeed centered on this frame.
parent
- parent frame (must be non-null)transform
- transform from parent frame to instancename
- name of the framepseudoInertial
- true if frame is considered pseudo-inertial (i.e. suitable for propagating orbit)celestialPoint
- celestial point centered on this frameIllegalArgumentException
- if the parent frame is nullpublic CelestialBodyFrame(Frame parent, TransformProvider transformProvider, String name, boolean pseudoInertial, CelestialPoint celestialPoint)
Warning: this class does not check if provided celestial body is indeed centered on this frame.
parent
- parent frame (must be non-null)transformProvider
- provider for transform from parent frame to instancename
- name of the framepseudoInertial
- true if frame is considered pseudo-inertial (i.e. suitable for propagating orbit)celestialPoint
- celestial point centered on this frameIllegalArgumentException
- if the parent frame is nullpublic CelestialPoint getCelestialPoint() throws PatriusException
PatriusException
- if point could not be builtCopyright © 2023 CNES. All rights reserved.