MIRA
Public Types | Public Member Functions | Public Attributes | List of all members
Circle< T > Class Template Reference

Represents a circle with a center and a radius. More...

#include <geometry/Circle.h>

Public Types

typedef Point< T, 2 > PointType
 

Public Member Functions

 Circle ()
 Creates an uninitialized circle segment. More...
 
 Circle (const PointType &c, T r)
 Creates a circle with given center and radius. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

PointType center
 The center of the circle. More...
 
radius
 The radius of the circle. More...
 

Detailed Description

template<typename T>
class mira::Circle< T >

Represents a circle with a center and a radius.

Member Typedef Documentation

◆ PointType

typedef Point<T,2> PointType

Constructor & Destructor Documentation

◆ Circle() [1/2]

Circle ( )
inline

Creates an uninitialized circle segment.

◆ Circle() [2/2]

Circle ( const PointType c,
r 
)
inline

Creates a circle with given center and radius.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ center

PointType center

The center of the circle.

◆ radius

T radius

The radius of the circle.


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