Circle Class Reference

#include <Circle.h>

Public Member Functions

 Circle (const Point &c, double radius)
 
 Circle (const Point &p0, const Point &p1, const Point &p2)
 
bool LineIsOn (const Point &p0, const Point &p1, double accuracy)
 
bool PointIsOn (const Point &p, double accuracy)
 

Public Attributes

Point m_c
 
double m_radius
 

Constructor & Destructor Documentation

◆ Circle() [1/2]

Circle::Circle ( const Point c,
double  radius 
)

◆ Circle() [2/2]

Circle::Circle ( const Point p0,
const Point p1,
const Point p2 
)

References m_c, m_radius, Point::x, and Point::y.

Member Function Documentation

◆ LineIsOn()

bool Circle::LineIsOn ( const Point p0,
const Point p1,
double  accuracy 
)

References PointIsOn().

◆ PointIsOn()

bool Circle::PointIsOn ( const Point p,
double  accuracy 
)

References m_c, and m_radius.

Referenced by LineIsOn().

Member Data Documentation

◆ m_c

Point Circle::m_c

Referenced by Circle(), and PointIsOn().

◆ m_radius

double Circle::m_radius

Referenced by Circle(), and PointIsOn().


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