OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::Segment Class Reference

#include <OgreSegment.h>

+ Collaboration diagram for Ogre::Segment:

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
 

Detailed Description

Definition at line 46 of file OgreSegment.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

Vector3 Ogre::Segment::mDirection

Definition at line 76 of file OgreSegment.h.

Real Ogre::Segment::mExtent

Definition at line 77 of file OgreSegment.h.

Vector3 Ogre::Segment::mOrigin

Definition at line 75 of file OgreSegment.h.


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