CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Geometry.hpp File Reference

Go to the source code of this file.

Classes

struct  Math::TAABox< T >
 Axis aligned box represented by minimum and maximum point. More...
 
struct  Math::TLineSegment< T >
 Represents a line segment in three dimensional space defined by a start and an end point. More...
 
struct  Math::TCapsule< T >
 Represents a capsule with a line segment and a radius. More...
 
struct  Math::TPlane< T >
 A plane represented by a normal and a distance. More...
 
struct  Math::TRect< T >
 Represents a rectangle in three dimensional space. More...
 
struct  Math::TSphere< T >
 A sphere represented by a center point and a radius. More...
 
struct  Math::TConvexVolume< T >
 Represents a convex volume defined by planes representing the volume border. More...
 
struct  Math::TRayIntersection< T >
 A structure that describes an intersection with a ray. More...
 
struct  Math::TRay< T >
 A ray in 3D space represented with an origin and direction. More...
 

Namespaces

namespace  Math
 

Typedefs

using Math::AABox = TAABox< double >
 Axis aligned box represented by minimum and maximum point.
 
using Math::AABoxf = TAABox< float >
 Axis aligned box represented by minimum and maximum point.
 
using Math::Capsule = TCapsule< double >
 Represents a capsule with a line segment and a radius.
 
using Math::Capsulef = TCapsule< float >
 Represents a capsule with a line segment and a radius.
 
using Math::ConvexVolume = TConvexVolume< double >
 Represents a convex volume defined by planes representing the volume border.
 
using Math::ConvexVolumef = TConvexVolume< float >
 Represents a convex volume defined by planes representing the volume border.
 
using Math::LineSegment = TLineSegment< double >
 Represents a line segment in three dimensional space defined by a start and an end point.
 
using Math::LineSegmentf = TLineSegment< float >
 Represents a line segment in three dimensional space defined by a start and an end point.
 
using Math::Plane = TPlane< double >
 A plane represented by a normal and a distance.
 
using Math::Planef = TPlane< float >
 A plane represented by a normal and a distance.
 
using Math::Ray = TRay< double >
 A ray in 3D space represented with an origin and direction.
 
using Math::Rayf = TRay< float >
 A ray in 3D space represented with an origin and direction.
 
using Math::RayIntersection = TRayIntersection< double >
 A structure that describes an intersection with a ray.
 
using Math::RayIntersectionf = TRayIntersection< float >
 A structure that describes an intersection with a ray.
 
using Math::Rect = TRect< double >
 Represents a rectangle in three dimensional space.
 
using Math::Rectf = TRect< float >
 Represents a rectangle in three dimensional space.
 
using Math::Sphere = TSphere< double >
 A sphere represented by a center point and a radius.
 
using Math::Spheref = TSphere< float >
 A sphere represented by a center point and a radius.
 

Enumerations

enum class  Math::FrustumPlane {
  Math::Left = 0 , Math::Right = 1 , Math::Top = 2 , Math::Bottom = 3 ,
  Math::Far = 4 , Math::Near = 5
}
 Clip planes that form the camera frustum (visible area). More...
 

Functions

template<typename T >
std::ostream & Math::operator<< (std::ostream &os, const TAABox< T > &box)
 Prints a string representation of the AABox.
 
template std::ostream & Math::operator<< (std::ostream &os, const TAABox< double > &box)
 
template std::ostream & Math::operator<< (std::ostream &os, const TAABox< float > &box)
 
template<typename T >
std::ostream & Math::operator<< (std::ostream &os, const TRay< T > &ray)
 Prints a string representation of the Ray.
 
template std::ostream & Math::operator<< (std::ostream &, const TRay< double > &)
 
template std::ostream & Math::operator<< (std::ostream &, const TRay< float > &)
 
template<typename T >
std::ostream & Math::operator<< (std::ostream &os, const TRayIntersection< T > &intersection)
 Prints a string representation of the RayIntersection.
 
template std::ostream & Math::operator<< (std::ostream &, const TRayIntersection< double > &)
 
template std::ostream & Math::operator<< (std::ostream &, const TRayIntersection< float > &)