Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
ink.h File Reference
#include <mingle/edge_bundling.h>
#include <vector>
Include dependency graph for ink.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  point_t
 

Functions

double ink (const std::vector< pedge > &edges, int numEdges, int *pick, double *ink0, point_t *meet1, point_t *meet2, double angle_param, double angle)
 
double ink1 (const pedge &e)
 

Variables

double ink_count
 

Function Documentation

◆ ink()

double ink ( const std::vector< pedge > &  edges,
int  numEdges,
int *  pick,
double *  ink0,
point_t meet1,
point_t meet2,
double  angle_param,
double  angle 
)

Definition at line 226 of file ink.cpp.

References addPoint(), bestInk(), pedge::dim, ink_count, M_PI, pedge::npoints, Origin, project_to_line(), scalePoint(), subPoint(), vector_sort_int(), pedge::wgt, pedge::x, point_t::x, and point_t::y.

Referenced by Agglomerative_Ink_Bundling_establish(), agglomerative_ink_bundling_internal(), and modularity_ink_bundling().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ink1()

double ink1 ( const pedge e)

Definition at line 307 of file ink.cpp.

References pedge::dim, pedge::npoints, and pedge::x.

Referenced by Agglomerative_Ink_Bundling_establish(), Agglomerative_Ink_Bundling_init(), agglomerative_ink_bundling_internal(), and modularity_ink_bundling().

Here is the caller graph for this function:

Variable Documentation

◆ ink_count

double ink_count
extern

Definition at line 20 of file ink.cpp.

Referenced by agglomerative_ink_bundling(), and ink().