Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
#include <geom2f.hpp>
Public Member Functions | |
Disk2f (const Point2f &c_, const float r_) | |
Disk2f (float x, float y, const float r_) | |
AABBox2f | box () const noexcept override |
bool | contains (const Point2f &o) const noexcept override |
bool | intersection (Vec2f &reflect_out, Vec2f &cross_normal, Point2f &cross_point, const LineSeg2f &in) const noexcept override |
Return whether this object intersects with the given line segment and if intersecting, the crossing point (intersection), the normalized normal of the crossing surface and the reflection out vector. More... | |
bool | intersects (const AABBox2f &o) const noexcept override |
bool | intersects (const Geom2f &o) const noexcept override |
bool | intersects (const LineSeg2f &o) const noexcept override |
void | move (const float dx, const float dy) noexcept override |
void | move (const Point2f &d) noexcept override |
void | move_dir (const float d) noexcept override |
void | rotate (const float rad) noexcept override |
void | set_center (const Point2f &p) |
std::string | toString () const noexcept override |
Public Member Functions inherited from jau::math::geom::AGeom2f | |
virtual void | move (const float dx, const float dy) noexcept=0 |
virtual void | move (const Point2f &d) noexcept=0 |
virtual void | move_dir (const float d) noexcept=0 |
virtual void | rotate (const float rad) noexcept=0 |
virtual bool | tick (const float dt) noexcept |
Public Member Functions inherited from jau::math::geom::Geom2f | |
virtual | ~Geom2f ()=default |
virtual AABBox2f | box () const noexcept=0 |
virtual bool | contains (const Point2f &o) const noexcept=0 |
virtual bool | intersection (Vec2f &reflect_out, Vec2f &cross_normal, Point2f &cross_point, const LineSeg2f &in) const noexcept=0 |
Return whether this object intersects with the given line segment and if intersecting, the crossing point (intersection), the normalized normal of the crossing surface and the reflection out vector. More... | |
virtual bool | intersects (const AABBox2f &box) const noexcept=0 |
virtual bool | intersects (const Geom2f &o) const noexcept=0 |
virtual bool | intersects (const LineSeg2f &o) const noexcept=0 |
virtual std::string | toString () const noexcept=0 |
Public Attributes | |
Point2f | center |
Imagine a circle ;-) More... | |
float | dir_angle |
direction angle in radians More... | |
float | radius |
Definition at line 466 of file geom2f.hpp.
|
inline |
Definition at line 484 of file geom2f.hpp.
|
inline |
Definition at line 487 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 490 of file geom2f.hpp.
|
inline |
Definition at line 495 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 499 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 505 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 510 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 514 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 518 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Return whether this object intersects with the given line segment and if intersecting, the crossing point (intersection), the normalized normal of the crossing surface and the reflection out vector.
Implements jau::math::geom::Geom2f.
Definition at line 522 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 536 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 540 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 546 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 549 of file geom2f.hpp.
Point2f jau::math::geom::Disk2f::center |
float jau::math::geom::Disk2f::radius |
Definition at line 480 of file geom2f.hpp.
float jau::math::geom::Disk2f::dir_angle |
direction angle in radians
Definition at line 482 of file geom2f.hpp.