geirs2Panic  Richard J. Mathar
Fits header keyword batch editor
 All Classes Files Functions Variables Macros Pages
Functions
Point2D.cxx File Reference
#include "config.h"
#include <cstring>
#include <cmath>
#include "Point2D.h"
#include "RotTrans2D.h"
Include dependency graph for Point2D.cxx:

Functions

Point2D operator+ (const Point2D &left, const Point2D &right)
 Add two points, interpreting both points as vectors. More...
 

Function Documentation

Point2D operator+ ( const Point2D left,
const Point2D right 
)

Add two points, interpreting both points as vectors.


Parameters
leftThe point to the left of the + sign.
rightThe point to right of the + sign.
Returns
A point with coordinates that are sums of coordinates of both arguments.