Bratmobile
Public Member Functions | List of all members
Bundle Class Reference

#include <threshold.h>

Public Member Functions

 Bundle (float _x, float _y, float _a, float _w, float _l)
 
Bundle operator* (const Bundle &b) const
 Dot product between two bundles. More...
 
Bundle operator* (float) const
 Multiply bundle for a scalar

 
bool operator< (const Bundle &bf)
 
Bundle operator+ (const Bundle &b) const
 
Bundle operator- (const Bundle &b) const
 
float radius () const
 
float get_x () const
 
float get_y () const
 
float get_angle () const
 
float get_width () const
 
float get_length () const
 
float sum_squares () const
 
std::vector< float > get_vector () const
 

Detailed Description

Struct for conveniently grouping weights/threshold associated to BodyFeatures (defined in disturbance.h)

Member Function Documentation

◆ operator*()

Bundle Bundle::operator* ( const Bundle b) const

Dot product between two bundles.

Parameters
bthe other bundle

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