Skip to main content

Neuralyzer::Transforms::V2::Examples::LineMinPointDistParams

Neuralyzer::Transforms::V2::Examples::LineMinPointDistParams

Parameters for line-to-point distance calculation. More…

#include <LineMinPointDist.hpp>

Public Attributes

Name
bool use_first_line_only
Whether to use only the first line (true) or all lines (false).
bool return_squared_distance
Whether to return squared distance (faster, no sqrt).

Detailed Description

struct Neuralyzer::Transforms::V2::Examples::LineMinPointDistParams;

Parameters for line-to-point distance calculation.

This transform computes the minimum distance from a set of points to a line.

Example JSON: ```json

{ “use_first_line_only”: true, “return_squared_distance”: false }


## Public Attributes Documentation

### variable use_first_line_only

```cpp
bool use_first_line_only = true;

Whether to use only the first line (true) or all lines (false).

variable return_squared_distance

bool return_squared_distance = false;

Whether to return squared distance (faster, no sqrt).


Updated on 2026-11-13 at 20:25:41 +0000