ant
A2 ant: class-based analysis framework
ant::math::LineFct Struct Reference

#include <Linear.h>

Public Member Functions

 LineFct (const vec2 &p1, const vec2 &p2)
 
double operator() (const double &x) const noexcept
 

Public Attributes

double m
 
double b
 

Constructor & Destructor Documentation

◆ LineFct()

ant::math::LineFct::LineFct ( const vec2 p1,
const vec2 p2 
)
inline

Member Function Documentation

◆ operator()()

double ant::math::LineFct::operator() ( const double &  x) const
inlinenoexcept

Member Data Documentation

◆ b

double ant::math::LineFct::b

◆ m

double ant::math::LineFct::m

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