emlabcpp
modern opinionated embedded C++ library
triangle.h File Reference
+ Include dependency graph for triangle.h:

Go to the source code of this file.

Namespaces

 emlabcpp
 MIT License.
 

Typedefs

template<std::size_t N>
using emlabcpp::triangle = simplex< point< N >, 2 >
 

Functions

point< 3 > emlabcpp::get_triangle_sphere_center (triangle< 3 > const &tri)
 
constexpr vector< 3 > emlabcpp::normal_of (triangle< 3 > const &tri)
 
constexpr triangle< 3 > emlabcpp::transform (triangle< 3 > const &t, pose const &transformation)
 
template<std::size_t N>
constexpr triangle< N > emlabcpp::scale (triangle< N > const &t, point< N > const &scales)