Blender V5.0
ProfileSpacing Struct Reference

Public Attributes

double * xvals
double * yvals
double * xvals_2
double * yvals_2
int seg_2
float fullness

Detailed Description

The un-transformed 2D storage of profile vertex locations. Also, for non-custom profiles this serves as a cache for the results of the expensive calculation of u parameter values to get even spacing on superellipse for current BevelParams seg and pro_super_r.

Definition at line 170 of file bmesh_bevel.cc.

Member Data Documentation

◆ fullness

float ProfileSpacing::fullness

How far "out" the profile is, used at the start of subdivision.

Definition at line 182 of file bmesh_bevel.cc.

Referenced by adj_vmesh(), and BM_mesh_bevel().

◆ seg_2

int ProfileSpacing::seg_2

The power of two greater than or equal to the number of segments.

Definition at line 180 of file bmesh_bevel.cc.

Referenced by calculate_profile(), get_profile_point(), and set_profile_spacing().

◆ xvals

double* ProfileSpacing::xvals

The profile's seg+1 x values.

Definition at line 172 of file bmesh_bevel.cc.

Referenced by calculate_profile(), find_profile_fullness(), and set_profile_spacing().

◆ xvals_2

double* ProfileSpacing::xvals_2

The profile's seg_2+1 x values, (seg_2 = power of 2 >= seg).

Definition at line 176 of file bmesh_bevel.cc.

Referenced by calculate_profile(), and set_profile_spacing().

◆ yvals

double* ProfileSpacing::yvals

The profile's seg+1 y values.

Definition at line 174 of file bmesh_bevel.cc.

Referenced by calculate_profile(), find_profile_fullness(), and set_profile_spacing().

◆ yvals_2

double* ProfileSpacing::yvals_2

The profile's seg_2+1 y values, (seg_2 = power of 2 >= seg).

Definition at line 178 of file bmesh_bevel.cc.

Referenced by calculate_profile(), and set_profile_spacing().


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