API Documentation
|
A radial object. More...
#include <RadialObject.hpp>
Public Member Functions | |
constexpr | RadialObject (t_type r=0) |
constexpr | RadialObject (const t_vertex ¢er, t_type radius) |
constexpr | RadialObject (const t_vertex &vertex_a, const t_vertex &vertex_b, const t_vertex &vertex_c) |
template<bool t_allow_bounds = true> | |
constexpr bool | contains (const t_vertex &vector) const |
constexpr t_type | radius () const |
template<uint01 t_new_dims, class t_new_type , class t_new_vertex = Vertex<t_new_dims, t_new_type>> | |
constexpr RadialObject< t_new_dims, t_new_type > | as () const |
constexpr const t_vertex & | center () const |
bool | operator== (const RadialObject &rad) const |
bool | operator!= (const RadialObject &rad) const |
A radial object.
Class: RadialObject
Author: Tyler Parke
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Fn: constexpr RadialObject<t_new_dims, t_new_type> RadialObject::as() const
Gets as.
Author: Tyler Parke
Date: 2017-11-19
|
inlinenodiscardconstexpr |
Fn: constexpr const t_vertex& RadialObject::center() const
Gets the center.
Author: Tyler Parke
Date: 2017-11-19
|
inlineconstexpr |
Fn: constexpr bool RadialObject::contains(const t_vertex& vector) const
Query if this object contains the given vector.
Author: Tyler Parke
Date: 2017-11-19
Parameters: vector - The const t_vertex& to test for containment.
|
inline |
|
inline |
|
inlineconstexpr |
Fn: constexpr t_type RadialObject::radius() const
Gets the radius.
Author: Tyler Parke
Date: 2017-11-19