A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. This triangle with vertices A, B, and C is which can be accessed using vertex(...)
More...
|
template<class t_angle_type > |
constexpr Angle< t_angle_type > | angle (TriangleLocation location) const |
|
template<class t_angle_type > |
constexpr Angle< t_angle_type > | angle (uint01 triangle_node) const |
|
template<class t_area_type > |
constexpr t_area_type | area () const |
|
template<uint01 t_new_dims, class t_new_type > |
constexpr Triangle< t_new_dims, t_new_type > | as () const |
|
constexpr t_vertex | center () const |
|
constexpr t_vertex | centroid () const |
|
constexpr bool | contains (const t_vertex &vertex_point, t_type epsilon=t_type(0.0001)) const |
|
constexpr bool | contains (const Vector< t_dims - 1, t_type > &p) const |
|
constexpr LineSegment< t_dims, t_type, t_vertex > | edge (TriangleLocation location) const |
| Edges the given location.
|
|
constexpr LineSegment< t_dims, t_type, t_vertex > | edge (uint01 triangle_node_a, uint01 triangle_node_b) const |
|
constexpr TriangleLocation | getIdentityOf (const LineSegment< t_dims, t_type, t_vertex > &line) const |
|
constexpr TriangleLocation | getIdentityOf (const LineSegment< t_dims, t_type, t_vertex > &line, t_type epsilon) const |
|
constexpr TriangleLocation | getIdentityOf (const t_vertex &p) const |
|
constexpr TriangleLocation | getIdentityOf (const t_vertex &p, t_type epsilon) const |
|
constexpr TriangleLocation | getLocation (const LineSegment< t_dims, t_type, t_vertex > &line, t_type epsilon=cast< t_type >(0)) const |
|
constexpr TriangleLocation | getLocation (const t_vertex &p, t_type epsilon=cast< t_type >(0)) const |
|
bool | hasVertex (const t_vertex &point) const |
|
constexpr void | invert () |
|
constexpr const t_vertex & | nextVertexCCW (const t_vertex &point) const |
|
constexpr const t_vertex & | nextVertexCW (const t_vertex &point) const |
|
template<bool is_normalized, class t_normal_type = t_type> |
constexpr Vector< t_dims, t_normal_type > | normal () const |
|
constexpr TriangleLocation | sharesObject (TriangleLocation object_to_check, const Triangle< t_dims, t_type, t_vertex > &tri, t_type epsilon=0) const |
|
constexpr fltp08 | tan (uint01 triangle_node) const |
|
constexpr | Triangle () |
|
constexpr | Triangle (const t_type &a) |
|
constexpr | Triangle (const t_type &a, const t_type &b, const t_type &c) |
|
constexpr | Triangle (const t_vertex &a, const t_vertex &b, const t_vertex &c) |
|
constexpr | Triangle (const t_vertex &vector) |
|
constexpr t_vertex & | vertex (TriangleLocation triangle_node) |
| Vertices the given triangle node.
|
|
constexpr const t_vertex & | vertex (TriangleLocation triangle_node) const |
| Vertices the given triangle node.
|
|
constexpr t_vertex & | vertex (uint01 triangle_node) |
|
constexpr const t_vertex & | vertex (uint01 triangle_node) const |
|
constexpr uint01 | vertexIndex (const t_vertex &p) const |
|
template<class t_new_type > |
constexpr Vector< t_dims, t_new_type > | as () const |
|
template<uint01 t_new_dim, class t_new_type > |
constexpr Vector< t_new_dim, t_new_type > | as () const |
|
template<uint01 t_new_dim, class t_new_type > |
constexpr Vector< t_new_dim, t_new_type > | as (t_new_type extra_fill_value) const |
|
template<LocationValues t_max_min> |
constexpr uint01 | dimensionalIndex () const |
|
template<LocationValues t_max_min> |
constexpr t_type | dimensionalValue () const |
|
template<class t_magnitude_type = t_type> |
constexpr t_magnitude_type | magnitude () const |
|
constexpr t_type | magnitudeSquared () const |
|
template<class t_norm_type = t_type> |
constexpr Vector< t_dims, t_norm_type > | normalized (Vector< t_dims, t_norm_type > value_if_nan=Constant< Vector< t_dims, t_norm_type > >::Invalid) const |
|
template<uint01 tdims = t_dims, typename = typename std::enable_if<tdims == 1>::type> |
constexpr | operator const t_type & () const |
|
template<uint01 tdims = t_dims, typename = typename std::enable_if<tdims == 1>::type> |
constexpr | operator t_type & () |
|
constexpr Vector< t_dims, t_type > | operator- () const |
|
constexpr Vector< t_dims, t_type > & | operator= (const t_type &scaler) |
|
constexpr const t_type & | operator[] (const uint01 dimension_index) const |
|
constexpr t_type & | operator[] (uint01 dimension_index) |
|
constexpr t_type | product () const |
|
constexpr t_type | sum () const |
|
constexpr | Vector () noexcept |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &prefix, typename std::enable_if< tdims >=2, const Vector< t_dims - 1, t_type > & >::type vector) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &prefix_a, const t_type &prefix_b, typename std::enable_if< tdims >=3, const Vector< tdims - 1, t_type > & >::type vector) |
|
constexpr | Vector (const t_type &scaler) noexcept |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, const t_type &v, const t_type &u, const t_type &t, const t_type &s, typename std::enable_if< tdims==9, const t_type & >::type r) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, const t_type &v, typename std::enable_if< tdims==6, const t_type & >::type u) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, typename std::enable_if< tdims==5, const t_type & >::type v) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, const t_type &y, const t_type &z, typename std::enable_if< tdims==4, const t_type & >::type w) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, const t_type &y, const typename std::enable_if< tdims==3, const t_type & >::type z) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const t_type &x, typename std::enable_if< tdims==2, const t_type & >::type y) |
|
constexpr | Vector (const t_type(&vector)[t_dims]) |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const Vector< getMax(tdims - 2, 0), t_type > &vector, const t_type &suffix_a, typename std::enable_if< tdims >=3, const t_type & >::type suffix_b) |
|
template<class t_vec_type > |
constexpr | Vector (const Vector< t_dims, t_vec_type > &vector) noexcept |
|
template<uint01 tdims = t_dims> |
constexpr | Vector (const Vector< tdims - 1, t_type > &vector, typename std::enable_if< tdims >=2, const t_type & >::type suffix) |
|
template<
uint01 t_dims, class t_type, class t_vertex = Vertex<t_dims, t_type>>
class NDEVR::Triangle< t_dims, t_type, t_vertex >
A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. This triangle with vertices A, B, and C is which can be accessed using vertex(...)
Class: Triangle
Author: Tyler Parke
Date: 2017-11-17