clan::Circlex< Type > Class Template Reference

Circle. More...

#include <circle.h>

Public Member Functions

 Circlex (Type x, Type y, Type radius)
 
 Circlex (const Vec2< Type > &p, Type radius)
 
 Circlex ()
 
 Circlex (const Circlex< Type > &copy)
 
bool is_inside (const Vec2< Type > &point)
 
bool operator!= (const Circlex< Type > &circle) const
 
Circlex< Type > & operator= (const Circlex< Type > &copy)
 
bool operator== (const Circlex< Type > &circle) const
 

Public Attributes

Vec2< Type > position
 Circle center point. More...
 
Type radius
 Circle radius. More...
 

Detailed Description

template<typename Type>
class clan::Circlex< Type >

Circle.

These circle templates are defined for: int (Circle), float (Circlef), double (Circled)

Constructor & Destructor Documentation

template<typename Type>
clan::Circlex< Type >::Circlex ( Type  x,
Type  y,
Type  radius 
)
inline
template<typename Type>
clan::Circlex< Type >::Circlex ( const Vec2< Type > &  p,
Type  radius 
)
inline
template<typename Type>
clan::Circlex< Type >::Circlex ( )
inline
template<typename Type>
clan::Circlex< Type >::Circlex ( const Circlex< Type > &  copy)
inline

Member Function Documentation

template<typename Type>
bool clan::Circlex< Type >::is_inside ( const Vec2< Type > &  point)
inline
template<typename Type>
bool clan::Circlex< Type >::operator!= ( const Circlex< Type > &  circle) const
inline
template<typename Type>
Circlex<Type>& clan::Circlex< Type >::operator= ( const Circlex< Type > &  copy)
inline
template<typename Type>
bool clan::Circlex< Type >::operator== ( const Circlex< Type > &  circle) const
inline

Member Data Documentation

template<typename Type>
Vec2<Type> clan::Circlex< Type >::position
template<typename Type>
Type clan::Circlex< Type >::radius

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