OpenCPN Partial API docs
Loading...
Searching...
No Matches
OCPNRegionIterator Class Reference

An iterator class for OCPNRegion. More...

#include <ocpn_region.h>

Public Member Functions

 OCPNRegionIterator (const OCPNRegion &region)
 
void Reset ()
 
void Reset (const OCPNRegion &region)
 
bool HaveRects () const
 
void NextRect (void)
 
wxRect GetRect () const
 

Detailed Description

An iterator class for OCPNRegion.

Provides methods to iterate over the rectangles that make up an OCPNRegion.

Definition at line 137 of file ocpn_region.h.

Constructor & Destructor Documentation

◆ OCPNRegionIterator()

OCPNRegionIterator::OCPNRegionIterator ( const OCPNRegion region)

Definition at line 694 of file ocpn_region.cpp.

◆ ~OCPNRegionIterator()

OCPNRegionIterator::~OCPNRegionIterator ( )
virtual

Definition at line 698 of file ocpn_region.cpp.

Member Function Documentation

◆ GetRect()

wxRect OCPNRegionIterator::GetRect ( ) const

Definition at line 706 of file ocpn_region.cpp.

◆ HaveRects()

bool OCPNRegionIterator::HaveRects ( ) const

Definition at line 708 of file ocpn_region.cpp.

◆ NextRect()

void OCPNRegionIterator::NextRect ( void  )

Definition at line 710 of file ocpn_region.cpp.

◆ Reset() [1/2]

void OCPNRegionIterator::Reset ( )

Definition at line 700 of file ocpn_region.cpp.

◆ Reset() [2/2]

void OCPNRegionIterator::Reset ( const OCPNRegion region)

Definition at line 702 of file ocpn_region.cpp.


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