CLASS v1.8.0

Capsule

kn::Capsule

Declared in kraken/geometry/Capsule.hpp

Reference

C++ API

p1

variable
Vec2 p1

No description in the source header.

p2

variable
Vec2 p2

No description in the source header.

radius

variable
double radius = 0.0

No description in the source header.

Capsule

function3 overloads
Capsule()=default
Capsule(const Vec2 &p1, const Vec2 &p2, double radius)
Capsule(double x1, double y1, double x2, double y2, double radius)

No description in the source header.

~Capsule

function
~Capsule()=default

No description in the source header.

asRect

function
Rect asRect() const

No description in the source header.

copy

function
Capsule copy() const

No description in the source header.

operator==

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

No description in the source header.

operator!=

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

No description in the source header.

Find your next step

Start typing to search the manual.