Blender V5.3
blender::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 168 of file bmesh_bevel.cc.

Member Data Documentation

◆ fullness

float blender::ProfileSpacing::fullness

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

Definition at line 180 of file bmesh_bevel.cc.

Referenced by blender::adj_vmesh(), and blender::BM_mesh_bevel().

◆ seg_2

int blender::ProfileSpacing::seg_2

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

Definition at line 178 of file bmesh_bevel.cc.

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

◆ xvals

double* blender::ProfileSpacing::xvals

The profile's seg+1 x values.

Definition at line 170 of file bmesh_bevel.cc.

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

◆ xvals_2

double* blender::ProfileSpacing::xvals_2

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

Definition at line 174 of file bmesh_bevel.cc.

Referenced by blender::calculate_profile(), and blender::set_profile_spacing().

◆ yvals

double* blender::ProfileSpacing::yvals

The profile's seg+1 y values.

Definition at line 172 of file bmesh_bevel.cc.

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

◆ yvals_2

double* blender::ProfileSpacing::yvals_2

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

Definition at line 176 of file bmesh_bevel.cc.

Referenced by blender::calculate_profile(), and blender::set_profile_spacing().


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