Static Public Member Functions | List of all members
geo::vect::details::ConvertToImplDim< Dest, Source, 2U > Struct Template Reference

#include <geo_vectors_utils.h>

Inheritance diagram for geo::vect::details::ConvertToImplDim< Dest, Source, 2U >:
geo::vect::details::ConvertToImplBase< Dest, Source >

Static Public Member Functions

static Dest convert (Source const &v)
 

Detailed Description

template<typename Dest, typename Source>
struct geo::vect::details::ConvertToImplDim< Dest, Source, 2U >

Definition at line 1975 of file geo_vectors_utils.h.

Member Function Documentation

template<typename Dest , typename Source >
static Dest geo::vect::details::ConvertToImplDim< Dest, Source, 2U >::convert ( Source const &  v)
inlinestatic

Definition at line 1978 of file geo_vectors_utils.h.

1979  { return { Xcoord(v)(), Ycoord(v)() }; }
auto Ycoord(Vector &v)
Returns an object to manage the coordinate Y of the vector v.
auto Xcoord(Vector &v)
Returns an object to manage the coordinate X of the vector v.

The documentation for this struct was generated from the following file: