All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
geo::IntersectionPointAndOffsets< Point > Struct Template Reference

Data structure for return values of LineClosestPointAndOffsets(). More...

#include <LineClosestPoint.h>

Public Member Functions

 operator std::tuple< Point &, double &, double & > () noexcept
 Helper to assign to std::tie(). More...
 

Public Attributes

Point point
 Intersection point. More...
 
double offset1
 Distance from reference point of first line. More...
 
double offset2
 Distance from reference point of second line. More...
 

Detailed Description

template<typename Point>
struct geo::IntersectionPointAndOffsets< Point >

Data structure for return values of LineClosestPointAndOffsets().

Definition at line 29 of file LineClosestPoint.h.

Member Function Documentation

template<typename Point>
geo::IntersectionPointAndOffsets< Point >::operator std::tuple< Point &, double &, double & > ( )
inlinenoexcept

Helper to assign to std::tie().

Definition at line 36 of file LineClosestPoint.h.

37  { return { point, offset1, offset2 }; }
double offset2
Distance from reference point of second line.
Point point
Intersection point.
double offset1
Distance from reference point of first line.

Member Data Documentation

template<typename Point>
double geo::IntersectionPointAndOffsets< Point >::offset1

Distance from reference point of first line.

Definition at line 32 of file LineClosestPoint.h.

template<typename Point>
double geo::IntersectionPointAndOffsets< Point >::offset2

Distance from reference point of second line.

Definition at line 33 of file LineClosestPoint.h.

template<typename Point>
Point geo::IntersectionPointAndOffsets< Point >::point

Intersection point.

Definition at line 31 of file LineClosestPoint.h.


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