public class LOSBuilder extends Object
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.
TimeDependentLOS
,
Builder pattern (wikipedia),
Fluent interface (wikipedia)Constructor | Description |
---|---|
LOSBuilder(List<org.hipparchus.geometry.euclidean.threed.Vector3D> rawLOS) |
Create builder.
|
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.
|
public LOSBuilder(List<org.hipparchus.geometry.euclidean.threed.Vector3D> rawLOS)
rawLOS
- raw fixed lines-of-sightpublic LOSBuilder addTransform(TimeIndependentLOSTransform transform)
transform
- transform to be applied to the lines-of-sightpublic LOSBuilder addTransform(LOSTransform transform)
transform
- transform to be applied to the lines-of-sightpublic TimeDependentLOS build()
Copyright © 2014-2019 CS Systèmes d'information. All rights reserved.