#include <projgeom/pg_object.hpp>
template<ring _K, typename _dual>
pg_object class
Projective object.
| Template parameters | |
|---|---|
| _K | Type of object elements |
| _dual | |
Contents
Public types
- using value_type = _K
- using dual = _dual
Constructors, destructors, conversion operators
Public functions
-
auto operator=(const _
Self&) -> _Self & -> auto deleted -
auto operator=(_
Self&&) noexcept -> _Self & -> auto defaulted - auto is_NaN() const -> bool -> auto constexpr
- Equal to.
- auto dot(const dual& l) const -> _K -> auto constexpr
- the dot product
- auto aux() const -> dual -> auto constexpr
- Generate a new line not incident with p.
Friends
-
auto operator==(const _
Self& lhs, const _ Self& rhs) -> bool -> friend auto constexpr - Equal to.
-
auto operator!=(const _
Self& lhs, const _ Self& rhs) -> bool -> friend auto constexpr - Not equal to.
-
auto operator*(const _
Self& lhs, const _ Self& rhs) -> dual -> friend auto constexpr - Join or meet.
Function documentation
template<ring _K, typename _dual>
friend auto operator==(const _ Self& lhs,
const _ Self& rhs) -> bool constexpr
Equal to.
| Parameters | |
|---|---|
| lhs | |
| rhs in | |
| Returns | true if this object is equivalent to the rhs |
template<ring _K, typename _dual>
friend auto operator!=(const _ Self& lhs,
const _ Self& rhs) -> bool constexpr
Not equal to.
| Parameters | |
|---|---|
| lhs | |
| rhs in | |
| Returns | true if this object is not equivalent to the rhs |