Geometric object.
More...
#include <geom2f.hpp>
|
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.
|
|
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 |
|
Geometric object.
Definition at line 75 of file geom2f.hpp.
◆ ~Geom2f()
virtual jau::math::geom::Geom2f::~Geom2f |
( |
| ) |
|
|
virtualdefault |
◆ box()
virtual AABBox2f jau::math::geom::Geom2f::box |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ contains()
virtual bool jau::math::geom::Geom2f::contains |
( |
const Point2f & | o | ) |
const |
|
pure virtualnoexcept |
◆ intersects() [1/3]
virtual bool jau::math::geom::Geom2f::intersects |
( |
const LineSeg2f & | o | ) |
const |
|
pure virtualnoexcept |
◆ intersects() [2/3]
virtual bool jau::math::geom::Geom2f::intersects |
( |
const AABBox2f & | box | ) |
const |
|
pure virtualnoexcept |
◆ intersects() [3/3]
virtual bool jau::math::geom::Geom2f::intersects |
( |
const Geom2f & | o | ) |
const |
|
pure virtualnoexcept |
◆ intersection()
virtual bool jau::math::geom::Geom2f::intersection |
( |
Vec2f & | reflect_out, |
|
|
Vec2f & | cross_normal, |
|
|
Point2f & | cross_point, |
|
|
const LineSeg2f & | in ) const |
|
pure virtualnoexcept |
◆ toString()
virtual std::string jau::math::geom::Geom2f::toString |
( |
| ) |
const |
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: