public class ApmQuaternion extends CommentsContainer
Constructor and Description |
---|
ApmQuaternion()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
AttitudeEndpoints |
getEndpoints()
Get the endpoints (i.e.
|
org.hipparchus.complex.Quaternion |
getQuaternion()
Get the quaternion.
|
org.hipparchus.complex.Quaternion |
getQuaternionDot()
Get the quaternion derivative.
|
boolean |
hasRates()
Check if the logical block includes rates.
|
void |
setQ(int index,
double value)
Set quaternion component.
|
void |
setQDot(int index,
double derivative)
Set quaternion derivative component.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic AttitudeEndpoints getEndpoints()
public org.hipparchus.complex.Quaternion getQuaternion()
public void setQ(int index, double value)
index
- component index (0 is scalar part)value
- quaternion componentpublic org.hipparchus.complex.Quaternion getQuaternionDot()
public void setQDot(int index, double derivative)
index
- component index (0 is scalar part)derivative
- quaternion derivative componentpublic boolean hasRates()
Copyright © 2002-2023 CS GROUP. All rights reserved.