OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::Capsule Class Reference

#include <OgreCapsule.h>

Public Member Functions

 Capsule ()
 
 Capsule (const Segment &, Real)
 
bool intersects (const Capsule &) const
 
bool intersects (const Segment &) const
 
void set (const Vector3 &newOrigin, const Vector3 &newEnd, Real newRadius)
 
void setEndPoint (const Vector3 &newEndpoint)
 
void setOrigin (const Vector3 &newOrigin)
 
void setRadius (Real newRadius)
 

Public Attributes

Real mRadius
 
Segment mSegment
 

Constructor & Destructor Documentation

◆ Capsule() [1/2]

Ogre::Capsule::Capsule ( )

◆ Capsule() [2/2]

Ogre::Capsule::Capsule ( const Segment ,
Real   
)

Member Function Documentation

◆ intersects() [1/2]

bool Ogre::Capsule::intersects ( const Capsule ) const

◆ intersects() [2/2]

bool Ogre::Capsule::intersects ( const Segment ) const

◆ set()

void Ogre::Capsule::set ( const Vector3 newOrigin,
const Vector3 newEnd,
Real  newRadius 
)

◆ setEndPoint()

void Ogre::Capsule::setEndPoint ( const Vector3 newEndpoint)

◆ setOrigin()

void Ogre::Capsule::setOrigin ( const Vector3 newOrigin)

◆ setRadius()

void Ogre::Capsule::setRadius ( Real  newRadius)

Member Data Documentation

◆ mRadius

Real Ogre::Capsule::mRadius

◆ mSegment

Segment Ogre::Capsule::mSegment

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