SourceForge.net Logo

Flatland::Terrain Class Reference

#include <shapes.hpp>

Inheritance diagram for Flatland::Terrain:

Flatland::Geometry List of all members.

Detailed Description

Definition at line 56 of file shapes.hpp.

Public Types

typedef VList::const_iterator const_iterator

Public Member Functions

 Terrain (const vec2 &start)
void UpdateBounds ()
void Finalize ()
Shape GetShape () const
bool GetIndexRange (float left, float right, int &lower, int &upper) const
const_iterator begin () const
const_iterator end () const
const vec2front () const
const vec2back () const
void push_back (const vec2 &v)
 add a vertex to the terrain shape.
size_t size () const
bool empty () const
Lineoperator[] (int i)
const Lineoperator[] (int i) const

Private Attributes

vec2 previous
LineStrip lines
SpanMap spans
VList vertices

The documentation for this class was generated from the following files:
Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1