OGRE  1.10.11
Object-Oriented Graphics Rendering Engine
Ogre::Segment Class Reference

#include <OgreSegment.h>

Public Member Functions

 Segment ()
 
 Segment (const Vector3 &, const Vector3 &, Real)
 
Real distance (const Segment &otherSegment) const
 
bool intersects (const Capsule &) const
 
void set (const Vector3 &newOrigin, const Vector3 &newEnd)
 
void setEndPoint (const Vector3 &newEndpoint)
 
void setOrigin (const Vector3 &newOrigin)
 
Real squaredDistance (const Segment &otherSegment) const
 

Public Attributes

Vector3 mDirection
 
Real mExtent
 
Vector3 mOrigin
 

Constructor & Destructor Documentation

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

Member Function Documentation

void Ogre::Segment::set ( const Vector3 newOrigin,
const Vector3 newEnd 
)
void Ogre::Segment::setOrigin ( const Vector3 newOrigin)
void Ogre::Segment::setEndPoint ( const Vector3 newEndpoint)
Real Ogre::Segment::distance ( const Segment otherSegment) const
Real Ogre::Segment::squaredDistance ( const Segment otherSegment) const
bool Ogre::Segment::intersects ( const Capsule ) const

Member Data Documentation

Vector3 Ogre::Segment::mOrigin
Vector3 Ogre::Segment::mDirection
Real Ogre::Segment::mExtent

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