Generic ND Operations On Flat Typese.g.
More...
#include <vsr_generic_op.h>
|
template<class A , class B > |
static constexpr auto | direction (const Multivector< A, B > &f) -> auto |
| Direction of Direct Flat. More...
|
|
template<class A , class B > |
static constexpr auto | dir (const Multivector< A, B > &f) -> auto |
| Direction of Direct Flat. More...
|
|
template<class A > |
static constexpr A::space::Pnt | location (const A &f, const typename A::space::Pnt &p, bool dual) |
| Location of Flat A closest to Point p. More...
|
|
template<class A , class P > |
static constexpr P | loc (const A &f, const P &p, bool dual) |
| Location of Flat A closest to Point p (shorthand) More...
|
|
template<class A > |
static constexpr A::value_t | wt (const A &f, bool bDual) |
| Weight of Flat. More...
|
|
template<class A > |
static constexpr auto | dlp (const GAPnt< A > &pnt, const GADrv< A > &drv) -> auto |
| Dual Plane from Point and Direction.
|
|
template<typename... T> |
static constexpr NLin< sizeof...(T)+2 > | line (T...v) |
| Direct Line at origin with coordinate v ... More...
|
|
template<typename... T> |
static constexpr NCir< sizeof...(T)+2 > | dline (T...v) |
| Direct hyperbolic d-Line at origin with coordinate v ... More...
|
|
Generic ND Operations On Flat Types
e.g.
Line, DualLine, Plane, DualPlane, FlatPoint
template<class A , class B >
static constexpr auto vsr::nga::Flat::dir |
( |
const Multivector< A, B > & |
f | ) |
-> auto |
|
static |
Direction of Direct Flat.
- Parameters
-
Direct | Flat [ Plane (Pln) or Line (Lin) ] |
- Returns
template<class A , class B >
static constexpr auto vsr::nga::Flat::direction |
( |
const Multivector< A, B > & |
f | ) |
-> auto |
|
static |
Direction of Direct Flat.
- Parameters
-
Direct | Flat [ Plane (Pln) or Line (Lin) ] |
- Returns
template<typename... T>
static constexpr NCir<sizeof...(T)+2> vsr::nga::Flat::dline |
( |
T... |
v | ) |
|
|
inlinestatic |
Direct hyperbolic d-Line at origin with coordinate v ...
template<typename... T>
static constexpr NLin<sizeof...(T)+2> vsr::nga::Flat::line |
( |
T... |
v | ) |
|
|
inlinestatic |
Direct Line at origin with coordinate v ...
template<class A , class P >
static constexpr P vsr::nga::Flat::loc |
( |
const A & |
f, |
|
|
const P & |
p, |
|
|
bool |
dual |
|
) |
| |
|
inlinestatic |
Location of Flat A closest to Point p (shorthand)
- Parameters
-
f | Dual or Direct Flat [ DualLine (Dll), Line (Lin), DualPlane (Dlp), or Plane (Pln) ] |
p | a Conformal Point |
dual | Duality Flag |
- Returns
template<class A >
static constexpr A::space::Pnt vsr::nga::Flat::location |
( |
const A & |
f, |
|
|
const typename A::space::Pnt & |
p, |
|
|
bool |
dual |
|
) |
| |
|
inlinestatic |
Location of Flat A closest to Point p.
- Parameters
-
f | Dual or Direct Flat [ DualLine (Dll), Line (Lin), DualPlane (Dlp), or Plane (Pln) ] |
p | a Conformal Point |
dual | Duality Flag |
- Returns
- conformal point in same metric as f
template<class A >
static constexpr A::value_t vsr::nga::Flat::wt |
( |
const A & |
f, |
|
|
bool |
bDual |
|
) |
| |
|
inlinestatic |
Weight of Flat.
- Parameters
-
The documentation for this struct was generated from the following file: