#include "maxheap.h"
#include "GeomExport.h"
#include <iosfwd>
#include <math.h>
Go to the source code of this
file.
Function Documentation
float Length |
( |
const Point2 & |
v |
) |
[inline] |
Definition at line 208 of file point2.h.
{
return (float)sqrt(v.x*v.x+v.y*v.y);
}
GEOMEXPORT int MaxComponent |
( |
const Point2 & |
|
) |
|
GEOMEXPORT int MinComponent |
( |
const Point2 & |
|
) |
|
GEOMEXPORT std::ostream&
operator<< |
( |
std::ostream & |
, |
|
|
const Point2 & |
|
|
) |
|
|
float LengthSquared |
( |
const Point2 & |
v |
) |
[inline] |
Definition at line 218 of file point2.h.
{
return (float)(v.x*v.x+v.y*v.y);
}