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