Package org.orekit.rugged.los
Class LOSBuilder
- java.lang.Object
-
- org.orekit.rugged.los.LOSBuilder
-
public class LOSBuilder extends Object
Builder for lines-of-sight list.This class implements the builder pattern to create
TimeDependentLOS
instances. It does so by using a fluent API in order to clarify reading and allow later extensions with new configuration parameters.This builder aims at creating lines-of-sight directions which are the result of several transforms applied to an initial list of raw directions. It therefore allows to take into account the optical path due to mirrors and the alignments of sensors frames with respect to a spacecraft.
- Author:
- Luc Maisonobe
- See Also:
TimeDependentLOS
, Builder pattern (wikipedia), Fluent interface (wikipedia)
-
-
Constructor Summary
Constructors Constructor Description LOSBuilder(List<Vector3D> rawLOS)
Create builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LOSBuilder
addTransform(LOSTransform transform)
Add a transform to be applied after the already registered transforms.LOSBuilder
addTransform(TimeIndependentLOSTransform transform)
Add a transform to be applied after the already registered transforms.TimeDependentLOS
build()
Build a lines-of-sight provider.
-
-
-
Method Detail
-
addTransform
public LOSBuilder addTransform(TimeIndependentLOSTransform transform)
Add a transform to be applied after the already registered transforms.- Parameters:
transform
- transform to be applied to the lines-of-sight- Returns:
- the builder instance
-
addTransform
public LOSBuilder addTransform(LOSTransform transform)
Add a transform to be applied after the already registered transforms.- Parameters:
transform
- transform to be applied to the lines-of-sight- Returns:
- the builder instance
-
build
public TimeDependentLOS build()
Build a lines-of-sight provider.- Returns:
- lines-of-sight provider
-
-