39 #ifndef Foam_Barycentric2D_H 40 #define Foam_Barycentric2D_H 89 inline Barycentric2D(
const Cmpt& va,
const Cmpt& vb,
const Cmpt& vc);
126 struct is_contiguous_label<Barycentric2D<Cmpt>> : is_contiguous_label<Cmpt> {};
130 struct is_contiguous_scalar<Barycentric2D<Cmpt>> : is_contiguous_scalar<Cmpt>{};
Graphite solid properties.
const Cmpt & b() const noexcept
bool outside() const
True if any coordinate is negative.
const Cmpt & a() const noexcept
Cmpt inner(const Barycentric2D< Cmpt > &b2) const
Scalar-product of this with another Barycentric2D.
Templated 2D Barycentric derived from VectorSpace. Has 3 components, one of which is redundant...
components
Component labeling enumeration.
static constexpr direction rank
Rank of Barycentric2D is 1.
const Cmpt & c() const noexcept
Barycentric2D< label > labelType
Equivalent type of labels used for valid component indexing.
A template class to specify that a data type can be considered as being contiguous in memory...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Cmpt v_[Ncmpts]
The components of this vector space.
Barycentric2D()=default
Default construct.