Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::Rect< N, T > Struct Template Reference

#include <point.h>

Inheritance diagram for Realm::Rect< N, T >:

Public Member Functions

typedef ONLY_IF_INTEGRAL (T) value_type
 
REALM_CUDA_HD Rect (void)
 
REALM_CUDA_HD Rect (const Point< N, T > &_lo, const Point< N, T > &_hi)
 
template<typename T2 >
REALM_CUDA_HD Rect (const Rect< N, T2 > &copy_from)
 
template<typename T2 >
REALM_CUDA_HD Rect< N, T > & operator= (const Rect< N, T2 > &copy_from)
 
REALM_CUDA_HD bool empty (void) const
 
REALM_CUDA_HD size_t volume (void) const
 
REALM_CUDA_HD bool contains (const Point< N, T > &p) const
 
REALM_CUDA_HD bool contains (const Rect< N, T > &other) const
 
REALM_CUDA_HD bool contains (const IndexSpace< N, T > &is) const
 
REALM_CUDA_HD bool overlaps (const Rect< N, T > &other) const
 
REALM_CUDA_HD Rect< N, T > intersection (const Rect< N, T > &other) const
 
REALM_CUDA_HD Rect< N, T > union_bbox (const Rect< N, T > &other) const
 
template<int N2, typename T2 >
Rect< N2, T2 > REALM_CUDA_HD apply_transform (const Matrix< N2, N, T2 > &transform, const Point< N2, T2 > &offset) const
 
Event fill (const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, const void *fill_value, size_t fill_value_size, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const IndexSpace< N, T > &mask, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 

Static Public Member Functions

static REALM_CUDA_HD Rect< N, T > make_empty (void)
 

Public Attributes

Point< N, T > lo
 
Point< N, T > hi
 

Constructor & Destructor Documentation

◆ Rect() [1/3]

template<int N, typename T >
REALM_CUDA_HD Realm::Rect< N, T >::Rect ( void  )

◆ Rect() [2/3]

template<int N, typename T >
REALM_CUDA_HD Realm::Rect< N, T >::Rect ( const Point< N, T > &  _lo,
const Point< N, T > &  _hi 
)

◆ Rect() [3/3]

template<int N, typename T >
template<typename T2 >
REALM_CUDA_HD Realm::Rect< N, T >::Rect ( const Rect< N, T2 > &  copy_from)

Member Function Documentation

◆ apply_transform()

template<int N, typename T >
template<int N2, typename T2 >
Rect< N2, T2 > REALM_CUDA_HD Realm::Rect< N, T >::apply_transform ( const Matrix< N2, N, T2 > &  transform,
const Point< N2, T2 > &  offset 
) const

◆ contains() [1/3]

template<int N, typename T >
REALM_CUDA_HD bool Realm::Rect< N, T >::contains ( const IndexSpace< N, T > &  is) const

◆ contains() [2/3]

template<int N, typename T >
REALM_CUDA_HD bool Realm::Rect< N, T >::contains ( const Point< N, T > &  p) const

◆ contains() [3/3]

template<int N, typename T >
REALM_CUDA_HD bool Realm::Rect< N, T >::contains ( const Rect< N, T > &  other) const

◆ copy() [1/2]

template<int N, typename T >
Event Realm::Rect< N, T >::copy ( const std::vector< CopySrcDstField > &  srcs,
const std::vector< CopySrcDstField > &  dsts,
const IndexSpace< N, T > &  mask,
const ProfilingRequestSet requests,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ copy() [2/2]

template<int N, typename T >
Event Realm::Rect< N, T >::copy ( const std::vector< CopySrcDstField > &  srcs,
const std::vector< CopySrcDstField > &  dsts,
const ProfilingRequestSet requests,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ empty()

template<int N, typename T >
REALM_CUDA_HD bool Realm::Rect< N, T >::empty ( void  ) const

◆ fill()

template<int N, typename T >
Event Realm::Rect< N, T >::fill ( const std::vector< CopySrcDstField > &  dsts,
const ProfilingRequestSet requests,
const void *  fill_value,
size_t  fill_value_size,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ intersection()

template<int N, typename T >
REALM_CUDA_HD Rect< N, T > Realm::Rect< N, T >::intersection ( const Rect< N, T > &  other) const

◆ make_empty()

template<int N, typename T >
static REALM_CUDA_HD Rect< N, T > Realm::Rect< N, T >::make_empty ( void  )
static

◆ ONLY_IF_INTEGRAL()

template<int N, typename T >
typedef Realm::Rect< N, T >::ONLY_IF_INTEGRAL ( )

◆ operator=()

template<int N, typename T >
template<typename T2 >
REALM_CUDA_HD Rect< N, T > & Realm::Rect< N, T >::operator= ( const Rect< N, T2 > &  copy_from)

◆ overlaps()

template<int N, typename T >
REALM_CUDA_HD bool Realm::Rect< N, T >::overlaps ( const Rect< N, T > &  other) const

◆ union_bbox()

template<int N, typename T >
REALM_CUDA_HD Rect< N, T > Realm::Rect< N, T >::union_bbox ( const Rect< N, T > &  other) const

◆ volume()

template<int N, typename T >
REALM_CUDA_HD size_t Realm::Rect< N, T >::volume ( void  ) const

Member Data Documentation

◆ hi

template<int N, typename T >
Point<N, T> Realm::Rect< N, T >::hi

◆ lo

template<int N, typename T >
Point<N, T> Realm::Rect< N, T >::lo

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