Utilities
Utilities header only library
geom Namespace Reference

Set of structures for geometry and linear algebra. More...

Data Structures

struct  Capsule
 Definition of a 3 dimensional capsule. More...
 
struct  ConicalCapsule
 Definition of a 3 dimensional capsule with different radiuses at each end. More...
 
struct  HalfPlane
 Definition of a 3 dimensional half-plane. More...
 
class  KDop
 Definition of abstract k-DOP bounding volume structure. More...
 
class  KDop13
 k-DOP bounding volume structure with 13 principal axes. More...
 
class  KDop3
 k-DOP bounding volume structure with 3 principal axes. It is essentially AABB. More...
 
class  KDop4
 k-DOP bounding volume structure with 4 principal axes. More...
 
class  KDop7
 k-DOP bounding volume structure with 7 principal axes. More...
 
struct  Line
 Template line in an arbitrary dimension. More...
 
struct  LineSegment
 Template line segment in an arbitrary dimension. More...
 
struct  LineSegment2
 Definition of a line segment in a 2 dimensional space. More...
 
struct  LineSegment3
 Definition of a line segment in a 3 dimensional space. More...
 
struct  Plane
 Definition of a 3 dimensional plane. More...
 
struct  Ray
 Template ray in an arbitrary dimension. More...
 
struct  TAabb
 Template axis aligned bounding box in an arbitrary dimension. More...
 
struct  TRect
 Template rectangle in an arbitrary dimension. More...
 
struct  Triangle2
 Definition of a 2 dimensional triangle. More...
 
struct  Triangle3
 Definition of a 3 dimensional triangle. More...
 
struct  TSphere
 Template spheroid of in an arbitrary dimension. More...
 
struct  TTriangle
 Template triangle in an arbitrary dimension. More...
 

Typedefs

using Line2 = Line< 2 >
 Definition of a line in a 2 dimensional space.
 
using Line3 = Line< 3 >
 Definition of a line in a 3 dimensional space.
 
using Ray2 = Ray< 2 >
 Definition of a ray in a 2 dimensional space.
 
using Ray3 = Ray< 3 >
 Definition of a ray in a 3 dimensional space.
 
using Circle = TSphere< 2, float >
 Definition of a float type circle.
 
using Sphere = TSphere< 3, float >
 Definition of a float type sphere.
 
using Rect = TRect< float >
 Definition of a float type rectangle.
 
using IRect = TRect< int >
 Definition of an integer type rectangle.
 
using URect = TRect< unsigned >
 Definition of an unsigned integer type rectangle.
 
using Aabb2 = TAabb< 2, float >
 Two dimensional axis aligned bounding box.
 
using Aabb3 = TAabb< 3, float >
 Three dimensional axis aligned bounding box.
 

Enumerations

enum  Axis { x, y, z }
 Enumeration for axes of a 3 dimensional space.
 

Detailed Description

Set of structures for geometry and linear algebra.