OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::Vector4D< Type > Struct Template Reference

4 次元のベクトル More...

#include <Vector4D.hpp>

Public Types

using value_type = Type
 

Public Member Functions

SIV3D_NODISCARD_CXX20 Vector4D ()=default
 
SIV3D_NODISCARD_CXX20 Vector4D (const Vector4D &)=default
 
constexpr SIV3D_NODISCARD_CXX20 Vector4D (value_type _x, value_type _y, value_type _z, value_type _w) noexcept
 
template<class X , class Y , class Z , class W >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (X _x, Y _y, Z _z, W _w) noexcept
 
template<class U >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (const Vector4D< U > &v) noexcept
 
template<class X , class Y >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (X _x, Y _y, const Vector2D< value_type > &zw) noexcept
 
template<class X , class W >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (X _x, const Vector2D< value_type > &yz, W _w) noexcept
 
template<class Z , class W >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (const Vector2D< value_type > &xy, Z _z, W _w) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 Vector4D (const Vector2D< value_type > &xy, const Vector2D< value_type > &zw) noexcept
 
template<class X >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (X _x, const Vector3D< value_type > &yzw) noexcept
 
template<class Z >
constexpr SIV3D_NODISCARD_CXX20 Vector4D (const Vector3D< value_type > &xyz, Z _z) noexcept
 
constexpr value_type elem (size_t index) const noexcept
 
value_typegetPointer () noexcept
 
const value_typegetPointer () const noexcept
 
constexpr Vector4Doperator= (const Vector4D &)=default
 
constexpr Vector4D operator+ () const noexcept
 
constexpr Vector4D operator- () const noexcept
 
constexpr Vector4D operator+ (Vector4D v) const noexcept
 
constexpr Vector4D operator- (Vector4D v) const noexcept
 
constexpr Vector4D operator* (value_type s) const noexcept
 
constexpr Vector4D operator* (Vector4D v) const noexcept
 
constexpr Vector4D operator/ (value_type s) const noexcept
 
constexpr Vector4D operator/ (Vector4D v) const noexcept
 
constexpr Vector4Doperator+= (Vector4D v) noexcept
 
constexpr Vector4Doperator-= (Vector4D v) noexcept
 
constexpr Vector4Doperator*= (value_type s) noexcept
 
constexpr Vector4Doperator*= (Vector4D v) noexcept
 
constexpr Vector4Doperator/= (value_type s) noexcept
 
constexpr Vector4Doperator/= (Vector4D v) noexcept
 
constexpr bool epsilonEquals (Vector4D other, value_type epsilon) const noexcept
 
constexpr bool hasSameDirection (Vector4D other) const noexcept
 
constexpr bool hasOppositeDirection (Vector4D other) const noexcept
 
constexpr bool isZero () const noexcept
 
bool hasNaN () const noexcept
 
constexpr value_type minComponent () const noexcept
 
constexpr value_type maxComponent () const noexcept
 
constexpr void clear () noexcept
 
constexpr Vector4Dset (const Vector2D< value_type > &xy, const Vector2D< value_type > &zw) noexcept
 
constexpr Vector4Dset (const Vector2D< value_type > &xy, value_type _z, value_type _w) noexcept
 
constexpr Vector4Dset (value_type _x, const Vector2D< value_type > &yz, value_type _w) noexcept
 
constexpr Vector4Dset (value_type _x, value_type _y, const Vector2D< value_type > &zw) noexcept
 
constexpr Vector4Dset (const Vector3D< value_type > &xyz, value_type _w) noexcept
 
constexpr Vector4Dset (value_type _x, const Vector3D< value_type > &yzw) noexcept
 
constexpr Vector4Dset (value_type _x, value_type _y, value_type _z, value_type _w) noexcept
 
constexpr Vector4Dset (Vector4D v) noexcept
 
constexpr Vector4D movedBy (value_type _x, value_type _y, value_type _z, value_type _w) const noexcept
 
constexpr Vector4D movedBy (Vector4D v) const noexcept
 
constexpr Vector4DmoveBy (value_type _x, value_type _y, value_type _z, value_type _w) noexcept
 
constexpr Vector4DmoveBy (Vector4D v) noexcept
 
constexpr value_type dot (Vector4D v) const noexcept
 
value_type length () const noexcept
 
constexpr value_type lengthSq () const noexcept
 
value_type invLength () const noexcept
 
constexpr value_type manhattanLength () const noexcept
 
constexpr value_type manhattanDistanceFrom (value_type _x, value_type _y, value_type _z, value_type _w) const noexcept
 
constexpr value_type manhattanDistanceFrom (Vector4D v) const noexcept
 
value_type distanceFrom (value_type _x, value_type _y, value_type _z, value_type _w) const noexcept
 
value_type distanceFrom (Vector4D v) const noexcept
 
constexpr value_type distanceFromSq (value_type _x, value_type _y, value_type _z, value_type _w) const noexcept
 
constexpr value_type distanceFromSq (Vector4D v) const noexcept
 
Vector4D withLength (value_type _length) const noexcept
 
Vector4DsetLength (value_type _length) noexcept
 
Vector4D limitLength (value_type maxLength) const noexcept
 
Vector4DlimitLengthSelf (value_type maxLength) noexcept
 
Vector4D normalized () const noexcept
 
Vector4Dnormalize () noexcept
 
constexpr Vector4D getMidpoint (Vector4D other) const noexcept
 
constexpr Vector4D lerp (Vector4D other, value_type f) const noexcept
 
size_t hash () const noexcept
 
constexpr Vector2D< value_typexx () const noexcept
 
constexpr Vector2D< value_typexy () const noexcept
 
constexpr Vector2D< value_typexz () const noexcept
 
constexpr Vector2D< value_typexw () const noexcept
 
constexpr Vector2D< value_typeyx () const noexcept
 
constexpr Vector2D< value_typeyy () const noexcept
 
constexpr Vector2D< value_typeyz () const noexcept
 
constexpr Vector2D< value_typeyw () const noexcept
 
constexpr Vector2D< value_typezx () const noexcept
 
constexpr Vector2D< value_typezy () const noexcept
 
constexpr Vector2D< value_typezz () const noexcept
 
constexpr Vector2D< value_typezw () const noexcept
 
constexpr Vector2D< value_typewx () const noexcept
 
constexpr Vector2D< value_typewy () const noexcept
 
constexpr Vector2D< value_typewz () const noexcept
 
constexpr Vector2D< value_typeww () const noexcept
 
constexpr Vector3D< value_typexxx () const noexcept
 
constexpr Vector3D< value_typexyz () const noexcept
 
constexpr Vector3D< value_typeyyy () const noexcept
 
constexpr Vector3D< value_typeyxz () const noexcept
 
constexpr Vector3D< value_typeyzw () const noexcept
 
constexpr Vector3D< value_typezzz () const noexcept
 
constexpr Vector3D< value_typezyx () const noexcept
 
constexpr Vector3D< value_typewww () const noexcept
 
constexpr Vector3D< value_typewzy () const noexcept
 
constexpr Vector4D xyz0 () const noexcept
 
constexpr Vector4D xyz1 () const noexcept
 
constexpr Vector4D xyzw () const noexcept
 
constexpr Vector4D xxxx () const noexcept
 
constexpr Vector4D yyyy () const noexcept
 
constexpr Vector4D zzzz () const noexcept
 
constexpr Vector4D wwww () const noexcept
 
constexpr Vector4D wzyx () const noexcept
 

Static Public Member Functions

static constexpr Vector4D Zero () noexcept
 
static constexpr Vector4D One () noexcept
 
static constexpr Vector4D All (value_type value=1) noexcept
 
static constexpr Vector4D UnitX () noexcept
 
static constexpr Vector4D UnitY () noexcept
 
static constexpr Vector4D UnitZ () noexcept
 
static constexpr Vector4D UnitW () noexcept
 
static void _Formatter (FormatData &formatData, const Vector4D &value)
 

Public Attributes

value_type x
 
value_type y
 
value_type z
 
value_type w
 

Static Public Attributes

static constexpr size_t Dimension = 4
 

Friends

SIV3D_CONCEPT_ARITHMETIC constexpr friend Vector4D operator* (Arithmetic s, const Vector4D &v) noexcept
 
constexpr friend bool operator== (const Vector4D &lhs, const Vector4D &rhs) noexcept
 
constexpr friend bool operator!= (const Vector4D &lhs, const Vector4D &rhs) noexcept
 
template<class CharType >
std::basic_ostream< CharType > & operator<< (std::basic_ostream< CharType > &output, const Vector4D &value)
 
template<class CharType >
std::basic_istream< CharType > & operator>> (std::basic_istream< CharType > &input, Vector4D &value)
 
void Formatter (FormatData &formatData, const Vector4D &value)
 

Detailed Description

template<class Type>
struct s3d::Vector4D< Type >

4 次元のベクトル

Template Parameters
Typeベクトルの要素の型

Member Typedef Documentation

◆ value_type

template<class Type >
using s3d::Vector4D< Type >::value_type = Type

Constructor & Destructor Documentation

◆ Vector4D() [1/11]

template<class Type >
SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( )
default

◆ Vector4D() [2/11]

template<class Type >
SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( const Vector4D< Type > &  )
default

◆ Vector4D() [3/11]

template<class Type >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
)
constexprnoexcept

◆ Vector4D() [4/11]

template<class Type >
template<class X , class Y , class Z , class W >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( _x,
_y,
_z,
_w 
)
constexprnoexcept

◆ Vector4D() [5/11]

template<class Type >
template<class U >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( const Vector4D< U > &  v)
constexprnoexcept

◆ Vector4D() [6/11]

template<class Type >
template<class X , class Y >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( _x,
_y,
const Vector2D< value_type > &  zw 
)
constexprnoexcept

◆ Vector4D() [7/11]

template<class Type >
template<class X , class W >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( _x,
const Vector2D< value_type > &  yz,
_w 
)
constexprnoexcept

◆ Vector4D() [8/11]

template<class Type >
template<class Z , class W >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( const Vector2D< value_type > &  xy,
_z,
_w 
)
constexprnoexcept

◆ Vector4D() [9/11]

template<class Type >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( const Vector2D< value_type > &  xy,
const Vector2D< value_type > &  zw 
)
constexprnoexcept

◆ Vector4D() [10/11]

template<class Type >
template<class X >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( _x,
const Vector3D< value_type > &  yzw 
)
constexprnoexcept

◆ Vector4D() [11/11]

template<class Type >
template<class Z >
constexpr SIV3D_NODISCARD_CXX20 s3d::Vector4D< Type >::Vector4D ( const Vector3D< value_type > &  xyz,
_z 
)
constexprnoexcept

Member Function Documentation

◆ _Formatter()

template<class Type >
static void s3d::Vector4D< Type >::_Formatter ( FormatData formatData,
const Vector4D< Type > &  value 
)
static

◆ All()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::All ( value_type  value = 1)
staticconstexprnoexcept

◆ clear()

template<class Type >
constexpr void s3d::Vector4D< Type >::clear ( )
constexprnoexcept

◆ distanceFrom() [1/2]

template<class Type >
value_type s3d::Vector4D< Type >::distanceFrom ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
) const
noexcept

◆ distanceFrom() [2/2]

template<class Type >
value_type s3d::Vector4D< Type >::distanceFrom ( Vector4D< Type >  v) const
noexcept

◆ distanceFromSq() [1/2]

template<class Type >
constexpr value_type s3d::Vector4D< Type >::distanceFromSq ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
) const
constexprnoexcept

◆ distanceFromSq() [2/2]

template<class Type >
constexpr value_type s3d::Vector4D< Type >::distanceFromSq ( Vector4D< Type >  v) const
constexprnoexcept

◆ dot()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::dot ( Vector4D< Type >  v) const
constexprnoexcept

◆ elem()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::elem ( size_t  index) const
constexprnoexcept

◆ epsilonEquals()

template<class Type >
constexpr bool s3d::Vector4D< Type >::epsilonEquals ( Vector4D< Type >  other,
value_type  epsilon 
) const
constexprnoexcept

◆ getMidpoint()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::getMidpoint ( Vector4D< Type >  other) const
constexprnoexcept

◆ getPointer() [1/2]

template<class Type >
const value_type* s3d::Vector4D< Type >::getPointer ( ) const
noexcept

◆ getPointer() [2/2]

template<class Type >
value_type* s3d::Vector4D< Type >::getPointer ( )
noexcept

◆ hash()

template<class Type >
size_t s3d::Vector4D< Type >::hash ( ) const
noexcept

◆ hasNaN()

template<class Type >
bool s3d::Vector4D< Type >::hasNaN ( ) const
noexcept

◆ hasOppositeDirection()

template<class Type >
constexpr bool s3d::Vector4D< Type >::hasOppositeDirection ( Vector4D< Type >  other) const
constexprnoexcept

◆ hasSameDirection()

template<class Type >
constexpr bool s3d::Vector4D< Type >::hasSameDirection ( Vector4D< Type >  other) const
constexprnoexcept

◆ invLength()

template<class Type >
value_type s3d::Vector4D< Type >::invLength ( ) const
noexcept

◆ isZero()

template<class Type >
constexpr bool s3d::Vector4D< Type >::isZero ( ) const
constexprnoexcept

◆ length()

template<class Type >
value_type s3d::Vector4D< Type >::length ( ) const
noexcept

◆ lengthSq()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::lengthSq ( ) const
constexprnoexcept

◆ lerp()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::lerp ( Vector4D< Type >  other,
value_type  f 
) const
constexprnoexcept

◆ limitLength()

template<class Type >
Vector4D s3d::Vector4D< Type >::limitLength ( value_type  maxLength) const
noexcept

◆ limitLengthSelf()

template<class Type >
Vector4D& s3d::Vector4D< Type >::limitLengthSelf ( value_type  maxLength)
noexcept

◆ manhattanDistanceFrom() [1/2]

template<class Type >
constexpr value_type s3d::Vector4D< Type >::manhattanDistanceFrom ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
) const
constexprnoexcept

◆ manhattanDistanceFrom() [2/2]

template<class Type >
constexpr value_type s3d::Vector4D< Type >::manhattanDistanceFrom ( Vector4D< Type >  v) const
constexprnoexcept

◆ manhattanLength()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::manhattanLength ( ) const
constexprnoexcept

◆ maxComponent()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::maxComponent ( ) const
constexprnoexcept

◆ minComponent()

template<class Type >
constexpr value_type s3d::Vector4D< Type >::minComponent ( ) const
constexprnoexcept

◆ moveBy() [1/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::moveBy ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
)
constexprnoexcept

◆ moveBy() [2/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::moveBy ( Vector4D< Type >  v)
constexprnoexcept

◆ movedBy() [1/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::movedBy ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
) const
constexprnoexcept

◆ movedBy() [2/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::movedBy ( Vector4D< Type >  v) const
constexprnoexcept

◆ normalize()

template<class Type >
Vector4D& s3d::Vector4D< Type >::normalize ( )
noexcept

◆ normalized()

template<class Type >
Vector4D s3d::Vector4D< Type >::normalized ( ) const
noexcept

◆ One()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::One ( )
staticconstexprnoexcept

◆ operator*() [1/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator* ( value_type  s) const
constexprnoexcept

◆ operator*() [2/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator* ( Vector4D< Type >  v) const
constexprnoexcept

◆ operator*=() [1/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator*= ( value_type  s)
constexprnoexcept

◆ operator*=() [2/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator*= ( Vector4D< Type >  v)
constexprnoexcept

◆ operator+() [1/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator+ ( ) const
constexprnoexcept

◆ operator+() [2/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator+ ( Vector4D< Type >  v) const
constexprnoexcept

◆ operator+=()

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator+= ( Vector4D< Type >  v)
constexprnoexcept

◆ operator-() [1/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator- ( ) const
constexprnoexcept

◆ operator-() [2/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator- ( Vector4D< Type >  v) const
constexprnoexcept

◆ operator-=()

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator-= ( Vector4D< Type >  v)
constexprnoexcept

◆ operator/() [1/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator/ ( value_type  s) const
constexprnoexcept

◆ operator/() [2/2]

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::operator/ ( Vector4D< Type >  v) const
constexprnoexcept

◆ operator/=() [1/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator/= ( value_type  s)
constexprnoexcept

◆ operator/=() [2/2]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator/= ( Vector4D< Type >  v)
constexprnoexcept

◆ operator=()

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::operator= ( const Vector4D< Type > &  )
constexprdefault

◆ set() [1/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( const Vector2D< value_type > &  xy,
const Vector2D< value_type > &  zw 
)
constexprnoexcept

◆ set() [2/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( const Vector2D< value_type > &  xy,
value_type  _z,
value_type  _w 
)
constexprnoexcept

◆ set() [3/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( const Vector3D< value_type > &  xyz,
value_type  _w 
)
constexprnoexcept

◆ set() [4/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( value_type  _x,
const Vector2D< value_type > &  yz,
value_type  _w 
)
constexprnoexcept

◆ set() [5/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( value_type  _x,
const Vector3D< value_type > &  yzw 
)
constexprnoexcept

◆ set() [6/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( value_type  _x,
value_type  _y,
const Vector2D< value_type > &  zw 
)
constexprnoexcept

◆ set() [7/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( value_type  _x,
value_type  _y,
value_type  _z,
value_type  _w 
)
constexprnoexcept

◆ set() [8/8]

template<class Type >
constexpr Vector4D& s3d::Vector4D< Type >::set ( Vector4D< Type >  v)
constexprnoexcept

◆ setLength()

template<class Type >
Vector4D& s3d::Vector4D< Type >::setLength ( value_type  _length)
noexcept

◆ UnitW()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::UnitW ( )
staticconstexprnoexcept

◆ UnitX()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::UnitX ( )
staticconstexprnoexcept

◆ UnitY()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::UnitY ( )
staticconstexprnoexcept

◆ UnitZ()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::UnitZ ( )
staticconstexprnoexcept

◆ withLength()

template<class Type >
Vector4D s3d::Vector4D< Type >::withLength ( value_type  _length) const
noexcept

◆ ww()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::ww ( ) const
constexprnoexcept

◆ www()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::www ( ) const
constexprnoexcept

◆ wwww()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::wwww ( ) const
constexprnoexcept

◆ wx()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::wx ( ) const
constexprnoexcept

◆ wy()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::wy ( ) const
constexprnoexcept

◆ wz()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::wz ( ) const
constexprnoexcept

◆ wzy()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::wzy ( ) const
constexprnoexcept

◆ wzyx()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::wzyx ( ) const
constexprnoexcept

◆ xw()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::xw ( ) const
constexprnoexcept

◆ xx()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::xx ( ) const
constexprnoexcept

◆ xxx()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::xxx ( ) const
constexprnoexcept

◆ xxxx()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::xxxx ( ) const
constexprnoexcept

◆ xy()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::xy ( ) const
constexprnoexcept

◆ xyz()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::xyz ( ) const
constexprnoexcept

◆ xyz0()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::xyz0 ( ) const
constexprnoexcept

◆ xyz1()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::xyz1 ( ) const
constexprnoexcept

◆ xyzw()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::xyzw ( ) const
constexprnoexcept

◆ xz()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::xz ( ) const
constexprnoexcept

◆ yw()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::yw ( ) const
constexprnoexcept

◆ yx()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::yx ( ) const
constexprnoexcept

◆ yxz()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::yxz ( ) const
constexprnoexcept

◆ yy()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::yy ( ) const
constexprnoexcept

◆ yyy()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::yyy ( ) const
constexprnoexcept

◆ yyyy()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::yyyy ( ) const
constexprnoexcept

◆ yz()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::yz ( ) const
constexprnoexcept

◆ yzw()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::yzw ( ) const
constexprnoexcept

◆ Zero()

template<class Type >
static constexpr Vector4D s3d::Vector4D< Type >::Zero ( )
staticconstexprnoexcept

◆ zw()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::zw ( ) const
constexprnoexcept

◆ zx()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::zx ( ) const
constexprnoexcept

◆ zy()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::zy ( ) const
constexprnoexcept

◆ zyx()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::zyx ( ) const
constexprnoexcept

◆ zz()

template<class Type >
constexpr Vector2D<value_type> s3d::Vector4D< Type >::zz ( ) const
constexprnoexcept

◆ zzz()

template<class Type >
constexpr Vector3D<value_type> s3d::Vector4D< Type >::zzz ( ) const
constexprnoexcept

◆ zzzz()

template<class Type >
constexpr Vector4D s3d::Vector4D< Type >::zzzz ( ) const
constexprnoexcept

Friends And Related Function Documentation

◆ Formatter

template<class Type >
void Formatter ( FormatData formatData,
const Vector4D< Type > &  value 
)
friend

◆ operator!=

template<class Type >
constexpr friend bool operator!= ( const Vector4D< Type > &  lhs,
const Vector4D< Type > &  rhs 
)
friend

◆ operator*

template<class Type >
SIV3D_CONCEPT_ARITHMETIC constexpr friend Vector4D operator* ( Arithmetic  s,
const Vector4D< Type > &  v 
)
friend

◆ operator<<

template<class Type >
template<class CharType >
std::basic_ostream<CharType>& operator<< ( std::basic_ostream< CharType > &  output,
const Vector4D< Type > &  value 
)
friend

◆ operator==

template<class Type >
constexpr friend bool operator== ( const Vector4D< Type > &  lhs,
const Vector4D< Type > &  rhs 
)
friend

◆ operator>>

template<class Type >
template<class CharType >
std::basic_istream<CharType>& operator>> ( std::basic_istream< CharType > &  input,
Vector4D< Type > &  value 
)
friend

Member Data Documentation

◆ Dimension

template<class Type >
constexpr size_t s3d::Vector4D< Type >::Dimension = 4
staticconstexpr

◆ w

template<class Type >
value_type s3d::Vector4D< Type >::w

◆ x

template<class Type >
value_type s3d::Vector4D< Type >::x

◆ y

template<class Type >
value_type s3d::Vector4D< Type >::y

◆ z

template<class Type >
value_type s3d::Vector4D< Type >::z

The documentation for this struct was generated from the following files: