#include <Quad.h>
Static Public Attributes | |
static constexpr sofa::Size | NumberOfNodes = 4 |
static constexpr ElementType | Element_type = ElementType::QUAD |
Public Member Functions | |
Quad ()=delete | |
Static Public Member Functions | |
template<typename Node , typename T = std::decay_t<decltype(*std::begin(std::declval<Node>()))>, typename = std::enable_if_t<std::is_scalar_v<T>>> | |
static constexpr auto | area (const Node &n0, const Node &n1, const Node &n2, const Node &n3) |
Compute the area of a quadrilateral. More... | |
|
staticconstexpr |
|
staticconstexpr |
|
delete |
|
inlinestaticconstexpr |
Compute the area of a quadrilateral.
Node | iterable container |
T | scalar |
n0,n1,n2,n3 | nodes of the quadrilateral |