PixelLightAPI  .
Public Member Functions | Protected Member Functions | Protected Attributes
PLPhysics::BodyCylinder Class Reference

Abstract PL physics cylinder body. More...

#include <BodyCylinder.h>

Inheritance diagram for PLPhysics::BodyCylinder:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLPHYSICS_API ~BodyCylinder ()
 Destructor.
PLPHYSICS_API float GetRadius () const
 Returns the cylinder radius at the base.
PLPHYSICS_API float GetHeight () const
 Returns the cylinder height along the x local axis from base to top.

Protected Member Functions

PLPHYSICS_API BodyCylinder (World &cWorld, BodyImpl &cBodyImpl, float fRadius, float fHeight)
 Constructor.

Protected Attributes

float m_fRadius
float m_fHeight

Detailed Description

Abstract PL physics cylinder body.


Constructor & Destructor Documentation

virtual PLPHYSICS_API PLPhysics::BodyCylinder::~BodyCylinder ( ) [virtual]

Destructor.

PLPHYSICS_API PLPhysics::BodyCylinder::BodyCylinder ( World cWorld,
BodyImpl &  cBodyImpl,
float  fRadius,
float  fHeight 
) [protected]

Constructor.

Parameters:
[in]cWorldWorld this body is in
[in]cBodyImplReference to the physics API specific body implementation
[in]fRadiusCylinder radius at the base
[in]fHeightCylinder height along the x local axis from base to top

Member Function Documentation

PLPHYSICS_API float PLPhysics::BodyCylinder::GetRadius ( ) const

Returns the cylinder radius at the base.

Returns:
The cylinder radius at the base
PLPHYSICS_API float PLPhysics::BodyCylinder::GetHeight ( ) const

Returns the cylinder height along the x local axis from base to top.

Returns:
The cylinder height along the x local axis from base to top

Member Data Documentation

Cylinder radius at the base

Cylinder height along the x local axis from base to top


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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:21
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported