versor  3.0
C++11 library for Geometric algebra
Static Public Member Functions | List of all members
vsr::cga::Flat Struct Reference

3D operations on Flat types More...

#include <vsr_cga3D_round.h>

Static Public Member Functions

static VSR_PRECISION wt (const DualLine &f, bool bDual=true)
 Weight of DualLine. More...
 
static DualPlane plane (const Point &pnt, const DirectionVector &drv)
 Dual Plane from Point and Direction.
 
static Line line (VSR_PRECISION x, VSR_PRECISION y, VSR_PRECISION z)
 Direct Line at origin with coordinate v ... More...
 
static Circle dline (VSR_PRECISION x, VSR_PRECISION y, VSR_PRECISION z)
 Direct hyperbolic d-Line at origin with coordinate v ... More...
 
static DirectionVector direction (const Line &f)
 Direction of Line. More...
 
static DirectionBivector direction (const Plane &f)
 Direction of Plane. More...
 
template<class A >
static auto dir (const A &s) -> decltype(direction(s))
 direction shorthand More...
 
static Point location (const DualLine &f, const Point &p, bool dual=true)
 Location of DualLine closest to Point p. More...
 
static Point location (const Line &f, const Point &p, bool dual=false)
 Location of Line closest to Point p. More...
 
static Point location (const DualPlane &f, const Point &p, bool dual=true)
 Location of DualPlane closest to Point p. More...
 
static Point location (const Plane &f, const Point &p, bool dual=false)
 Location of Plane closest to Point p. More...
 
template<class A >
static Point loc (const A &a, const Point &p, bool dual)
 Location of flat (shorthand)three-letter version of cga::Flat::location. More...
 

Detailed Description

3D operations on Flat types

See also
Flat for a list of Multivector Types on which these methods operate
vsr::nga::Flat for Generic n-dimensional implementation details

Member Function Documentation

static DirectionVector vsr::cga::Flat::direction ( const Line f)
static

Direction of Line.

Parameters
fLine
Returns
a Direction
static DirectionBivector vsr::cga::Flat::direction ( const Plane f)
static

Direction of Plane.

Parameters
fPlane
Returns
a Direction
static Circle vsr::cga::Flat::dline ( VSR_PRECISION  x,
VSR_PRECISION  y,
VSR_PRECISION  z 
)
static

Direct hyperbolic d-Line at origin with coordinate v ...

static Line vsr::cga::Flat::line ( VSR_PRECISION  x,
VSR_PRECISION  y,
VSR_PRECISION  z 
)
static

Direct Line at origin with coordinate v ...

static Point vsr::cga::Flat::location ( const DualLine f,
const Point p,
bool  dual = true 
)
static

Location of DualLine closest to Point p.

Parameters
fDualLine
pPoint
Returns
Point
See also
nga::Flat::location for the Generic implementation
static Point vsr::cga::Flat::location ( const Line f,
const Point p,
bool  dual = false 
)
static

Location of Line closest to Point p.

Parameters
fLine
pPoint
Returns
conformal point in same metric as f
See also
nga::Flat::location for the Generic implementation
static Point vsr::cga::Flat::location ( const DualPlane f,
const Point p,
bool  dual = true 
)
static

Location of DualPlane closest to Point p.

Parameters
fDualPlane
pPoint
Returns
Point
See also
nga::Flat::location for the Generic implementation
static Point vsr::cga::Flat::location ( const Plane f,
const Point p,
bool  dual = false 
)
static

Location of Plane closest to Point p.

Parameters
fPlane
pPoint
Returns
Point
See also
nga::Flat::location for the Generic implementation
static VSR_PRECISION vsr::cga::Flat::wt ( const DualLine f,
bool  bDual = true 
)
static

Weight of DualLine.

Parameters
fDual or Direct Flat type e.g. vsr::cga::Line or vsr::cga::DualLine
bDualboolean flag for whether first argument is a dual

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