Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
|
A clockwise (CW) polyline. More...
#include <geom2f.hpp>
Public Member Functions | |
LineStrip2f () noexcept | |
LineStrip2f (const Point2f ¢er, const float angle) noexcept | |
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. | |
bool | intersects (const AABBox2f &o) const noexcept override |
bool | intersects (const Geom2f &o) const noexcept override |
bool | intersects (const LineSeg2f &o) const noexcept override |
bool | intersects_lineonly (const LineSeg2f &o) const noexcept |
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 | normalize_center () noexcept |
void | rotate (const float radians) noexcept override |
void | set_center (const Point2f &p) |
std::string | toString () const noexcept override |
![]() | |
virtual bool | tick (const float dt) noexcept |
![]() | |
virtual | ~Geom2f ()=default |
Public Attributes | |
float | dir_angle |
direction angle in radians | |
Point2f | p_center |
std::vector< Point2f > | p_list |
A clockwise (CW) polyline.
Definition at line 706 of file geom2f.hpp.
|
inlinenoexcept |
Definition at line 714 of file geom2f.hpp.
|
inlinenoexcept |
Definition at line 718 of file geom2f.hpp.
|
inlinenoexcept |
Definition at line 722 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 737 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 745 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 754 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 760 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::AGeom2f.
Definition at line 767 of file geom2f.hpp.
|
inline |
Definition at line 783 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 789 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 793 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 797 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 801 of file geom2f.hpp.
|
inlinenoexcept |
Definition at line 805 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 821 of file geom2f.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::math::geom::Geom2f.
Definition at line 838 of file geom2f.hpp.
std::vector<Point2f> jau::math::geom::LineStrip2f::p_list |
Definition at line 708 of file geom2f.hpp.
Point2f jau::math::geom::LineStrip2f::p_center |
Definition at line 709 of file geom2f.hpp.
float jau::math::geom::LineStrip2f::dir_angle |
direction angle in radians
Definition at line 711 of file geom2f.hpp.