Class Point

Inheritance Relationships

Derived Type

Class Documentation

class Point

A point in a plane.

Subclassed by lsst::jointcal::FatPoint

Public Functions

virtual ~Point()
Point()

  • contructor

Point(double xx, double yy)

  • contructor

double Distance(const Point &other) const

double computeDist2(const Point &other) const

distance squared to other

Point operator+(const Point &Right) const

Sum.

Point operator-(const Point &Right) const

Difference.

virtual void dump(std::ostream &s = std::cout) const

utility

Public Members

double x

coordinate

double y

Friends

std::ostream &operator<<(std::ostream &stream, const Point &point)