lefer  0.1.0
A C++ library to draw evenly-spaced and non-overlapping curves in a flow field using the Jobard and Lefer (1997) algorithm.
Public Member Functions | Public Attributes | List of all members
lefer::SeedPointsQueue Class Reference

#include <lefer.hpp>

Public Member Functions

 SeedPointsQueue (int n_steps)
 
bool is_empty ()
 
void insert_coord (double x, double y)
 
void insert_point (Point p)
 

Public Attributes

std::vector< Point_points
 
int _capacity
 
int _space_used
 

Constructor & Destructor Documentation

◆ SeedPointsQueue()

lefer::SeedPointsQueue::SeedPointsQueue ( int  n_steps)

Member Function Documentation

◆ insert_coord()

void lefer::SeedPointsQueue::insert_coord ( double  x,
double  y 
)

◆ insert_point()

void lefer::SeedPointsQueue::insert_point ( Point  p)

◆ is_empty()

bool lefer::SeedPointsQueue::is_empty ( )

Member Data Documentation

◆ _capacity

int lefer::SeedPointsQueue::_capacity

◆ _points

std::vector<Point> lefer::SeedPointsQueue::_points

◆ _space_used

int lefer::SeedPointsQueue::_space_used

The documentation for this class was generated from the following files: