Package org.orekit.frames
Class TransformProviderUtils
- java.lang.Object
-
- org.orekit.frames.TransformProviderUtils
-
public class TransformProviderUtils extends Object
Utility for Transform providers.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Field Summary
Fields Modifier and Type Field Description static TransformProvider
IDENTITY_PROVIDER
Identity provider.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransformProvider
getCombinedProvider(TransformProvider first, TransformProvider second)
Combine two transform providers.static TransformProvider
getReversedProvider(TransformProvider provider)
Reverse a transform provider.
-
-
-
Field Detail
-
IDENTITY_PROVIDER
public static final TransformProvider IDENTITY_PROVIDER
Identity provider.The transforms generated by this providers are always
Transform.IDENTITY
.
-
-
Method Detail
-
getReversedProvider
public static TransformProvider getReversedProvider(TransformProvider provider)
Reverse a transform provider.- Parameters:
provider
- provider to reverse- Returns:
- a new provider which provide a transform similar to
provider.getTransform(date).getInverse()
-
getCombinedProvider
public static TransformProvider getCombinedProvider(TransformProvider first, TransformProvider second)
Combine two transform providers.- Parameters:
first
- first provider to applysecond
- second provider to apply- Returns:
- a new provider which provide a transform similar to
new Transform(date, first.getTransform(date), second.getTransform(date))
-
-