Circle
kn::Circle Declared in kraken/geometry/Circle.hpp
At a glance
20 membersposvariableradiusvariableCirclefunction~CirclefunctiongetAreafunctiongetCircumferencefunctiongetDiameterfunctionsetDiameterfunctionasRectfunctiongetLeftfunctiongetRightfunctiongetTopfunctiongetBottomfunctionsetLeftfunctionsetRightfunctionsetTopfunctionsetBottomfunctioncopyfunctionoperator==functionoperator!=functionReference
C++ APIpos
variableVec2 posNo description in the source header.
radius
variabledouble radius = 0.0No description in the source header.
No description in the source header.
~Circle
function~Circle()=defaultNo description in the source header.
getArea
functiondouble getArea() constNo description in the source header.
getCircumference
functiondouble getCircumference() constNo description in the source header.
getDiameter
functiondouble getDiameter() constNo description in the source header.
setDiameter
functionvoid setDiameter(double diameter)No description in the source header.
asRect
functionRect asRect() constNo description in the source header.
getLeft
functiondouble getLeft() constNo description in the source header.
getRight
functiondouble getRight() constNo description in the source header.
getTop
functiondouble getTop() constNo description in the source header.
getBottom
functiondouble getBottom() constNo description in the source header.
setLeft
functionvoid setLeft(double left)No description in the source header.
setRight
functionvoid setRight(double right)No description in the source header.
setTop
functionvoid setTop(double top)No description in the source header.
setBottom
functionvoid setBottom(double bottom)No description in the source header.
copy
functionCircle copy() constNo description in the source header.
operator==
functionbool operator==(const Circle &other) constNo description in the source header.
operator!=
functionbool operator!=(const Circle &other) constNo description in the source header.