CLASS v1.8.0

Circle

kn::Circle

Declared in kraken/geometry/Circle.hpp

Reference

C++ API

pos

variable
Vec2 pos

No description in the source header.

radius

variable
double radius = 0.0

No description in the source header.

Circle

function4 overloads
Circle()=default
Circle(double radius)
Circle(const Vec2 &center, double radius)
Circle(double x, double y, double radius)

No description in the source header.

~Circle

function
~Circle()=default

No description in the source header.

getArea

function
double getArea() const

No description in the source header.

double getCircumference() const

No description in the source header.

getDiameter

function
double getDiameter() const

No description in the source header.

setDiameter

function
void setDiameter(double diameter)

No description in the source header.

asRect

function
Rect asRect() const

No description in the source header.

getLeft

function
double getLeft() const

No description in the source header.

getRight

function
double getRight() const

No description in the source header.

getTop

function
double getTop() const

No description in the source header.

getBottom

function
double getBottom() const

No description in the source header.

setLeft

function
void setLeft(double left)

No description in the source header.

setRight

function
void setRight(double right)

No description in the source header.

setTop

function
void setTop(double top)

No description in the source header.

setBottom

function
void setBottom(double bottom)

No description in the source header.

copy

function
Circle copy() const

No description in the source header.

operator==

function
bool operator==(const Circle &other) const

No description in the source header.

operator!=

function
bool operator!=(const Circle &other) const

No description in the source header.

Find your next step

Start typing to search the manual.