21 template <
class Po
int,
class Line>
23 = STD_ALT::equality_comparable<Point>
24 &&
requires(
const Point& pt_p,
const Point& pt_q,
const Line& ln_l) {
25 {
incident(pt_p, ln_l) } -> STD_ALT::convertible_to<bool>;
26 { pt_p * pt_q } -> STD_ALT::convertible_to<Line>;
38 template <
class Po
int,
class Line =
typename Po
int::Dual>
47 template <
class Po
int>
58 template <
class Po
int,
class Line =
typename Po
int::Dual>
61 { pt_p.aux() } -> STD_ALT::convertible_to<Line>;
64 } -> STD_ALT::convertible_to<Point>;
74 template <
class Po
int,
class Line =
typename Po
int::Dual>
83 template <
class Po
int>
94 template <
class Po
int,
class Line>
96 = STD_ALT::equality_comparable<Point>
97 &&
requires(
const Point& pt_p,
const Point& pt_q,
const Line& ln_l,
98 const Value_type<Point>& pt_a) {
99 typename Value_type<Point>;
102 { pt_p * pt_q } -> STD_ALT::convertible_to<Line>;
105 } -> STD_ALT::convertible_to<Value_type<Point>>;
106 { pt_p.aux() } -> STD_ALT::convertible_to<Line>;
109 } -> STD_ALT::convertible_to<Point>;
118 template <
class Po
int,
class Line =
typename Po
int::Dual>
132 template <
class Po
int>
142 template <
class Po
int,
class Line>
145 typename Value_type<Point>;
147 { pt_p[idx] } -> STD_ALT::convertible_to<Value_type<Point>>;
156 template <
class Po
int,
class Line =
typename Po
int::Dual>
165 template <
class Po
int>
Common C++20 concepts: Ring, OrderedRing, Integral, Sequence.
Shorthand Notation of ProjectivePlane.
Definition proj_plane_concepts.h:134
Shorthand Notation of ProjectivePlane.
Definition proj_plane_concepts.h:167
Projective plane Concept (half)
Definition proj_plane_concepts.h:144
Projective plane Concept (full)
Definition proj_plane_concepts.h:158
Shorthand Notation of ProjectivePlane.
Definition proj_plane_concepts.h:85
Projective plane Concept (full)
Definition proj_plane_concepts.h:60
Projective plane Concept (full)
Definition proj_plane_concepts.h:76
Projective plane Concept (half)
Definition proj_plane_concepts.h:96
Shorthand Notation of ProjectivePlane.
Definition proj_plane_concepts.h:49
Projective plane Concept (half)
Definition proj_plane_concepts.h:23
Projective plane Concept (full)
Definition proj_plane_concepts.h:40
Projective plane Concept.
Definition pg_concepts.hpp:46
Definition ck_concepts.hpp:11
constexpr auto incident(const Point &pt_p, const Line &ln_l) -> bool
The code snippet is defining a function named incident that checks if a point pt_p is incident to a l...
Definition proj_plane.hpp:35
constexpr auto parametrize(const Value &lambda_val, const Point &pt_p, const Value &mu_val, const Point &pt_q) -> Point
Homogeneous parametrization of point or line (free function)
Definition pg_common.hpp:185