mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
[doc] Fix legacy types adaptation example.
This commit is contained in:
parent
14d9d32d04
commit
9af86d366b
@ -122,7 +122,7 @@ That's it! The methods of __boost_geometry__ can now be used directly on instanc
|
|||||||
{ typedef point_tag type; };
|
{ typedef point_tag type; };
|
||||||
|
|
||||||
template<> struct coordinate_type<QPoint>
|
template<> struct coordinate_type<QPoint>
|
||||||
{ typedef QPoint::double type; };
|
{ typedef double type; };
|
||||||
|
|
||||||
template<> struct coordinate_system<QPoint>
|
template<> struct coordinate_system<QPoint>
|
||||||
{ typedef cs::cartesian type; };
|
{ typedef cs::cartesian type; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user