Skip to main content

Neuralyzer::Transforms::V2::Examples::LineBaseFlipParams

Neuralyzer::Transforms::V2::Examples::LineBaseFlipParams

Parameters for line base flip transform. More…

#include <LineBaseFlip.hpp>

Public Attributes

Name
float reference_x
X coordinate of the reference point.
float reference_y
Y coordinate of the reference point.

Detailed Description

struct Neuralyzer::Transforms::V2::Examples::LineBaseFlipParams;

Parameters for line base flip transform.

This transform flips lines based on the distance of their endpoints to a reference point. If the current base (first point) is farther from the reference than the end (last point), the line is reversed.

Example JSON: ```json

{ “reference_x”: 12.0, “reference_y”: 0.0 }


## Public Attributes Documentation

### variable reference_x

```cpp
float reference_x = 0.0f;

X coordinate of the reference point.

variable reference_y

float reference_y = 0.0f;

Y coordinate of the reference point.


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