OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::InfinitePlane Struct Reference

#include <InfinitePlane.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 InfinitePlane ()=default
 
SIV3D_NODISCARD_CXX20 InfinitePlane (const InfinitePlane &)=default
 
SIV3D_NODISCARD_CXX20 InfinitePlane (const Float3 &point, const Float3 &normal) noexcept
 
SIV3D_NODISCARD_CXX20 InfinitePlane (const Float3 &p0, const Float3 &p1, const Float3 &p2) noexcept
 
SIV3D_NODISCARD_CXX20 InfinitePlane (Float4 _vec) noexcept
 
SIV3D_NODISCARD_CXX20 InfinitePlane (aligned_float4 _vec) noexcept
 
InfinitePlaneoperator= (const InfinitePlane &)=default
 
InfinitePlane &SIV3D_VECTOR_CALL operator= (aligned_float4 other) noexcept
 
InfinitePlane &SIV3D_VECTOR_CALL operator= (SIMD_Float4 other) noexcept
 
SIV3D_VECTOR_CALL operator aligned_float4 () const noexcept
 
Float3 normal () const noexcept
 
Optional< float > intersects (const Ray &ray) const noexcept
 

Public Attributes

SIMD_Float4 value
 

Constructor & Destructor Documentation

◆ InfinitePlane() [1/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( )
default

◆ InfinitePlane() [2/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( const InfinitePlane )
default

◆ InfinitePlane() [3/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( const Float3 point,
const Float3 normal 
)
noexcept

◆ InfinitePlane() [4/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( const Float3 p0,
const Float3 p1,
const Float3 p2 
)
noexcept

◆ InfinitePlane() [5/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( Float4  _vec)
explicitnoexcept

◆ InfinitePlane() [6/6]

SIV3D_NODISCARD_CXX20 s3d::InfinitePlane::InfinitePlane ( aligned_float4  _vec)
noexcept

Member Function Documentation

◆ intersects()

Optional<float> s3d::InfinitePlane::intersects ( const Ray ray) const
noexcept

◆ normal()

Float3 s3d::InfinitePlane::normal ( ) const
noexcept

◆ operator aligned_float4()

SIV3D_VECTOR_CALL s3d::InfinitePlane::operator aligned_float4 ( ) const
noexcept

◆ operator=() [1/3]

InfinitePlane& SIV3D_VECTOR_CALL s3d::InfinitePlane::operator= ( aligned_float4  other)
noexcept

◆ operator=() [2/3]

InfinitePlane& s3d::InfinitePlane::operator= ( const InfinitePlane )
default

◆ operator=() [3/3]

InfinitePlane& SIV3D_VECTOR_CALL s3d::InfinitePlane::operator= ( SIMD_Float4  other)
noexcept

Member Data Documentation

◆ value

SIMD_Float4 s3d::InfinitePlane::value

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