ProjGeom 1.0.11
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
fun::pg_line< _K > Struct Template Reference

Projective line: two dimensional subspace of K^3. More...

#include <pg_line.hpp>

Inheritance diagram for fun::pg_line< _K >:
Inheritance graph
[legend]
Collaboration diagram for fun::pg_line< _K >:
Collaboration graph
[legend]

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
 

Detailed Description

template<Ring _K>
struct fun::pg_line< _K >

Projective line: two dimensional subspace of K^3.

Template Parameters
_KType of line elements

Member Typedef Documentation

◆ _Base

template<Ring _K>
using fun::pg_line< _K >::_Base = pg_object<_K, pg_line<_K>, pg_point<_K> >

Value typedef.

◆ _Base2

template<Ring _K>
using fun::pg_line< _K >::_Base2 = std::array<_K, 3>

Constructor & Destructor Documentation

◆ pg_line() [1/2]

template<Ring _K>
constexpr fun::pg_line< _K >::pg_line ( const _Base2 a)
inlineexplicitconstexpr

Construct a new pg object object.

Parameters
[in]aarray of coordinates

◆ pg_line() [2/2]

template<Ring _K>
constexpr fun::pg_line< _K >::pg_line ( const _K &  x,
const _K &  y,
const _K &  z 
)
inlineconstexpr

Construct a new pg_object object.

Parameters
[in]x
[in]y
[in]z

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