Float3
Float3
Section titled “Float3”#include <custom_types.hh>struct Float3Defined in src/lib/ncarray/custom_types.hh:519
A 3-float (single precision) vector data type.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
x |
variable |
Declared here |
y |
variable |
Declared here |
z |
variable |
Declared here |
Float3 |
function |
Declared here |
Float3 |
function |
Declared here |
Float3 |
function |
Declared here |
Float3 |
function |
Declared here |
Float3 |
function |
Declared here |
Float3 |
function |
Declared here |
operator bool |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
float |
x |
|
float |
y |
|
float |
z |
float x { 0.0f }Defined in src/lib/ncarray/custom_types.hh:520
float y { 0.0f }Defined in src/lib/ncarray/custom_types.hh:521
float z { 0.0f }Defined in src/lib/ncarray/custom_types.hh:522
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
constexpr |
Float3 constexpr |
Defaulted member function. |
constexpr |
Float3 constexpr |
Defaulted member function. |
constexpr |
Float3 constexpr |
Defaulted member function. |
NCA_HD constexpr |
Float3 inline constexpr |
|
NCA_HD constexpr |
Float3 inline constexpr |
|
NCA_HD constexpr |
Float3 inline constexpr requires (!is_same_v<decay_t<U>, Float3>) |
|
NCA_HD |
operator bool const inline explicit |
Float3
Section titled “Float3”constexpr
constexpr constexpr Float3() = defaultDefined in src/lib/ncarray/custom_types.hh:524
Defaulted member function.
Float3
Section titled “Float3”constexpr
constexpr constexpr Float3(const Float3 &) = defaultDefined in src/lib/ncarray/custom_types.hh:525
Defaulted member function.
Float3
Section titled “Float3”constexpr
constexpr constexpr Float3(Float3 &&) = defaultDefined in src/lib/ncarray/custom_types.hh:526
Defaulted member function.
Float3
Section titled “Float3”inline constexpr
constexpr inline NCA_HD constexpr Float3(float x_, float y_, float z_)Defined in src/lib/ncarray/custom_types.hh:530
Float3
Section titled “Float3”inline constexpr
template<Numeric U> constexpr inline NCA_HD constexpr Float3(U s)Defined in src/lib/ncarray/custom_types.hh:538
Float3
Section titled “Float3”inline constexpr requires (!is_same_v<decay_t<U>, Float3>)
template<Vector2DType U> constexpr inline NCA_HD constexpr Float3(const U & other) requires (!is_same_v<decay_t<U>, Float3>)Defined in src/lib/ncarray/custom_types.hh:547
operator bool
Section titled “operator bool”const inline explicit
inline explicit NCA_HD operator bool() constDefined in src/lib/ncarray/custom_types.hh:556