Point Class Reference

#include <Point.h>

Public Member Functions

double dist (const Point &p) const
double length () const
double normalize ()
bool operator!= (const Point &p) const
double operator* (const Point &p) const
const Point operator* (double d) const
const Point operator+ (const Point &p) const
const Point operator- (const Point &p) const
Point operator- (void) const
const Point operator/ (double d) const
bool operator== (const Point &p) const
double operator^ (const Point &p) const
Point operator~ (void) const
 Point ()
 Point (const double *p)
 Point (const Point &p0, const Point &p1)
 Point (double X, double Y)
void Rotate (double angle)
void Rotate (double cosa, double sina)
void Transform (const geoff_geometry::Matrix &m)

Public Attributes

double x
double y

Static Public Attributes

static double tolerance = 0.001

Constructor & Destructor Documentation

◆ Point() [1/4]

Point::Point ( )

◆ Point() [2/4]

Point::Point ( double  X,
double  Y 

◆ Point() [3/4]

Point::Point ( const double *  p)

◆ Point() [4/4]

Point::Point ( const Point p0,
const Point p1 

Member Function Documentation

◆ dist()

◆ length()

◆ normalize()

◆ operator!=()

bool Point::operator!= ( const Point p) const

◆ operator*() [1/2]

double Point::operator* ( const Point p) const

◆ operator*() [2/2]

const Point Point::operator* ( double  d) const

References Point().

◆ operator+()

const Point Point::operator+ ( const Point p) const

References Point().

◆ operator-() [1/2]

const Point Point::operator- ( const Point p) const

References Point().

◆ operator-() [2/2]

Point Point::operator- ( void  ) const

References Point().

◆ operator/()

const Point Point::operator/ ( double  d) const

References Point().

◆ operator==()

bool Point::operator== ( const Point p) const

References tolerance.

◆ operator^()

double Point::operator^ ( const Point p) const

◆ operator~()

Point Point::operator~ ( void  ) const

References Point().

◆ Rotate() [1/2]

void Point::Rotate ( double  angle)

References Rotate().

Referenced by Rotate().

◆ Rotate() [2/2]

void Point::Rotate ( double  cosa,
double  sina 

References y.

Referenced by CArc::MidParam(), and Span::MidParam().

◆ Transform()

void Point::Transform ( const geoff_geometry::Matrix m)

Member Data Documentation

◆ tolerance

◆ x

◆ y

The documentation for this class was generated from the following files: