|
ProjGeom 1.0.11
|
Projective line: two dimensional subspace of K^3. More...
#include <pg_line.hpp>


Public Types | |
| using | _Base = pg_object< _K, pg_line< _K >, pg_point< _K > > |
| Value typedef. | |
| using | _Base2 = std::array< _K, 3 > |
Public Types inherited from fun::pg_object< _K, pg_line< _K >, pg_point< _K > > | |
| using | Dual = pg_point< _K > |
| using | value_type = _K |
Public Member Functions | |
| constexpr | pg_line (const _Base2 &a) |
| Construct a new pg object object. | |
| constexpr | pg_line (const _K &x, const _K &y, const _K &z) |
| Construct a new pg_object object. | |
Public Member Functions inherited from fun::pg_object< _K, pg_line< _K >, pg_point< _K > > | |
| constexpr | pg_object (std::array< _K, 3 > coord) |
| constexpr | pg_object (const _K &x, const _K &y, const _K &z) |
| constexpr auto | aux () const -> pg_point< _K > |
| constexpr auto | dot (const pg_point< _K > &other) const -> _K |
| constexpr auto | incident (const pg_point< _K > &other) const -> bool |
Additional Inherited Members | |
Static Public Member Functions inherited from fun::pg_object< _K, pg_line< _K >, pg_point< _K > > | |
| static constexpr auto | parametrize (const _K &lambda_val, const pg_line< _K > &pt_p, const _K &mu_val, const pg_line< _K > &pt_q) -> pg_line< _K > |
Public Attributes inherited from fun::pg_object< _K, pg_line< _K >, pg_point< _K > > | |
| std::array< _K, 3 > | coord |
Projective line: two dimensional subspace of K^3.
| _K | Type of line elements |
| using fun::pg_line< _K >::_Base = pg_object<_K, pg_line<_K>, pg_point<_K> > |
Value typedef.
| using fun::pg_line< _K >::_Base2 = std::array<_K, 3> |
|
inlineexplicitconstexpr |
Construct a new pg object object.
| [in] | a | array of coordinates |
|
inlineconstexpr |
Construct a new pg_object object.
| [in] | x | |
| [in] | y | |
| [in] | z |