|
header_utils
|
Represents a 2D circle area_shape. More...
#include <circle.h>
Public Member Functions | |
| auto const & | centroid () const |
| constexpr bool | is_valid () const noexcept |
| constexpr tcircle | valid () const noexcept |
| constexpr bool | contains (glm::tvec2< T > pt) const noexcept |
| constexpr T | edge_length () const noexcept |
| constexpr glm::tvec2< T > | edge_point_alpha (T t) const |
| constexpr T | calculate_area () const noexcept |
| constexpr glm::tvec2< T > | edge_point (T t) const noexcept |
| constexpr trec2< T > | bounding_box () const noexcept |
| glm::tvec2< T > | closest_point_to (glm::tvec2< T > pt) const |
Public Attributes | |
| glm::tvec2< T > | center |
| T | radius |
Represents a 2D circle area_shape.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| glm::tvec2<T> ghassanpl::geometry::tcircle< T >::center |
| T ghassanpl::geometry::tcircle< T >::radius |