Skip to content

Float3

#include <custom_types.hh>
struct Float3

Defined in src/lib/ncarray/custom_types.hh:519

A 3-float (single precision) vector data type.

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
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

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

constexpr

constexpr constexpr Float3() = default

Defined in src/lib/ncarray/custom_types.hh:524

Defaulted member function.


constexpr

constexpr constexpr Float3(const Float3 &) = default

Defined in src/lib/ncarray/custom_types.hh:525

Defaulted member function.


constexpr

constexpr constexpr Float3(Float3 &&) = default

Defined in src/lib/ncarray/custom_types.hh:526

Defaulted member function.


inline constexpr

constexpr inline NCA_HD constexpr Float3(float x_, float y_, float z_)

Defined in src/lib/ncarray/custom_types.hh:530


inline constexpr

template<Numeric U> constexpr inline NCA_HD constexpr Float3(U s)

Defined in src/lib/ncarray/custom_types.hh:538


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


const inline explicit

inline explicit NCA_HD operator bool() const

Defined in src/lib/ncarray/custom_types.hh:556