CL_Contour Class Reference
[clanDisplay Collision]

Collision detection contour. More...

#include <contour.h>

List of all members.

Public Member Functions

Construction

 CL_Contour ()
 Construct a contour.
 ~CL_Contour ()
Attributes

std::vector< CL_Pointf > & get_points ()
const std::vector< CL_Pointf > & get_points () const
bool is_inside_contour () const
void set_inside_contour (bool is_inside)
 Set inside contour.
std::vector< CL_OutlineCircle > & get_sub_circles ()
const std::vector
< CL_OutlineCircle > & 
get_sub_circles () const
Operators

bool operator== (const CL_Contour &other) const
 Equality operator.
bool operator!= (const CL_Contour &other) const
 Inequality operator.
bool operator< (const CL_Contour &other) const
 Less than operator.
CL_Contour clone ()
 Makes a copy of the contour.

Detailed Description

Collision detection contour.

A outline consists of contours, which hold the actual outline geometry


Constructor & Destructor Documentation

CL_Contour::CL_Contour (  )  [inline]

Construct a contour.

CL_Contour::~CL_Contour (  )  [inline]

Member Function Documentation

CL_Contour CL_Contour::clone (  )  [inline]

Makes a copy of the contour.

std::vector<CL_Pointf>& CL_Contour::get_points (  )  [inline]
const std::vector<CL_Pointf>& CL_Contour::get_points (  )  const [inline]
std::vector<CL_OutlineCircle>& CL_Contour::get_sub_circles (  )  [inline]
const std::vector<CL_OutlineCircle>& CL_Contour::get_sub_circles (  )  const [inline]
bool CL_Contour::is_inside_contour (  )  const [inline]
bool CL_Contour::operator!= ( const CL_Contour other  )  const [inline]

Inequality operator.

bool CL_Contour::operator< ( const CL_Contour other  )  const [inline]

Less than operator.

bool CL_Contour::operator== ( const CL_Contour other  )  const [inline]

Equality operator.

void CL_Contour::set_inside_contour ( bool  is_inside  )  [inline]

Set inside contour.

Parameters:
is_inside = bool

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