Blender V5.0
blender::ed::curves::pen_tool::ClosestElement Struct Reference

#include <ED_curves.hh>

Public Member Functions

bool is_closer (const float new_distance_squared, const ElementMode new_element_mode, const float threshold_distance) const

Public Attributes

float distance_squared = std::numeric_limits<float>::max()
ElementMode element_mode
int point_index = -1
int curve_index = -1
float edge_t = -1.0f
int drawing_index = -1

Detailed Description

Definition at line 58 of file ED_curves.hh.

Member Function Documentation

◆ is_closer()

Member Data Documentation

◆ curve_index

◆ distance_squared

float blender::ed::curves::pen_tool::ClosestElement::distance_squared = std::numeric_limits<float>::max()

◆ drawing_index

int blender::ed::curves::pen_tool::ClosestElement::drawing_index = -1

◆ edge_t

◆ element_mode

◆ point_index


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