MeshLib Documentation
Loading...
Searching...
No Matches
MR::MetricToAStarPenalty Struct Reference

#include <MREdgePathsBuilder.h>

Public Member Functions

float operator() (float metric, VertId v) const
 

Public Attributes

const VertCoords * points = nullptr
 
Vector3f target
 

Detailed Description

the vertices in the queue are ordered by the sum of their metric from a start location and the lower bound of a path till target point (A* heuristic)

Member Function Documentation

◆ operator()()

float MR::MetricToAStarPenalty::operator() ( float metric,
VertId v ) const
inline

Member Data Documentation

◆ points

const VertCoords* MR::MetricToAStarPenalty::points = nullptr

◆ target

Vector3f MR::MetricToAStarPenalty::target

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