#define PI (3.1415926535) |
double angle | ( | Point2_< T > | p | ) | [inline] |
double Angle | ( | Point2_< T > | p | ) | [inline] |
double dist_line | ( | const Point2_< T > & | p0, | |
const Point2_< T > & | p1, | |||
const Point2_< T > & | p2 | |||
) | [inline] |
double dist_seg | ( | const Point2_< T > & | p0, | |
const Point2_< T > & | p1, | |||
const Point2_< T > & | p2, | |||
Point2_< T > & | pmin | |||
) | [inline] |
double dist_seg | ( | const Point2_< T > & | p0, | |
const Point2_< T > & | p1, | |||
const Point2_< T > & | p2 | |||
) | [inline] |
bool intersect | ( | const Point2_< T > & | x, | |
const Point2_< T > & | u, | |||
const Point2_< T > & | y, | |||
const Point2_< T > & | v, | |||
double & | a, | |||
double & | b | |||
) | [inline] |
Computes a,b such that x+au=y+bv (x,y are points, u,v are vectors). returns true if a solution exists.
T_STD ostream& operator<< | ( | T_STD ostream & | out, | |
const Point2_< T > & | point | |||
) | [inline] |
T_STD ostream& operator<< | ( | T_STD ostream & | out, | |
const Point3_< T > | point | |||
) | [inline] |
T_STD istream& operator>> | ( | T_STD istream & | in, | |
Point2_< T > & | point | |||
) | [inline] |
T_STD istream& operator>> | ( | T_STD istream & | in, | |
Point3_< T > & | point | |||
) | [inline] |
void read | ( | T_STD istream & | in, | |
Tpoint3 & | p | |||
) | [inline] |
void read | ( | T_STD istream & | in, | |
Tpoint & | p | |||
) | [inline] |
void write | ( | T_STD ostream & | out, | |
const Tpoint3 & | p | |||
) | [inline] |
void write | ( | T_STD ostream & | out, | |
const Tpoint & | p | |||
) | [inline] |