Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | List of all members
jau::math::geom::AGeom2f Class Referenceabstract

Animated geometric object. More...

#include <geom2f.hpp>

Inheritance diagram for jau::math::geom::AGeom2f:
Collaboration diagram for jau::math::geom::AGeom2f:

Public Member Functions

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
 

Detailed Description

Animated geometric object.

Definition at line 455 of file geom2f.hpp.

Member Function Documentation

◆ rotate()

virtual void jau::math::geom::AGeom2f::rotate ( const float  rad)
pure virtualnoexcept

◆ move_dir()

virtual void jau::math::geom::AGeom2f::move_dir ( const float  d)
pure virtualnoexcept

◆ move() [1/2]

virtual void jau::math::geom::AGeom2f::move ( const Point2f d)
pure virtualnoexcept

◆ move() [2/2]

virtual void jau::math::geom::AGeom2f::move ( const float  dx,
const float  dy 
)
pure virtualnoexcept

◆ tick()

virtual bool jau::math::geom::AGeom2f::tick ( const float  dt)
inlinevirtualnoexcept

Definition at line 461 of file geom2f.hpp.


The documentation for this class was generated from the following file: