Classes | Macros | Functions
vgl_quadric_3d.h File Reference

A 2nd order algebraic surface in 3-d. More...

#include <list>
#include <string>
#include <iosfwd>
#include <vnl/vnl_math.h>
#include <vgl/vgl_homg_point_3d.h>
#include <vgl/vgl_point_3d.h>

Go to the source code of this file.

Classes

class  vgl_quadric_3d< T >
 

Macros

#define VGL_QUADRIC_3D_INSTANTIATE(T)   extern "please include vgl/vgl_quadric_3d.hxx first"
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, vgl_quadric_3d< T > const &c)
 
template<class T >
std::istream & operator>> (std::istream &s, vgl_quadric_3d< T > &c)
 Read a b c d e f g h i j from stream. More...
 
template<class T , size_t n>
void eigen (T m[n][n], T l[n], T vc[n][n])
 Computes the eigensystem for real symmetric matrices. Used to classify quadrics. More...
 
template<class T , size_t n>
void twst (T m[n][n], T c, T s, int i, int j)
 Auxillary function used by eigen. More...
 

Detailed Description

A 2nd order algebraic surface in 3-d.

Author
J.L. Mundy
Date
June 4, 2017
 Modifications
 none

Definition in file vgl_quadric_3d.h.

Macro Definition Documentation

◆ VGL_QUADRIC_3D_INSTANTIATE

#define VGL_QUADRIC_3D_INSTANTIATE (   T)    extern "please include vgl/vgl_quadric_3d.hxx first"

Definition at line 215 of file vgl_quadric_3d.h.

Function Documentation

◆ eigen()

template<class T , size_t n>
void eigen ( m[n][n],
l[n],
vc[n][n] 
)

Computes the eigensystem for real symmetric matrices. Used to classify quadrics.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
vgl_quadric_3d< T > const &  c 
)

Definition at line 660 of file vgl_quadric_3d.hxx.

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  s,
vgl_quadric_3d< T > &  c 
)

Read a b c d e f g h i j from stream.

Definition at line 668 of file vgl_quadric_3d.hxx.

◆ twst()

template<class T , size_t n>
void twst ( m[n][n],
c,
s,
int  i,
int  j 
)

Auxillary function used by eigen.