#include <ForwardDiskSectorBuilderFromWedges.h>
Public Member Functions | |
BoundDiskSector * | operator() (const std::vector< const TECWedge * > &wedges) const |
Private Member Functions | |
std::pair< DiskSectorBounds, GlobalVector > | computeBounds (const std::vector< const TECWedge * > &wedges) const |
Surface::RotationType | computeRotation (const std::vector< const TECWedge * > &wedges, Surface::PositionType pos) const |
As it's name indicates, it's a builder of a BoundDiskSector from a collection of Wedges (of one petal). The disk sector has the minimal size fully containing all wedges.
Definition at line 15 of file ForwardDiskSectorBuilderFromWedges.h.
std::pair<DiskSectorBounds, GlobalVector> ForwardDiskSectorBuilderFromWedges::computeBounds | ( | const std::vector< const TECWedge * > & | wedges | ) | const [private] |
Surface::RotationType ForwardDiskSectorBuilderFromWedges::computeRotation | ( | const std::vector< const TECWedge * > & | wedges, |
Surface::PositionType | pos | ||
) | const [private] |
BoundDiskSector* ForwardDiskSectorBuilderFromWedges::operator() | ( | const std::vector< const TECWedge * > & | wedges | ) | const |
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundDisk>