xmsinterp  1.0
xms::SNResult Struct Reference

Hold data of transforming from xyz to station,normal space. More...

#include <AnisotropicInterpolator.h>

Public Member Functions

 SNResult (size_t a_index, double a_param, double a_cross, const Pt3d &a_position)
 Construct a station normal result. More...
 

Public Attributes

Pt3d m_position
 intersection of the normal through point in the segment
 
double m_param
 parameter in the range [0..1] within the segment
 
double m_cross
 cross product (>0 if on left of segment; <0 on right)
 
size_t m_index
 index of the segment within the centerline polyline
 

Detailed Description

Hold data of transforming from xyz to station,normal space.

Definition at line 28 of file AnisotropicInterpolator.h.

Constructor & Destructor Documentation

◆ SNResult()

xms::SNResult::SNResult ( size_t  a_index,
double  a_param,
double  a_cross,
const Pt3d a_position 
)
inline

Construct a station normal result.

Parameters
[in]a_indexThe index of the centerline segment contain the station
[in]a_paramThe segment parameter of the intersection
[in]a_crossThe cross product of vector from segment start to end with vector from segment start to point. It will be >0 if the point is to the right of the segment.
[in]a_positionThe intersection point of a normal through the point with the segment

Definition at line 38 of file AnisotropicInterpolator.h.


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