\brief Add a line from a set of given model coefficients * \param[in] coefficients the model coefficients (point_on_line, direction) * \param[in] id the line id/name (default: "line") * \param[in] viewport (optional) the id of the new viewport (default: 0) * * \code * // The following are given (or computed using sample consensus techniqu
| 1584 | * \endcode |
| 1585 | */ |
| 1586 | bool |
| 1587 | addLine (const pcl::ModelCoefficients &coefficients, |
| 1588 | const char *id = "line", |
| 1589 | int viewport = 0) |
| 1590 | { |
| 1591 | return addLine (coefficients, std::string (id), viewport); |
| 1592 | } |
| 1593 | |
| 1594 | /** \brief Add a plane from a set of given model coefficients |
| 1595 | * \param[in] coefficients the model coefficients (a, b, c, d with ax+by+cz+d=0) |