#include <circle.h>
Public Member Functions | |
Circlex () | |
Circlex (const Circlex< Type > ©)=default | |
Circlex (const Vec2< Type > &p, Type radius) | |
Circlex (Type x, Type y, Type radius) | |
bool | is_inside (const Vec2< Type > &point) |
bool | operator!= (const Circlex< Type > &circle) const |
Circlex< Type > & | operator= (const Circlex< Type > ©)=default |
bool | operator== (const Circlex< Type > &circle) const |
Public Attributes | |
Vec2< Type > | position |
Circle center point. | |
Type | radius |
Circle radius. | |
These circle templates are defined for: int (Circle), float (Circlef), double (Circled)
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
References clan::point, clan::Circlex< Type >::position, and clan::Circlex< Type >::radius.
|
inline |
References clan::Circlex< Type >::position, and clan::Circlex< Type >::radius.
|
default |
|
inline |
References clan::Circlex< Type >::position, and clan::Circlex< Type >::radius.
Vec2<Type> clan::Circlex< Type >::position |
Circle center point.
Referenced by clan::Circlex< Type >::is_inside(), clan::Circlex< Type >::operator!=(), and clan::Circlex< Type >::operator==().
Type clan::Circlex< Type >::radius |
Circle radius.
Referenced by clan::Circlex< Type >::is_inside(), clan::Circlex< Type >::operator!=(), and clan::Circlex< Type >::operator==().