playrho::d2::Simplex::Cache Struct Reference

Simplex cache. More...

#include <Simplex.hpp>

Public Attributes

Real metric = GetInvalid<Real>()
 Metric. More...
 
IndexPair3 indices = InvalidIndexPair3
 Indices. More...
 

Detailed Description

Simplex cache.

Used to warm start Distance. Caches particular information from a simplex: a related metric and up-to 3 index pairs.

Note
This data structure is 12-bytes large.

Definition at line 81 of file Simplex.hpp.

Member Data Documentation

◆ metric

Real playrho::d2::Simplex::Cache::metric = GetInvalid<Real>()

Metric.

Metric based on a length or area value of edges.

Definition at line 85 of file Simplex.hpp.

◆ indices

IndexPair3 playrho::d2::Simplex::Cache::indices = InvalidIndexPair3

Indices.

Collection of index-pairs.

Definition at line 89 of file Simplex.hpp.


The documentation for this struct was generated from the following file: