VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Geometry::Rectangle Class Reference

Public Member Functions

VIPRA_POLY_FUNC auto is_point_inside (f3d point) const noexcept -> bool
 
auto random_point (Random::Engine &engine) const noexcept -> f3d
 
VIPRA_POLY_FUNC auto sides () const noexcept -> std::array< Line, 4 >
 
VIPRA_POLY_FUNC auto rotation () const noexcept -> f_pnt
 
VIPRA_POLY_FUNC auto center () const noexcept -> f3d const &
 
VIPRA_POLY_FUNC auto area () const noexcept -> f_pnt
 
VIPRA_POLY_FUNC auto width () const noexcept -> f_pnt
 
VIPRA_POLY_FUNC auto height () const noexcept -> f_pnt
 
VIPRA_POLY_FUNC auto points () const noexcept -> std::array< f3d, 4 > const &
 
constexpr Rectangle (f3d point1, f3d point2, f3d point3, f3d point4)
 
constexpr Rectangle (std::array< f3d, 4 > const &points)
 
constexpr Rectangle (std::array< f3d, 4 > &&points)
 
constexpr Rectangle (std::vector< Line > const &lines)
 
constexpr Rectangle (std::vector< Line > &&lines)
 
constexpr Rectangle (std::array< Line, 4 > const &lines)
 
constexpr Rectangle (std::array< Line, 4 > &&lines)
 
constexpr Rectangle (VIPRA::f3d const &center, VIPRA::f3d const &dimensions, VIPRA::f_pnt rotation)
 
constexpr Rectangle (Rectangle const &)=default
 
constexpr auto operator= (Rectangle const &) -> Rectangle &=default
 
constexpr Rectangle (Rectangle &&) noexcept=default
 
constexpr auto operator= (Rectangle &&) noexcept -> Rectangle &=default
 

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