Blender
V3.3
|
#include <BKE_spline.hh>
Public Attributes | |
int | evaluated_index |
int | next_evaluated_index |
float | factor |
Definition at line 157 of file BKE_spline.hh.
int Spline::LookupResult::evaluated_index |
The index of the evaluated point before the result location. In other words, the index of the edge that the result lies on. If the sampled factor/length is the very end of the spline, this will be the second to last index, if it's the very beginning, this will be 0.
Definition at line 163 of file BKE_spline.hh.
Referenced by blender::nodes::node_geo_curve_trim_cc::trim_bezier_spline(), blender::nodes::node_geo_curve_trim_cc::trim_nurbs_spline(), and blender::nodes::node_geo_curve_trim_cc::trim_poly_spline().
float Spline::LookupResult::factor |
The portion of the way from the evaluated point at evaluated_index to the next point. If the sampled factor/length is the very end of the spline, this will be the 1.0f
Definition at line 174 of file BKE_spline.hh.
Referenced by blender::nodes::node_geo_curve_trim_cc::trim_bezier_spline(), blender::nodes::node_geo_curve_trim_cc::trim_nurbs_spline(), and blender::nodes::node_geo_curve_trim_cc::trim_poly_spline().
int Spline::LookupResult::next_evaluated_index |
The index of the evaluated point after the result location, accounting for wrapping when the spline is cyclic. If the sampled factor/length is the very end of the spline, this will be the last index (evaluated_points_num - 1).
Definition at line 169 of file BKE_spline.hh.
Referenced by blender::nodes::node_geo_curve_trim_cc::trim_nurbs_spline(), and blender::nodes::node_geo_curve_trim_cc::trim_poly_spline().