sspt_IntegerRotation Class Reference

Apply rotations of integer multiples of pi/2 to integer XY coordinates. More...

#include <sspt_integerrotation.h>

List of all members.

Public Types

enum  RotationMode { NO_ROTATION, CLOCKWISE_90, COUNTERCLOCKWISE_90, CLOCKWISE_180 }

Public Member Functions

 sspt_IntegerRotation (int xcenter, int ycenter, enum RotationMode rmode)
void rotate (int *xout, int *yout, int xin, int yin)


Detailed Description

Apply rotations of integer multiples of pi/2 to integer XY coordinates.

Member Enumeration Documentation

Enumerator:
NO_ROTATION 
CLOCKWISE_90 
COUNTERCLOCKWISE_90 
CLOCKWISE_180 


Constructor & Destructor Documentation

sspt_IntegerRotation::sspt_IntegerRotation ( int  xcenter,
int  ycenter,
enum RotationMode  rmode 
)


Member Function Documentation

void sspt_IntegerRotation::rotate ( int *  xout,
int *  yout,
int  xin,
int  yin 
)


doxygen