|
header_utils
|
Represents a 2D capsule area_shape. More...
#include <capsule.h>
Public Member Functions | |
| auto | centroid () const |
| bool | contains (glm::tvec2< T > pt) const |
| T | edge_length () const |
| glm::tvec2< T > | edge_point_alpha (T t) const |
| T | calculate_area () const |
| glm::tvec2< T > | edge_point (T t) const |
| trec2< T > | bounding_box () const |
| glm::tvec2< T > | closest_point_to (glm::tvec2< T > pt) const |
Public Attributes | |
| tsegment< T > | axis |
| T | radius |
Represents a 2D capsule area_shape.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| tsegment<T> ghassanpl::geometry::tcapsule< T >::axis |
| T ghassanpl::geometry::tcapsule< T >::radius |