CorePlotting::Interaction::PolygonVertexHandle
CorePlotting::Interaction::PolygonVertexHandle
Which vertex of a polygon is being dragged (for modification).
#include <PolygonInteractionController.hpp>
Public Functions
| Name | |
|---|---|
| bool | isValid() const Check if a vertex is being dragged. |
| std::size_t | index() const Get the vertex index (assumes isValid() is true). |
Public Attributes
| Name | |
|---|---|
| std::optional< std::size_t > | vertex_index Index of the vertex being dragged (std::nullopt if none). |
Public Functions Documentation
function isValid
inline bool isValid() constCheck if a vertex is being dragged.
function index
inline std::size_t index() constGet the vertex index (assumes isValid() is true).
Public Attributes Documentation
variable vertex_index
std::optional< std::size_t > vertex_index {std::nullopt};Index of the vertex being dragged (std::nullopt if none).
Updated on 2026-11-13 at 20:25:42 +0000