Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::ClipPlaneList< N > Struct Template Reference

#include <ClipPlanes.h>

Public Member Functions

void resetAll ()
 
void set (U32 index, const Plane< F32 > &plane) noexcept
 
void reset (U32 index)
 
bool operator== (const ClipPlaneList &rhs) const noexcept
 
bool operator!= (const ClipPlaneList &rhs) const
 
const PlaneList< N > & planes () const noexcept
 
const std::array< bool, N > & planeState () const noexcept
 

Private Attributes

PlaneList< N > _planes
 
std::array< bool, N > _planeState = create_array<N, bool>(false)
 

Detailed Description

template<size_t N>
struct Divide::ClipPlaneList< N >

Definition at line 48 of file ClipPlanes.h.

Member Function Documentation

◆ operator!=()

template<size_t N>
bool Divide::ClipPlaneList< N >::operator!= ( const ClipPlaneList< N > &  rhs) const
inline

Definition at line 70 of file ClipPlanes.h.

◆ operator==()

template<size_t N>
bool Divide::ClipPlaneList< N >::operator== ( const ClipPlaneList< N > &  rhs) const
inlinenoexcept

Definition at line 65 of file ClipPlanes.h.

◆ planes()

template<size_t N>
const PlaneList< N > & Divide::ClipPlaneList< N >::planes ( ) const
inlinenoexcept

Definition at line 75 of file ClipPlanes.h.

◆ planeState()

template<size_t N>
const std::array< bool, N > & Divide::ClipPlaneList< N >::planeState ( ) const
inlinenoexcept

Definition at line 76 of file ClipPlanes.h.

◆ reset()

template<size_t N>
void Divide::ClipPlaneList< N >::reset ( U32  index)
inline

Definition at line 60 of file ClipPlanes.h.

◆ resetAll()

template<size_t N>
void Divide::ClipPlaneList< N >::resetAll ( )
inline

Definition at line 49 of file ClipPlanes.h.

◆ set()

template<size_t N>
void Divide::ClipPlaneList< N >::set ( U32  index,
const Plane< F32 > &  plane 
)
inlinenoexcept

Definition at line 53 of file ClipPlanes.h.

Member Data Documentation

◆ _planes

template<size_t N>
PlaneList<N> Divide::ClipPlaneList< N >::_planes
private

Definition at line 79 of file ClipPlanes.h.

◆ _planeState

template<size_t N>
std::array<bool, N> Divide::ClipPlaneList< N >::_planeState = create_array<N, bool>(false)
private

Definition at line 80 of file ClipPlanes.h.


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