MIRA
Public Member Functions | Protected Attributes | List of all members
EdgeCuts Class Reference

#include <geometry/RasterPolygonUtils.h>

Public Member Functions

 EdgeCuts (Point2f start, Point2f end)
 
int getMaxY () const
 
int getNumberOfCutsWithGrid () const
 
bool hasCuts () const
 
float getCurrentCut () const
 
void advanceToNextCut ()
 

Protected Attributes

int mMaxY
 
int mNumberOfCutsWithGrid
 
float mDeltaToNextCut
 
float mCurrentCut
 

Constructor & Destructor Documentation

◆ EdgeCuts()

EdgeCuts ( Point2f  start,
Point2f  end 
)
inline

Member Function Documentation

◆ getMaxY()

int getMaxY ( ) const
inline

◆ getNumberOfCutsWithGrid()

int getNumberOfCutsWithGrid ( ) const
inline

◆ hasCuts()

bool hasCuts ( ) const
inline

◆ getCurrentCut()

float getCurrentCut ( ) const
inline

◆ advanceToNextCut()

void advanceToNextCut ( )
inline

Member Data Documentation

◆ mMaxY

int mMaxY
protected

◆ mNumberOfCutsWithGrid

int mNumberOfCutsWithGrid
protected

◆ mDeltaToNextCut

float mDeltaToNextCut
protected

◆ mCurrentCut

float mCurrentCut
protected

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