![]() |
NDEVR
API Documentation
|
A radial object. More...
Public Member Functions | |
| constexpr | RadialObject (const t_vertex &vertex_a, const t_vertex &vertex_b, const t_vertex &vertex_c) |
| 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 |
| template<bool t_allow_bounds = true> | |
| constexpr bool | contains (const t_vertex &vector) const |
| constexpr t_type | radius () const |
A radial object.
Class: RadialObject
Author: Tyler Parke
Date: 2017-11-19
Definition at line 51 of file RadialObject.hpp.
|
inlineconstexpr |
Constructor.
Author: Tyler Parke
Date: 2017-11-19
Parameters: parameter1 - The first parameter.
Definition at line 73 of file RadialObject.hpp.
|
inlineconstexpr |
Gets as.
Author: Tyler Parke
Date: 2017-11-19
Definition at line 143 of file RadialObject.hpp.
Referenced by as().
|
inlinenodiscardconstexpr |
Gets the center.
Author: Tyler Parke
Date: 2017-11-19
Definition at line 158 of file RadialObject.hpp.
Referenced by Bounds< 3, fltp08 >::contains(), and Bounds< 3, fltp08 >::intersects().
|
inlineconstexpr |
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.
Definition at line 111 of file RadialObject.hpp.
|
inlineconstexpr |
Gets the radius.
Author: Tyler Parke
Date: 2017-11-19
Definition at line 129 of file RadialObject.hpp.
Referenced by Bounds< 3, fltp08 >::contains(), and Bounds< 3, fltp08 >::intersects().