maliput_sparse
ClosestPointToSegmentResult< CoordinateT > Struct Template Reference

Detailed Description

template<typename CoordinateT>
struct maliput_sparse::geometry::utility::ClosestPointToSegmentResult< CoordinateT >

Holds the result of GetClosestPointToSegment method.

Template Parameters
CoordinateTThe coordinate type.

#include <include/maliput_sparse/geometry/utility/geometry.h>

Public Attributes

double p
 P coordinate in the line string matching the closest point. More...
 
CoordinateT point
 Closest point. More...
 
double distance
 Distance between the closest point and the given point. More...
 

Member Data Documentation

◆ distance

double distance

Distance between the closest point and the given point.

◆ p

double p

P coordinate in the line string matching the closest point.

◆ point

CoordinateT point

Closest point.


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