MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_at_end()

bool MayaFlux::Kakshya::RegionSegment::is_at_end ( ) const
inline

Check if the current position is at the end of the segment.

Definition at line 227 of file RegionSegment.hpp.

228 {
229 if (current_position.empty() || segment_size.empty())
230 return true;
231
232 return current_position.back() >= segment_size.back();
233 }
std::vector< uint64_t > segment_size
Size in each dimension.
std::vector< uint64_t > current_position
Current position within segment.