Skip to main content

CorePlotting::MappedVertex

CorePlotting::MappedVertex

Single vertex in a polyline (analog series, line data). More…

#include <MappedElement.hpp>

Public Functions

Name
MappedVertex() =default
MappedVertex(float x_, float y_)
glm::vec2 position() const
Convert to glm::vec2 for direct use with rendering.

Public Attributes

Name
float x
X position in world space.
float y
Y position in world space.

Detailed Description

struct CorePlotting::MappedVertex;

Single vertex in a polyline (analog series, line data).

Yields world-space coordinates for line rendering. Note: EntityId is typically per-line, not per-vertex, so it’s tracked at the MappedLineView level rather than per-vertex.

Public Functions Documentation

function MappedVertex

MappedVertex() =default

function MappedVertex

inline MappedVertex(
    float x_,
    float y_
)

function position

inline glm::vec2 position() const

Convert to glm::vec2 for direct use with rendering.

Public Attributes Documentation

variable x

float x;

X position in world space.

variable y

float y;

Y position in world space.


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