Blender  V3.3
Public Attributes | List of all members
CurveProfilePoint Struct Reference

#include <DNA_curveprofile_types.h>

Public Attributes

float x
 
float y
 
short flag
 
char h1
 
char h2
 
float h1_loc [2]
 
float h2_loc [2]
 
char _pad [4]
 
struct CurveProfileprofile
 

Detailed Description

Each control point that makes up the profile.

Note
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.

Definition at line 21 of file DNA_curveprofile_types.h.

Member Data Documentation

◆ _pad

char CurveProfilePoint::_pad[4]

Definition at line 32 of file DNA_curveprofile_types.h.

◆ flag

short CurveProfilePoint::flag

◆ h1

char CurveProfilePoint::h1

Flags for both handle's type (eBezTriple_Handle auto, vect, free, and aligned supported).

Definition at line 27 of file DNA_curveprofile_types.h.

Referenced by BKE_curveprofile_insert(), BKE_curveprofile_reverse(), BKE_curveprofile_selected_handle_set(), create_samples(), and ui_do_but_CURVEPROFILE().

◆ h1_loc

float CurveProfilePoint::h1_loc[2]

Handle locations, keep together.

Note
For now the two handle types are set to the same type in RNA.

Definition at line 30 of file DNA_curveprofile_types.h.

Referenced by BKE_curveprofile_reverse(), ui_do_but_CURVEPROFILE(), and ui_draw_but_CURVEPROFILE().

◆ h2

char CurveProfilePoint::h2

◆ h2_loc

float CurveProfilePoint::h2_loc[2]

◆ profile

struct CurveProfile* CurveProfilePoint::profile

Runtime pointer to the point's profile for updating the curve with no direct reference.

Definition at line 34 of file DNA_curveprofile_types.h.

Referenced by BKE_curveprofile_blend_read(), BKE_curveprofile_copy_data(), BKE_curveprofile_insert(), BKE_curveprofile_reset(), BKE_curveprofile_reverse(), and BKE_curveprofile_set_defaults().

◆ x

float CurveProfilePoint::x

◆ y

float CurveProfilePoint::y

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