point.h File Reference

#include "value.h"

Go to the source code of this file.

Classes

class  PointValue

Functions

PointValue max (const PointValue &a, const PointValue &b)
PointValue min (const PointValue &a, const PointValue &b)


Function Documentation

PointValue max const PointValue a,
const PointValue b
 

Definition at line 52 of file point.cpp.

References max(), PointValue::x, and PointValue::y.

Referenced by Runtime::add(), Runtime::crop(), ImageValue::ImageValue(), ImageValue::loadImage(), max(), and Runtime::straighten().

00053 {
00054   PointValue result;
00055   result.x=max(a.x,b.x);
00056   result.y=max(a.y,b.y);
00057   return result;
00058 }

PointValue min const PointValue a,
const PointValue b
 

Definition at line 60 of file point.cpp.

References min(), PointValue::x, and PointValue::y.

00061 {
00062   PointValue result;
00063   result.x=min(a.x,b.x);
00064   result.y=min(a.y,b.y);
00065   return result;
00066 }


Generated on Mon Jun 5 22:08:42 2006 for iis by  doxygen 1.4.6