|
Blender V5.0
|
#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 |
Definition at line 58 of file ED_curves.hh.
| bool blender::ed::curves::pen_tool::ClosestElement::is_closer | ( | const float | new_distance_squared, |
| const ElementMode | new_element_mode, | ||
| const float | threshold_distance ) const |
Definition at line 79 of file curves_pen.cc.
References distance_squared, blender::ed::curves::pen_tool::Edge, element_mode, blender::ed::curves::pen_tool::selection_edge_priority_factor, and blender::ed::curves::pen_tool::selection_point_overwrite_edge_distance_factor_sq.
Referenced by blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().
| int blender::ed::curves::pen_tool::ClosestElement::curve_index = -1 |
Definition at line 62 of file ED_curves.hh.
Referenced by blender::ed::curves::pen_tool::close_curve_and_select(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::ed::curves::pen_tool::move_segment(), blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().
| float blender::ed::curves::pen_tool::ClosestElement::distance_squared = std::numeric_limits<float>::max() |
Definition at line 59 of file ED_curves.hh.
Referenced by is_closer(), blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().
| int blender::ed::curves::pen_tool::ClosestElement::drawing_index = -1 |
Definition at line 64 of file ED_curves.hh.
Referenced by blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().
| float blender::ed::curves::pen_tool::ClosestElement::edge_t = -1.0f |
Definition at line 63 of file ED_curves.hh.
Referenced by blender::ed::curves::pen_tool::insert_point_to_curve(), blender::ed::curves::pen_tool::move_segment(), and blender::ed::curves::pen_tool::pen_find_closest_edge_point().
| ElementMode blender::ed::curves::pen_tool::ClosestElement::element_mode |
Definition at line 60 of file ED_curves.hh.
Referenced by blender::ed::curves::pen_tool::close_curve_and_select(), blender::ed::curves::pen_tool::find_closest_element(), is_closer(), blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().
| int blender::ed::curves::pen_tool::ClosestElement::point_index = -1 |
Definition at line 61 of file ED_curves.hh.
Referenced by blender::ed::curves::pen_tool::close_curve_and_select(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::ed::curves::pen_tool::move_segment(), blender::ed::curves::pen_tool::pen_find_closest_edge_point(), blender::ed::curves::pen_tool::pen_find_closest_handle(), and blender::ed::curves::pen_tool::pen_find_closest_point().