Templated 3D Barycentric derived from VectorSpace. Has 4 components, one of which is redundant.
More...
|
| Barycentric () |
| Construct null. More...
|
|
| Barycentric (const Foam::zero) |
| Construct initialised to zero. More...
|
|
| Barycentric (const Cmpt &va, const Cmpt &vb, const Cmpt &vc, const Cmpt &vd) |
| Construct given four components. More...
|
|
const Cmpt & | a () const |
|
const Cmpt & | b () const |
|
const Cmpt & | c () const |
|
const Cmpt & | d () const |
|
Cmpt & | a () |
|
Cmpt & | b () |
|
Cmpt & | c () |
|
Cmpt & | d () |
|
| VectorSpace () |
| Construct null. More...
|
|
| VectorSpace (const Foam::zero) |
| Construct initialised to zero. More...
|
|
| VectorSpace (Istream &) |
| Construct from Istream. More...
|
|
| VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) |
| Construct as copy of a VectorSpace with the same size. More...
|
|
const Cmpt & | component (const direction) const |
|
Cmpt & | component (const direction) |
|
void | component (Cmpt &, const direction) const |
|
void | replace (const direction, const Cmpt &) |
|
const ConstBlock< SubVector, BStart > | block () const |
|
const VectorSpace< Barycentric< Cmpt >, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
|
const Cmpt & | operator[] (const direction) const |
|
Cmpt & | operator[] (const direction) |
|
void | operator+= (const VectorSpace< Barycentric< Cmpt >, Cmpt, Ncmpts > &) |
|
void | operator-= (const VectorSpace< Barycentric< Cmpt >, Cmpt, Ncmpts > &) |
|
void | operator= (const Foam::zero) |
|
void | operator*= (const scalar) |
|
void | operator/= (const scalar) |
|
template<class Cmpt>
class Foam::Barycentric< Cmpt >
Templated 3D Barycentric derived from VectorSpace. Has 4 components, one of which is redundant.
- Source files
-
Definition at line 50 of file Barycentric.H.
◆ labelType
Equivalent type of labels used for valid component indexing.
Definition at line 57 of file Barycentric.H.
◆ components
Component labeling enumeration.
Definition at line 67 of file Barycentric.H.
◆ Barycentric() [1/3]
◆ Barycentric() [2/3]
◆ Barycentric() [3/3]
Barycentric |
( |
const Cmpt & |
va, |
|
|
const Cmpt & |
vb, |
|
|
const Cmpt & |
vc, |
|
|
const Cmpt & |
vd |
|
) |
| |
|
inline |
Construct given four components.
Definition at line 41 of file BarycentricI.H.
References A, B, C, and D.
◆ a() [1/2]
◆ b() [1/2]
◆ c() [1/2]
◆ d() [1/2]
◆ a() [2/2]
◆ b() [2/2]
◆ c() [2/2]
◆ d() [2/2]
◆ rank
The documentation for this class was generated from the following files: