#include <quadratc.h>
Definition at line 25 of file quadratc.h.
◆ QUAD_COEFFS() [1/2]
QUAD_COEFFS::QUAD_COEFFS |
( |
| ) |
|
|
default |
◆ QUAD_COEFFS() [2/2]
QUAD_COEFFS::QUAD_COEFFS |
( |
double |
xsq, |
|
|
float |
x, |
|
|
float |
constant |
|
) |
| |
|
inline |
◆ move()
void QUAD_COEFFS::move |
( |
ICOORD |
vec | ) |
|
|
inline |
Definition at line 43 of file quadratc.h.
53 c = (float) (
c -
b * p +
a * p * p + q);
54 b = (float) (
b - 2 *
a * p);
int16_t y() const
access_function
int16_t x() const
access function
◆ y()
float QUAD_COEFFS::y |
( |
float |
x | ) |
const |
|
inline |
Definition at line 38 of file quadratc.h.
40 return (
float) ((
a * x +
b) * x +
c);
The documentation for this class was generated from the following file:
- /usr/src/tesseract-ocr.master/src/ccstruct/quadratc.h