Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Block Class Reference

List of all members.


Public Member Functions

 Block (Point *points, int pointsLength)
PointgetPoints ()
int numPoints () const
int longestSideIndex () const
int longestSideLength () const
bool operator< (const Block &rhs) const
void shrink ()

Detailed Description

Definition at line 24 of file MedianCutPalettizer.cpp.


Constructor & Destructor Documentation

Block::Block ( Point points,
int  pointsLength 
)

Definition at line 69 of file MedianCutPalettizer.cpp.


Member Function Documentation

Point * Block::getPoints (  ) 

Definition at line 80 of file MedianCutPalettizer.cpp.

int Block::numPoints (  )  const

Definition at line 85 of file MedianCutPalettizer.cpp.

int Block::longestSideIndex (  )  const

Definition at line 90 of file MedianCutPalettizer.cpp.

int Block::longestSideLength (  )  const

Definition at line 106 of file MedianCutPalettizer.cpp.

bool Block::operator< ( const Block rhs  )  const

Definition at line 112 of file MedianCutPalettizer.cpp.

void Block::shrink (  ) 

Definition at line 117 of file MedianCutPalettizer.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.