Public Member Functions | Public Attributes | List of all members
alvar::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 (float params[4])
 Constructor. More...
 
 Line ()
 

Public Attributes

PointDouble c
 Line center. More...
 
PointDouble s
 Direction vector. More...
 

Detailed Description

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

Definition at line 41 of file Line.h.

Constructor & Destructor Documentation

alvar::Line::Line ( float  params[4])

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.

Definition at line 31 of file Line.cpp.

alvar::Line::Line ( )
inline

Definition at line 48 of file Line.h.

Member Data Documentation

PointDouble alvar::Line::c

Line center.

Definition at line 54 of file Line.h.

PointDouble alvar::Line::s

Direction vector.

Definition at line 58 of file Line.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Mon Jun 10 2019 12:47:04