OpenMEEG
Loading...
Searching...
No Matches
OpenMEEG::maths::Range Class Reference

#include <range.h>

Public Member Functions

 Range ()
 Range (const size_t s, const size_t e)
size_t start () const
size_t end () const
size_t length () const
bool contains (const size_t ind) const
bool intersect (const Range &r) const
bool operator== (const Range &r) const
bool operator!= (const Range &r) const

Detailed Description

Definition at line 15 of file range.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

OpenMEEG::maths::Range::Range ( )
inline

Definition at line 18 of file range.h.

◆ Range() [2/2]

OpenMEEG::maths::Range::Range ( const size_t s,
const size_t e )
inline

Definition at line 19 of file range.h.

Member Function Documentation

◆ start()

size_t OpenMEEG::maths::Range::start ( ) const
inline

Definition at line 21 of file range.h.

◆ end()

size_t OpenMEEG::maths::Range::end ( ) const
inline

Definition at line 22 of file range.h.

◆ length()

size_t OpenMEEG::maths::Range::length ( ) const
inline

Definition at line 24 of file range.h.

◆ contains()

bool OpenMEEG::maths::Range::contains ( const size_t ind) const
inline

Definition at line 26 of file range.h.

◆ intersect()

bool OpenMEEG::maths::Range::intersect ( const Range & r) const
inline

Definition at line 27 of file range.h.

◆ operator==()

bool OpenMEEG::maths::Range::operator== ( const Range & r) const
inline

Definition at line 29 of file range.h.

◆ operator!=()

bool OpenMEEG::maths::Range::operator!= ( const Range & r) const
inline

Definition at line 30 of file range.h.


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