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

Public Member Functions

VIPRA_POLY_FUNC auto is_point_inside (f3d point) const noexcept -> bool
 
VIPRA_POLY_FUNC auto bounding_box () const noexcept -> Rectangle
 
VIPRA_POLY_FUNC auto sides () const noexcept -> std::array< Line, 3 >
 
VIPRA_POLY_FUNC auto center () const noexcept -> f3d
 
auto random_point (Random::Engine &engine) const noexcept -> f3d
 
VIPRA_POLY_FUNC auto area () const noexcept -> f_pnt
 
VIPRA_POLY_FUNC auto points () const noexcept -> std::array< f3d, 3 > const &
 
 Triangle (f3d const &point1, f3d const &point2, f3d const &point3)
 
 Triangle (Triangle const &)=default
 
auto operator= (Triangle const &) -> Triangle &=default
 
 Triangle (Triangle &&) noexcept=default
 
auto operator= (Triangle &&) noexcept -> Triangle &=default
 

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