Public Member Functions | Private Attributes

MeshLib::CCircle Class Reference

CCircle class, circle on the plane. More...

#include <Circle.h>

Collaboration diagram for MeshLib::CCircle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CCircle ()
 CCircle (const CPoint2 &c, const double r)
 ~CCircle ()
CPoint2c ()
double & r ()

Private Attributes

CPoint2 m_c
double m_r

Detailed Description

CCircle class, circle on the plane.

Circle on the two dimensional plane

Definition at line 20 of file Circle.h.


Constructor & Destructor Documentation

MeshLib::CCircle::CCircle (  )  [inline]

CCircle default constructor, it is initialized to be ((0,0),1)

Definition at line 26 of file Circle.h.

{ m_c = CPoint2(0,0); m_r = 1.0; };

MeshLib::CCircle::CCircle ( const CPoint2 c,
const double  r 
) [inline]

CCircle class copy operator

Definition at line 30 of file Circle.h.

{       m_c = c; m_r = r;};

MeshLib::CCircle::~CCircle (  )  [inline]

CCircle class destructor

Definition at line 34 of file Circle.h.

{};


Member Function Documentation

CPoint2& MeshLib::CCircle::c (  )  [inline]

The center of the circle

Definition at line 40 of file Circle.h.

{ return m_c; };

Here is the caller graph for this function:

double& MeshLib::CCircle::r (  )  [inline]

The radius of the circle

Definition at line 45 of file Circle.h.

{ return  m_r; };

Here is the caller graph for this function:


Member Data Documentation

Center

Definition at line 45 of file Circle.h.

double MeshLib::CCircle::m_r [private]

radius

Definition at line 55 of file Circle.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines