Math::VectorPair struct reference
[Core module]
Declaration
#include <Goptical/Math/VectorPair>
namespace Goptical {
namespace Math {
template <int N> struct VectorPair;
};
};
This struct is a member of the Math namespace.
Description
This class hold two N dimensions vectors.
Class specializations
Name | Description |
---|---|
VectorPair<2> | Vector pair class |
VectorPair<3> | Vector pair class |
Members
See also the full member list section for this struct.
Functions
- VectorPair()
- VectorPair(const VectorPairBase<N> &vp)
- VectorPair(const Vector<N> &a, const Vector<N> &b)
- Vector<N> & direction()
- const Vector<N> & direction() const
- Vector<N> ln_pt_clst_pt(const Vector<N> &point) const
- double ln_pt_clst_pt_scale(const Vector<N> &point) const
- Vector<N> & normal()
- const Vector<N> & normal() const
- VectorPairBase<N> operator*(double factor)
- const VectorPairBase<N> & operator+=(const VectorPairBase<N> &p)
- const Vector<N> & operator[](int n) const
- Vector<N> & operator[](int n)
- Vector<N> & origin()
- const Vector<N> & origin() const
- Vector<N> seg_pt_clst_pt(const Vector<N> &point) const
- double seg_pt_clst_pt_scale(const Vector<N> &point) const
Members detail
No documentation available
No documentation available
No documentation available