My Project
Public Member Functions | Public Attributes | List of all members
Line Struct Reference

Struct representing a line. The line is parametrized by its center and direction vector. More...

#include <Line.h>

Public Member Functions

 Line (const cv::Vec4f &params)
 Constructor. More...
 

Public Attributes

PointDouble c
 Line center.
 
PointDouble s
 Direction vector.
 

Detailed Description

Struct representing a line. The line is parametrized by its center and direction vector.

Definition at line 43 of file Line.h.

Constructor & Destructor Documentation

◆ Line()

Line ( const cv::Vec4f &  params)

Constructor.

Parameters
paramsparams[0] and params[1] are the x and y components of the direction vector, params[2] and params[3] are the x and y coordinates of the line center.

The documentation for this struct was generated from the following file: