Skip to main content

CorePlotting::HitTestConfig

CorePlotting::HitTestConfig

Configuration for hit testing behavior.

#include <SceneHitTester.hpp>

Public Functions

Name
HitTestConfig defaultConfig()
Default configuration with reasonable values.

Public Attributes

Name
float point_tolerance
Tolerance in world units for point/event proximity.
float edge_tolerance
Tolerance in world units for interval edge detection.
bool prioritize_discrete
Whether to prioritize discrete elements (events) over regions (analog).

Public Functions Documentation

function defaultConfig

static inline HitTestConfig defaultConfig()

Default configuration with reasonable values.

Public Attributes Documentation

variable point_tolerance

float point_tolerance {5.0f};

Tolerance in world units for point/event proximity.

variable edge_tolerance

float edge_tolerance {5.0f};

Tolerance in world units for interval edge detection.

variable prioritize_discrete

bool prioritize_discrete {true};

Whether to prioritize discrete elements (events) over regions (analog).


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