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

Public Member Functions

constexpr Circle (VIPRA::f3d center, VIPRA::f_pnt radius)
 
VIPRA_INLINE constexpr auto center () const -> const VIPRA::f3d &
 
VIPRA_INLINE constexpr auto radius () const -> const VIPRA::f_pnt &
 
VIPRA_INLINE constexpr auto is_inside (VIPRA::f3d point) const -> bool
 Check if a point is inside the circle.
 
VIPRA_INLINE constexpr auto does_intersect (VIPRA::Geometry::Line line) const noexcept -> bool
 

Member Function Documentation

◆ is_inside()

VIPRA_INLINE constexpr auto VIPRA::Geometry::Circle::is_inside ( VIPRA::f3d point) const -> bool
inlinenodiscardconstexpr

Check if a point is inside the circle.

Parameters
point
Returns
true
false

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