#include <textured_triangle.h>
|
int | lineSegmentIntersection (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, double *X, double *Y) |
| public domain function by Darel Rex Finley, 2006. Determines the intersection point of the line segment defined by points A and B with the line segment defined by points C and D. Returns YES if the intersection point was found, and stores that point in X,Y. Returns NO if there is no determinable intersection point, in which case X,Y will be unmodified. More...
|
|
int | point_inside_triangle (double x0, double y0, double x1, double y1, double x2, double y2, double px, double py) |
|
int | test1 (double px, double py, double m, double b, double lx, double ly) |
|
int | test2 (double px, double py, double m, double b) |
|
Definition at line 95 of file textured_triangle.h.
class_textured_triangle::class_textured_triangle |
( |
void |
| ) |
|
|
inline |
class_textured_triangle::~class_textured_triangle |
( |
void |
| ) |
|
|
inline |
int class_textured_triangle::lineSegmentIntersection |
( |
float |
Ax, |
|
|
float |
Ay, |
|
|
float |
Bx, |
|
|
float |
By, |
|
|
float |
Cx, |
|
|
float |
Cy, |
|
|
float |
Dx, |
|
|
float |
Dy, |
|
|
double * |
X, |
|
|
double * |
Y |
|
) |
| |
|
inlineprivate |
public domain function by Darel Rex Finley, 2006. Determines the intersection point of the line segment defined by points A and B with the line segment defined by points C and D. Returns YES if the intersection point was found, and stores that point in X,Y. Returns NO if there is no determinable intersection point, in which case X,Y will be unmodified.
- Returns
Definition at line 179 of file textured_triangle.h.
int class_textured_triangle::point_inside_triangle |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
px, |
|
|
double |
py |
|
) |
| |
|
inlineprivate |
void class_textured_triangle::print_info |
( |
void |
| ) |
|
|
inline |
int class_textured_triangle::test1 |
( |
double |
px, |
|
|
double |
py, |
|
|
double |
m, |
|
|
double |
b, |
|
|
double |
lx, |
|
|
double |
ly |
|
) |
| |
|
inlineprivate |
int class_textured_triangle::test2 |
( |
double |
px, |
|
|
double |
py, |
|
|
double |
m, |
|
|
double |
b |
|
) |
| |
|
inlineprivate |
float class_textured_triangle::provenience |
float class_textured_triangle::weight |
The documentation for this class was generated from the following files: