Math::Triangle struct reference
[Core module]
Declaration
#include <Goptical/Math/Triangle>
namespace Goptical {
namespace Math {
template <int N> struct Triangle;
};
};
This struct is a member of the Math namespace.
Description
This class is the general purpose N dimensions triangles class.
Class specializations
Name | Description |
---|---|
Triangle<3> | 3d triangle class |
Members
See also the full member list section for this struct.
Type
- typedef [...] put_delegate_t
Functions
- Triangle()
- Triangle(const Vector<N> &a, const Vector<N> &b, const Vector<N> &c)
- Vector<N> get_centroid() const
- const Vector<N> & operator[](int n) const
- Vector<N> & operator[](int n)
Members detail
No documentation available
Create a triangle from 3 points
typedef delegate<void(const Math::Triangle<N>&)> put_delegate_t
No documentation available