JeVoisBase  1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches
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::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

◆ operator<()

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

Definition at line 75 of file RoadFinder.H.

References length.

Member Data Documentation

◆ angle

float Segment::angle

Definition at line 72 of file RoadFinder.H.

◆ length

float Segment::length

◆ p1

Point2D<int> Segment::p1

Definition at line 70 of file RoadFinder.H.

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

◆ p2

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: