Home
last modified time | relevance | path

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

/third_party/boost/libs/geometry/example/
Dc08_custom_non_std_example.cpp38 class my_polygon class
170 template<> struct range_mutable_iterator<my_polygon>
172 typedef custom_iterator<my_polygon> type;
175 template<> struct range_const_iterator<my_polygon>
177 typedef custom_iterator<my_polygon const> type;
181 template<> struct range_size<my_polygon>
190 inline custom_iterator<my_polygon> range_begin(my_polygon& polygon) in range_begin()
192 return custom_iterator<my_polygon>(polygon); in range_begin()
195 inline custom_iterator<my_polygon const> range_begin(my_polygon const& polygon) in range_begin()
197 return custom_iterator<my_polygon const>(polygon); in range_begin()
[all …]
Dc06_custom_polygon_example.cpp36 struct my_polygon struct
46 my_polygon(std::string const& n = "") : name(n) {} in my_polygon() argument
62 template<> struct tag<my_polygon> { typedef polygon_tag type; };
63 template<> struct ring_const_type<my_polygon> { typedef my_ring const& type; };
64 template<> struct ring_mutable_type<my_polygon> { typedef my_ring& type; };
66 template<> struct interior_const_type<my_polygon>
71 template<> struct interior_mutable_type<my_polygon>
76 template<> struct exterior_ring<my_polygon>
78 static my_ring& get(my_polygon& p) in get()
83 static my_ring const& get(my_polygon const& p) in get()
[all …]