Class Argos::ToFaceResult
ClassList > Argos > ToFaceResult
Stores the result of a bidirectional vertex-to-face or centroid-to-face distance computation. More...
#include <ToFaceResult.h>
Public Functions
| Type | Name |
|---|---|
| ToFaceResult (std::vector< double > & result) |
|
| RangeView< AverageIterator > | average () const Lazy view of (mesh1[i] + mesh2[i]) / 2 . |
| RangeView< Average01Iterator > | average01 () const Lazy view of averages normalised to [0, 1]. |
| RangeView< std::vector< double >::const_iterator > | mesh1 () const View into the mesh1→mesh2 distances. |
| RangeView< std::vector< double >::const_iterator > | mesh2 () const View into the mesh2→mesh1 distances. |
Detailed Description
Contains two parallel distance vectors (one for each direction: mesh1→mesh2 and mesh2→mesh1), plus lazy iterators for the average and the normalised average.
Public Functions Documentation
function ToFaceResult
Parameters:
resultInterleaved distance vector: [d1_0, d2_0, d1_1, d2_1, ...]
function average
Lazy view of (mesh1[i] + mesh2[i]) / 2 .
function average01
Lazy view of averages normalised to [0, 1].
function mesh1
View into the mesh1→mesh2 distances.
function mesh2
View into the mesh2→mesh1 distances.
The documentation for this class was generated from the following file include/structure/ToFaceResult.h