Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::maths::AngleAndNorms Struct Reference

structure to store the angle formed between two vectors and their norms More...

#include <angle_and_norms.hpp>

Collaboration diagram for common_lib::maths::AngleAndNorms:
Collaboration graph

Public Member Functions

 AngleAndNorms ()=default
 
 AngleAndNorms (double angle, double norm1, double norm2)
 
 AngleAndNorms (const TwoDVector &v1, const TwoDVector &v2)
 

Public Attributes

double angle_
 
double norm1_
 
double norm2_
 

Detailed Description

structure to store the angle formed between two vectors and their norms

Definition at line 16 of file angle_and_norms.hpp.

Constructor & Destructor Documentation

◆ AngleAndNorms() [1/3]

common_lib::maths::AngleAndNorms::AngleAndNorms ( )
default

◆ AngleAndNorms() [2/3]

common_lib::maths::AngleAndNorms::AngleAndNorms ( double  angle,
double  norm1,
double  norm2 
)
inline

Definition at line 21 of file angle_and_norms.hpp.

◆ AngleAndNorms() [3/3]

common_lib::maths::AngleAndNorms::AngleAndNorms ( const TwoDVector v1,
const TwoDVector v2 
)

Definition at line 21 of file angle_and_norms.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ angle_

double common_lib::maths::AngleAndNorms::angle_

Definition at line 17 of file angle_and_norms.hpp.

◆ norm1_

double common_lib::maths::AngleAndNorms::norm1_

Definition at line 18 of file angle_and_norms.hpp.

◆ norm2_

double common_lib::maths::AngleAndNorms::norm2_

Definition at line 19 of file angle_and_norms.hpp.


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