A set of numbers representing a single circle situated somewhere in the world.
More...
#include <types.hpp>
|
| bool | isSensible () const |
| | Tests whether the circle described by these parameters is valid (as opposed to invalid or infinite).
|
| bool | isPositiveStrict () const |
| | Tests whether the circle's parameters are strictly positive, and hence whether the circle encloses some real region in space.
|
|
|
float | mRadius { 0.f } |
| | The radius of the circle.
|
|
glm::vec3 | mCenter { 0.f } |
| | The real-world coordinates of the center of the circle.
|
|
glm::vec3 | mNormal { 0.f, -1.f, 0.f } |
| | A vector normal to the surface of the circle, in whose direction it may be assumed the circle is facing.
|
A set of numbers representing a single circle situated somewhere in the world.
◆ isPositiveStrict()
| bool ToyMaker::AreaCircle::isPositiveStrict |
( |
| ) |
const |
|
inline |
Tests whether the circle's parameters are strictly positive, and hence whether the circle encloses some real region in space.
- Return values
-
| true | The circle is strictly positive; |
| false | The circle is not strictly positive; |
◆ isSensible()
| bool ToyMaker::AreaCircle::isSensible |
( |
| ) |
const |
|
inline |
Tests whether the circle described by these parameters is valid (as opposed to invalid or infinite).
- Return values
-
| true | The circle is sensible; |
| false | The circle is not sensible; |
The documentation for this struct was generated from the following file:
- ToyMaker_Main/include/toymaker/engine/spatial_query/types.hpp