Blender V5.0
SubPatch::Edge Struct Reference

#include <subpatch.h>

Public Member Functions

int start_vert_index () const
int mid_vert_index () const
int end_vert_index () const
int get_vert_along_edge (const int n_relative) const

Public Attributes

SubEdgeedge
bool reversed
bool own_vertex
bool own_edge

Detailed Description

Definition at line 106 of file subpatch.h.

Member Function Documentation

◆ end_vert_index()

int SubPatch::Edge::end_vert_index ( ) const
inline

Definition at line 127 of file subpatch.h.

References edge, and reversed.

◆ get_vert_along_edge()

int SubPatch::Edge::get_vert_along_edge ( const int n_relative) const
inline

Definition at line 132 of file subpatch.h.

References assert, edge, reversed, and T.

◆ mid_vert_index()

int SubPatch::Edge::mid_vert_index ( ) const
inline

Definition at line 123 of file subpatch.h.

References edge.

◆ start_vert_index()

int SubPatch::Edge::start_vert_index ( ) const
inline

Definition at line 119 of file subpatch.h.

References edge, and reversed.

Referenced by EdgeDice::tri_dice().

Member Data Documentation

◆ edge

◆ own_edge

bool SubPatch::Edge::own_edge

Definition at line 115 of file subpatch.h.

Referenced by EdgeDice::quad_set_sides(), and EdgeDice::tri_set_sides().

◆ own_vertex

bool SubPatch::Edge::own_vertex

Definition at line 113 of file subpatch.h.

Referenced by EdgeDice::quad_set_sides(), and EdgeDice::tri_set_sides().

◆ reversed

bool SubPatch::Edge::reversed

Definition at line 110 of file subpatch.h.

Referenced by end_vert_index(), get_vert_along_edge(), and start_vert_index().


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