Regina 7.4 Calculation Engine
3d.h File Reference

Deals with floating-point 3-dimensional geometry. More...

#include <array>
#include <cmath>
#include <iostream>

Classes

struct  regina::Vector3D< Real >
 Represents a vector in real three-dimensional space. More...
 
struct  regina::Segment3D< Real >
 Represents a line segment in 3-dimensional space, defined by its two endpoints u and v. More...
 
class  regina::Matrix3D< Real >
 Represents a linear transformation in three-dimensional space, as represented by a real 3-by-3 matrix. More...
 
class  regina::Rotation3D< Real >
 Represents a rotation about the origin in real three-dimensional space. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Functions

template<typename Real >
std::ostream & regina::operator<< (std::ostream &out, const Vector3D< Real > &v)
 Writes the given vector to the given output stream.
 
template<typename Real >
std::ostream & regina::operator<< (std::ostream &out, const Segment3D< Real > &s)
 Writes the given line segment to the given output stream.
 
template<typename Real >
std::ostream & regina::operator<< (std::ostream &out, const Matrix3D< Real > &m)
 Writes the given matrix to the given output stream.
 
template<typename Real >
std::ostream & regina::operator<< (std::ostream &out, const Rotation3D< Real > &rot)
 Writes the given rotation to the given output stream.
 

Detailed Description

Deals with floating-point 3-dimensional geometry.