Blender V4.3
GraphISO Class Reference

#include <uvedit_clipboard_graph_iso.hh>

Public Member Functions

 GraphISO (int n)
 
 ~GraphISO ()
 
void add_edge (int v, int w)
 
GraphISOsort_vertices_by_degree () const
 

Public Attributes

int n
 
uint8_t ** adjmat
 
uintlabel
 
uintdegree
 

Detailed Description

Definition at line 19 of file uvedit_clipboard_graph_iso.hh.

Constructor & Destructor Documentation

◆ GraphISO()

GraphISO::GraphISO ( int n)

Definition at line 30 of file uvedit_clipboard_graph_iso.cc.

References adjmat, degree, label, MEM_callocN, MEM_mallocN, and n.

Referenced by sort_vertices_by_degree().

◆ ~GraphISO()

GraphISO::~GraphISO ( )

Definition at line 49 of file uvedit_clipboard_graph_iso.cc.

References adjmat, degree, label, MEM_freeN(), and n.

Member Function Documentation

◆ add_edge()

void GraphISO::add_edge ( int v,
int w )

Definition at line 61 of file uvedit_clipboard_graph_iso.cc.

References adjmat, BLI_assert, v, and w().

◆ sort_vertices_by_degree()

GraphISO * GraphISO::sort_vertices_by_degree ( ) const

Member Data Documentation

◆ adjmat

◆ degree

uint* GraphISO::degree
mutable

◆ label

◆ n


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