Public Member Functions | Public Attributes

CL_Circlex< Type > Class Template Reference
[clanCore Math]

Circle. More...

#include <circle.h>

Inheritance diagram for CL_Circlex< Type >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CL_Circlex (Type x, Type y, Type radius)
 CL_Circlex (const CL_Circlex< Type > &copy)
 CL_Circlex ()
 CL_Circlex (const CL_Vec2< Type > &p, Type radius)
Attributes

bool is_inside (const CL_Vec2< Type > &point)
Operators

CL_Circlex< Type > & operator= (const CL_Circlex< Type > &copy)
 = operator.
bool operator== (const CL_Circlex< Type > &circle) const
 == operator.
bool operator!= (const CL_Circlex< Type > &circle) const
 != operator.

Public Attributes

CL_Vec2< Type > position
 Circle center point.
Type radius
 Circle radius.

Detailed Description

template<typename Type>
class CL_Circlex< Type >

Circle.

These circle templates are defined for: int (CL_Circle), float (CL_Circlef), double (CL_Circled)


Constructor & Destructor Documentation

template<typename Type>
CL_Circlex< Type >::CL_Circlex ( Type  x,
Type  y,
Type  radius 
) [inline]
template<typename Type>
CL_Circlex< Type >::CL_Circlex ( const CL_Vec2< Type > &  p,
Type  radius 
) [inline]
template<typename Type>
CL_Circlex< Type >::CL_Circlex (  )  [inline]
template<typename Type>
CL_Circlex< Type >::CL_Circlex ( const CL_Circlex< Type > &  copy  )  [inline]

Member Function Documentation

template<typename Type>
bool CL_Circlex< Type >::is_inside ( const CL_Vec2< Type > &  point  )  [inline]
template<typename Type>
bool CL_Circlex< Type >::operator!= ( const CL_Circlex< Type > &  circle  )  const [inline]

!= operator.

template<typename Type>
CL_Circlex<Type>& CL_Circlex< Type >::operator= ( const CL_Circlex< Type > &  copy  )  [inline]

= operator.

template<typename Type>
bool CL_Circlex< Type >::operator== ( const CL_Circlex< Type > &  circle  )  const [inline]

== operator.


Member Data Documentation

template<typename Type>
CL_Vec2<Type> CL_Circlex< Type >::position

Circle center point.

Referenced by CL_Circlex< int >::operator=().

template<typename Type>
Type CL_Circlex< Type >::radius

Circle radius.

Referenced by CL_Circlex< int >::operator=().


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