JeVoisBase  1.1
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Segment Struct Reference

a segment is defined by the two end-points More...

#include <jevoisbase/Components/RoadFinder/RoadFinder.H>

Collaboration diagram for Segment:

Public Member Functions

 Segment (Point2D< int > in_p1, Point2D< int > in_p2, float in_angle, float in_length)
 
bool operator< (const Segment &s)
 

Public Attributes

Point2D< int > p1
 
Point2D< int > p2
 
float angle
 
float length
 

Detailed Description

a segment is defined by the two end-points

Definition at line 64 of file RoadFinder.H.

Constructor & Destructor Documentation

Segment::Segment ( Point2D< int >  in_p1,
Point2D< int >  in_p2,
float  in_angle,
float  in_length 
)
inline

Definition at line 66 of file RoadFinder.H.

Member Function Documentation

bool Segment::operator< ( const Segment s)
inline

Definition at line 75 of file RoadFinder.H.

References length.

Member Data Documentation

float Segment::angle

Definition at line 72 of file RoadFinder.H.

float Segment::length
Point2D<int> Segment::p1

Definition at line 70 of file RoadFinder.H.

Referenced by RoadFinder::computeVanishingLines(), and RoadFinder::findLine2().

Point2D<int> Segment::p2

Definition at line 71 of file RoadFinder.H.

Referenced by RoadFinder::computeVanishingLines(), and RoadFinder::findLine2().


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