Function Acts::Visualization::drawSegmentBase

Function Documentation

void Visualization::Acts::drawSegmentBase(IVisualization &helper, const Vector3D &start, const Vector3D &end, double thickness, int arrows = 0, double arrowLength = 0., double arrowWidth = 0., size_t lseg = 72, const IVisualization::ColorType &color = {120, 120, 120})

Helper method to draw lines - base for all lines.

Parameters
  • helper: [in, out] The visualization helper

  • start: The start point

  • end: The end point

  • thickness: of the line, if bigger 0, approximated by cylinder

  • arrows: [ -1 | 0 | 1 | 2 ] = [ start | none | end | both ]

  • arrowLength: wrt halflength

  • arrowWidth: wrt thickness

  • lseg: The number of segments for a full arch (if needed)

  • color: the (optional) color of the object to be written