Skip to main content

CorePlotting::TransformingLineView

CorePlotting::TransformingLineView

Line view that applies a transformation function lazily. More…

#include <MappedLineView.hpp>

Public Functions

Name
TransformingLineView(EntityId id, SourceIter begin, SourceIter end, Transform transform)
auto vertices() const
Get a transforming view over the vertices.

Public Attributes

Name
EntityId entity_id

Detailed Description

template <std::input_iterator SourceIter,
typename Transform >
class CorePlotting::TransformingLineView;

Line view that applies a transformation function lazily.

Template Parameters:

  • SourceIter Iterator type for source data
  • Transform Transform function type: SourceValue -> MappedVertex

Enables zero-copy coordinate transformation by wrapping an iterator range and applying a transform function on dereference.

Public Functions Documentation

function TransformingLineView

inline TransformingLineView(
    EntityId id,
    SourceIter begin,
    SourceIter end,
    Transform transform
)

function vertices

inline auto vertices() const

Get a transforming view over the vertices.

Public Attributes Documentation

variable entity_id

EntityId entity_id;

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