Public Member Functions | Public Attributes
alvar::Line Struct Reference

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

#include <Line.h>

List of all members.

Public Member Functions

 Line (float params[4])
 Constructor.
 Line ()

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 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

Line center.

Definition at line 54 of file Line.h.

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 Thu Feb 16 2017 03:23:02