Struct TrackClusterBuilder::Connection_t

Nested Relationships

This struct is a nested type of Class TrackClusterBuilder.

Struct Documentation

struct Connection_t

represents a connection (edge) between segments (node)

Public Members

Segment_t *node

pointer to segment

int from_seg_idx

from node

int to_seg_idx

to node

int endidx

end of the segment we are connected to

float dist

distance between ends, i.e. length of connection

float cosine

cosine between segment direction and endpt-connections

float cosine_seg

cosine between two segment directions

std::vector<float> dir

direction of connection