Blender V4.5
SubEdge Struct Reference

#include <subpatch.h>

Classes

struct  Equal
 
struct  Hash
 

Public Member Functions

 SubEdge (const int start_vert_index, const int end_vert_index, const int depth)
 
 SubEdge ()=default
 
int get_vert_along_edge (const int n) const
 
bool must_split () const
 

Public Attributes

int start_vert_index
 
int end_vert_index
 
int mid_vert_index = -1
 
int T = 0
 
float length = 0.0f
 
int second_vert_index = -1
 
int depth = 0
 

Detailed Description

Definition at line 22 of file subpatch.h.

Constructor & Destructor Documentation

◆ SubEdge() [1/2]

SubEdge::SubEdge ( const int start_vert_index,
const int end_vert_index,
const int depth )
inline

Definition at line 23 of file subpatch.h.

◆ SubEdge() [2/2]

SubEdge::SubEdge ( )
default

Member Function Documentation

◆ get_vert_along_edge()

int SubEdge::get_vert_along_edge ( const int n) const
inline

Definition at line 49 of file subpatch.h.

References assert, end_vert_index, second_vert_index, and start_vert_index.

Referenced by SubPatch::Edge::get_vert_along_edge().

◆ must_split()

bool SubEdge::must_split ( ) const
inline

Definition at line 63 of file subpatch.h.

References DSPLIT_NON_UNIFORM.

Member Data Documentation

◆ depth

int SubEdge::depth = 0

Definition at line 45 of file subpatch.h.

◆ end_vert_index

◆ length

float SubEdge::length = 0.0f

Definition at line 39 of file subpatch.h.

◆ mid_vert_index

int SubEdge::mid_vert_index = -1

Definition at line 33 of file subpatch.h.

Referenced by SubPatch::Edge::mid_vert_index().

◆ second_vert_index

int SubEdge::second_vert_index = -1

Definition at line 42 of file subpatch.h.

Referenced by get_vert_along_edge().

◆ start_vert_index

◆ T


The documentation for this struct was generated from the following file: