#include <geo_vectors_utils.h>
Public Types | |
using | CoordHelper_t = CoordHelper |
using | Vector_t = typename CoordHelper_t::Vector_t |
using | Scalar_t = typename CoordHelper_t::Scalar_t |
using | Getter_t = typename CoordHelper_t::Getter_t |
using | Setter_t = typename CoordHelper_t::Setter_t |
using | Stored_t = StoredVector |
Public Types inherited from geo::vect::details::BoundCoordGetter< CoordHelper, StoredVector > | |
using | Stored_t = StoredVector |
using | CoordHelper_t = CoordHelper |
using | Vector_t = typename CoordHelper_t::Vector_t |
using | Scalar_t = typename CoordHelper_t::Scalar_t |
using | Getter_t = typename CoordHelper_t::Getter_t |
Public Member Functions | |
BoundCoordManager (Stored_t &v, CoordHelper_t coordManager) | |
Constructor: manage the specified coordinate of specified vector. More... | |
BoundCoordManager (Stored_t &v, Getter_t getter, Setter_t setter) | |
Constructor: manage the specified vector with specified methods. More... | |
BoundCoordManager & | operator= (Scalar_t c) |
Setter: assigns a value to the bound coordinate of specified vector. More... | |
BoundCoordManager & | operator+= (Scalar_t c) |
Increments by the specified amount. More... | |
BoundCoordManager & | operator-= (Scalar_t c) |
Decrements by the specified amount. More... | |
BoundCoordManager & | operator*= (Scalar_t f) |
Multiplies by the specified amount. More... | |
BoundCoordManager & | operator/= (Scalar_t f) |
Divides by the specified amount. More... | |
Public Member Functions inherited from geo::vect::details::BoundCoordGetter< CoordHelper, StoredVector > | |
BoundCoordGetter (Stored_t &v, CoordHelper_t coordManager) | |
Constructor: manage the specified coordinate of specified vector. More... | |
BoundCoordGetter (Stored_t &v, Getter_t getter) | |
Constructor: manage the specified vector with specified methods. More... | |
Scalar_t | get () const |
Returns the value of the bound coordinate. More... | |
Scalar_t | operator() () const |
Returns the value of the bound coordinate. More... | |
operator Scalar_t () const | |
Returns the value of the bound coordinate. More... | |
Private Types | |
using | Base_t = BoundCoordGetter< CoordHelper, StoredVector > |
Additional Inherited Members | |
Protected Member Functions inherited from geo::vect::details::BoundCoordGetter< CoordHelper, StoredVector > | |
CoordHelper_t const & | manager () const |
Stored_t & | vector () const |
Definition at line 352 of file geo_vectors_utils.h.
|
private |
Definition at line 355 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordManager< CoordHelper, StoredVector >::CoordHelper_t = CoordHelper |
Definition at line 360 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordManager< CoordHelper, StoredVector >::Getter_t = typename CoordHelper_t::Getter_t |
Definition at line 363 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordManager< CoordHelper, StoredVector >::Scalar_t = typename CoordHelper_t::Scalar_t |
Definition at line 362 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordManager< CoordHelper, StoredVector >::Setter_t = typename CoordHelper_t::Setter_t |
Definition at line 364 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordGetter< CoordHelper, StoredVector >::Stored_t = StoredVector |
Definition at line 317 of file geo_vectors_utils.h.
using geo::vect::details::BoundCoordManager< CoordHelper, StoredVector >::Vector_t = typename CoordHelper_t::Vector_t |
Definition at line 361 of file geo_vectors_utils.h.
|
inline |
Constructor: manage the specified coordinate of specified vector.
Definition at line 367 of file geo_vectors_utils.h.
|
inline |
Constructor: manage the specified vector with specified methods.
Definition at line 371 of file geo_vectors_utils.h.
|
inline |
Multiplies by the specified amount.
Definition at line 387 of file geo_vectors_utils.h.
|
inline |
Increments by the specified amount.
Definition at line 379 of file geo_vectors_utils.h.
|
inline |
Decrements by the specified amount.
Definition at line 383 of file geo_vectors_utils.h.
|
inline |
Divides by the specified amount.
Definition at line 391 of file geo_vectors_utils.h.
|
inline |
Setter: assigns a value to the bound coordinate of specified vector.
Definition at line 375 of file geo_vectors_utils.h.