39 template<
typename Type>
49 Circlex(Type
x, Type
y, Type radius) : position(x, y), radius(radius) { }
51 Circlex() : position(), radius(static_cast<Type> (0)) { }
Circlex< Type > & operator=(const Circlex< Type > ©)
Definition: circle.h:56
Circlef(const Circlex< float > ©)
Definition: circle.h:78
Circle.
Definition: circle.h:40
Circlef()
Definition: circle.h:77
Type radius
Circle radius.
Definition: circle.h:47
Circlex(const Vec2< Type > &p, Type radius)
Definition: circle.h:50
2D vector
Definition: line.h:43
Type distance(const Vec2< Type > &vector) const
Calculate the distance between this vector and an other vector.
Circle - Integer.
Definition: circle.h:62
Circlex(Type x, Type y, Type radius)
Definition: circle.h:49
Circled(const Vec2< double > &p, double radius)
Definition: circle.h:86
Circlef(const Vec2< float > &p, float radius)
Definition: circle.h:76
Vec2< Type > position
Circle center point.
Definition: circle.h:44
Circlex(const Circlex< Type > ©)
Definition: circle.h:52
Circle - Double.
Definition: circle.h:82
Circled(const Circlex< double > ©)
Definition: circle.h:88
Circle()
Definition: circle.h:67
bool operator==(const Circlex< Type > &circle) const
Definition: circle.h:57
Circled()
Definition: circle.h:87
Circled(double x, double y, double radius)
Definition: circle.h:85
Circlef(float x, float y, float radius)
Definition: circle.h:75
Circle(int x, int y, int radius)
Definition: circle.h:65
bool is_inside(const Vec2< Type > &point)
Definition: circle.h:54
Circle(const Circlex< int > ©)
Definition: circle.h:68
Circle(const Vec2< int > &p, int radius)
Definition: circle.h:66
bool operator!=(const Circlex< Type > &circle) const
Definition: circle.h:58
Circle - Float.
Definition: circle.h:72
Circlex()
Definition: circle.h:51
Definition: Application/application.h:35