net.cscott.sdr.calls
Class Breather.FormationPiece
java.lang.Object
net.cscott.sdr.calls.Breather.FormationPiece
- Enclosing class:
- Breather
public static class Breather.FormationPiece
- extends Object
A component to be breathed into a complete formation. Each
Breather.FormationPiece
contains a position and a formation to be
inserted at that position.
input
public final Formation input
- Input formation piece. The original formation is a simple
superposition of these.
output
public final Formation output
- The formation which will correspond to
input
in the output
(meta) formation. This might be a formation of a single
Phantom
, for example.
- See Also:
FormationListFast.SINGLE_DANCER
Breather.FormationPiece
public Breather.FormationPiece(Formation input,
Formation output,
ExactRotation r)
- Prepare an argument to the
Breather.breathe(net.cscott.sdr.calls.Formation)
method.
- Parameters:
input
- Input formation piece.output
- Output formation piece.r
- The rotation to use for the output formation in the eventual
result. Typically this is the rotation of formation input
from whatever the 'canonical' orientation of output
is.
For example, if we are mapping single dancers to single dancers,
then input
is the rotated offset result of
Formation.onlySelected()
, output
is
FormationListFast.SINGLE_DANCER
(which is facing north), and
the rotation imr
matches the rotation of the dancer in
input
.
Breather.FormationPiece
public Breather.FormationPiece(Formation input,
Formation output)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2009 C. Scott Ananian