AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
aliceVision::Range Struct Reference

Public Member Functions

CUDA_HOST_DEVICE Range (unsigned int in_begin, unsigned int in_end)
 Range constructor. More...
 
CUDA_HOST_DEVICE unsigned int size () const
 Return true if the given index is contained in the Range. More...
 
CUDA_HOST_DEVICE bool isEmpty () const
 
CUDA_HOST bool contains (unsigned int i) const
 Return true if the given index is contained in the Range. More...
 

Public Attributes

unsigned int begin = 0
 
unsigned int end = 0
 

Constructor & Destructor Documentation

◆ Range()

CUDA_HOST_DEVICE aliceVision::Range::Range ( unsigned int  in_begin,
unsigned int  in_end 
)
inline

Range constructor.

Parameters
[in]in_beginthe range begin index
[in]in_endthe range end index

Member Function Documentation

◆ contains()

CUDA_HOST bool aliceVision::Range::contains ( unsigned int  i) const
inline

Return true if the given index is contained in the Range.

Parameters
[in]ithe given index
Returns
true if the given index point is contained in the Range

◆ size()

CUDA_HOST_DEVICE unsigned int aliceVision::Range::size ( ) const
inline

Return true if the given index is contained in the Range.

Parameters
[in]ithe given index
Returns
true if the given index point is contained in the Range

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