|
ProjGeom 1.0.11
|
Generic projective geometry object (value-type templated) More...
#include <pg_object.hpp>
Public Types | |
| using | Dual = DualType |
| using | value_type = _K |
Public Member Functions | |
| constexpr | pg_object (std::array< _K, 3 > coord) |
| constexpr | pg_object (const _K &x, const _K &y, const _K &z) |
| constexpr auto | aux () const -> DualType |
| constexpr auto | dot (const DualType &other) const -> _K |
| constexpr auto | incident (const DualType &other) const -> bool |
Static Public Member Functions | |
| static constexpr auto | parametrize (const _K &lambda_val, const Self &pt_p, const _K &mu_val, const Self &pt_q) -> Self |
Public Attributes | |
| std::array< _K, 3 > | coord |
Friends | |
| constexpr auto | operator== (const Self &lhs, const Self &rhs) -> bool |
| constexpr auto | operator!= (const Self &lhs, const Self &rhs) -> bool |
| constexpr auto | operator* (const Self &lhs, const Self &rhs) -> DualType |
Generic projective geometry object (value-type templated)
Base for pg_point and pg_line. Provides meet/join via operator*, dot product, incidence check, and parametrization.
| using fun::pg_object< _K, Self, DualType >::Dual = DualType |
| using fun::pg_object< _K, Self, DualType >::value_type = _K |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
friend |
|
friend |
|
friend |
| std::array<_K, 3> fun::pg_object< _K, Self, DualType >::coord |