#include <trigo.h>
Membres publics | |
Point2D () | |
Point2D (T _x, T _y) | |
void | Set (T _x, T _y) |
void | Zero () |
BOOL | operator== (Point2D< T > &src) |
BOOL | operator!= (Point2D< T > &src) |
void | operator= (Point3D< T > &src) |
void | operator= (Point2D< T > &src) |
void | operator+= (Point2D< T > &src) |
Point2D< T > | operator- (Point2D< T > &src) |
Point2D< T > | operator+ (Point2D< T > &src) |
Point2D< T > | operator * (double coef) |
Point2D< T > | operator/ (double coef) |
void | operator/= (double coef) |
void | operator *= (double coef) |
double | Power () |
BOOL | IsOnSegment (Point2D< T > *a, Point2D< T > *b, double *alpha=NULL) |
BOOL | IsOnLine (Point2D< T > *a, Point2D< T > *b, double *alpha=NULL, double precision=PRECISION) |
BOOL | IsOnTriangle (Point2D< T > *a, Point2D< T > *b, Point2D< T > *c, double *alphaBC, double *alphaAPP, Point2D< T > *pp=NULL) |
Determine si un point (p) est contenu dans un triangle [abc]. | |
void | ToNormalVector (BOOL asTrigo=TRUE) |
Attributs Publics | |
T | x |
T | y |
|
|
|
|
|
|
|
|
|
Determine si un point (p) est contenu dans un triangle [abc]. Si les pointeur alhpa sont données, il donne la projection sur les segments qui compose le tirangle en pourcentage par rapport a leur premier sommet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|