*/
#include "pointer-group-interface.hh"
-#include "std-vector.hh"
#include "stem.hh"
#include "beam.hh"
+#include "grob.hh"
#include "staff-symbol-referencer.hh"
#include "directional-element-interface.hh"
bool
-is_concave_single_notes (std::vector<int> const &positions, Direction beam_dir)
+is_concave_single_notes (vector<int> const &positions, Direction beam_dir)
{
Interval covering;
covering.add_point (positions[0]);
}
Real
-calc_positions_concaveness (std::vector<int> const &positions, Direction beam_dir)
+calc_positions_concaveness (vector<int> const &positions, Direction beam_dir)
{
Real dy = positions.back () - positions[0];
Real slope = dy / Real (positions.size () - 1);
{
Grob *me = unsmob_grob (smob);
- Link_array<Grob> stems
+ vector<Grob*> stems
= extract_grob_array (me, "stems");
if (is_knee (me))
for (vsize i = stems.size (); i--;)
{
if (Stem::is_invisible (stems[i]))
- stems.del (i);
+ stems.erase (stems.begin () + i);
else
{
if (Direction dir = get_grob_direction (stems[i]))
if (stems.size () <= 2)
return SCM_UNSPECIFIED;
- std::vector<int> close_positions;
- std::vector<int> far_positions;
+ vector<int> close_positions;
+ vector<int> far_positions;
for (vsize i = 0; i < stems.size (); i++)
{
/*