17 if( part ==
"barrel" )
37 float pitch = width / nstrip;
39 return new RectangularStripTopology( nstrip, pitch, length );
46 float rCross = widthAtHalf * length / ( 2 * ( width - widthAtHalf ));
47 float aw = atan2( widthAtHalf / 2., static_cast<double>( rCross )) / ( nstrip / 2 );
virtual float widthAtHalfLength() const
Width at half length. Useful for e.g. pitch definition.
virtual float length() const =0
StripTopology * build(const Bounds *, double, std::string)
StripTopology * constructForward(float, float, float, int)
StripTopology * constructBarrel(float, float)
StripTopologyBuilder(void)
virtual int yAxisOrientation() const
virtual float width() const =0