Home
last modified time | relevance | path

Searched refs:ro_point (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/geometry/test/concepts/
Dpoint_concept_checker.cpp19 struct ro_point struct
33 template <> struct tag<ro_point> { typedef point_tag type; }; argument
34 template <> struct coordinate_type<ro_point> { typedef float type; };
35 template <> struct coordinate_system<ro_point> { typedef cs::cartesian type; };
36 template <> struct dimension<ro_point> { enum { value = 2 }; };
38 template <> struct access<ro_point, 0>
40 static float get(ro_point const& p) { return p.x; } in get()
43 template <> struct access<ro_point, 1>
45 static float get(ro_point const& p) { return p.y; } in get()
74 boost::geometry::concepts::check<const ro_point>(); in main()
/third_party/boost/libs/geometry/test/geometries/concepts/
Dcheck.cpp19 struct ro_point struct
33 template <> struct tag<ro_point> { typedef point_tag type; }; argument
34 template <> struct coordinate_type<ro_point> { typedef float type; };
35 template <> struct coordinate_system<ro_point> { typedef bg::cs::cartesian type; };
36 template <> struct dimension<ro_point> { enum { value = 2 }; };
38 template <> struct access<ro_point, 0>
40 static float get(ro_point const& p) { return p.x; } in get()
43 template <> struct access<ro_point, 1>
45 static float get(ro_point const& p) { return p.y; } in get()
74 bg::concepts::check<const ro_point>(); in main()