API Documentation
|
#include <RadialObject.hpp>
Public Member Functions | |
constexpr | BiRadialObject (t_type r=0) |
constexpr | BiRadialObject (const t_vertex &p1, const t_vertex &p2, t_type radius) |
constexpr bool | contains (const t_vertex &vector) const |
constexpr t_type | radius () const |
template<uint01 t_new_dims, class t_new_type > | |
constexpr BiRadialObject< t_new_dims, t_new_type > | as () const |
constexpr t_vertex | center () const |
constexpr const t_vertex & | axisPoint (uint01 vertex) const |
template<class t_ratio_type = fltp08> | |
t_ratio_type | minorToMajorRatio () const |
template<class t_matrix_type = fltp08> | |
Matrix< t_matrix_type > | fromCircleTransform () const |
Static Public Member Functions | |
template<class t_matrix_type = fltp08> | |
static BiRadialObject< t_dims, t_type, t_vertex > | fromCircleTransform (const Matrix< t_matrix_type > &mat) |
Class: BiRadialObject
A bi radial object.
Author: Tyler Parke
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Fn: constexpr BiRadialObject<t_new_dims, t_new_type> BiRadialObject::as() const
Gets as.
Author: Tyler Parke
Date: 2017-11-19
|
inlineconstexpr |
|
inlineconstexpr |
Fn: constexpr const t_vertex& BiRadialObject::center() const
Gets the center.
Author: Tyler Parke
Date: 2017-11-19
|
inlineconstexpr |
Fn: constexpr bool BiRadialObject::contains(const Vector<t_dims, t_type>& vector) const
Query if this object contains the given vector.
Author: Tyler Parke
Date: 2017-11-19
Parameters: vector - The const Vector<t_dims,t_type>& to test for containment.
|
inline |
|
inlinestatic |
|
inline |
|
inlineconstexpr |
Fn: constexpr t_type BiRadialObject::radius() const
Gets the radius.
Author: Tyler Parke
Date: 2017-11-19