MODULE v1.8.0

collision

kn::collision

Declared in kraken/geometry/Collision.hpp

Reference

C++ API

overlap

function17 overloads
bool overlap(const Rect &a, const Rect &b)
bool overlap(const Rect &rect, const Circle &circle)
bool overlap(const Rect &rect, const Line &line)
bool overlap(const Rect &rect, const Vec2 &point)
bool overlap(const Circle &a, const Circle &b)
bool overlap(const Circle &circle, const Rect &rect)
bool overlap(const Circle &circle, const Line &line)
bool overlap(const Circle &circle, const Vec2 &point)
bool overlap(const Line &a, const Line &b)
bool overlap(const Line &line, const Rect &rect)
bool overlap(const Line &line, const Circle &circle)
bool overlap(const Vec2 &point, const Rect &rect)
bool overlap(const Vec2 &point, const Circle &circle)
bool overlap(const Polygon &polygon, const Vec2 &point)
bool overlap(const Vec2 &point, const Polygon &polygon)
bool overlap(const Polygon &polygon, const Rect &rect)
bool overlap(const Rect &rect, const Polygon &polygon)

No description in the source header.

contains

function6 overloads
bool contains(const Rect &outer, const Rect &inner)
bool contains(const Rect &rect, const Circle &circle)
bool contains(const Rect &rect, const Line &line)
bool contains(const Circle &outer, const Circle &inner)
bool contains(const Circle &circle, const Rect &rect)
bool contains(const Circle &circle, const Line &line)

No description in the source header.

Find your next step

Start typing to search the manual.