Blender V5.3
blender::HullAngleIter Struct Reference

Public Attributes

HullAngleStep * axis_ordered = nullptr
HullAngleStep axis [2][2]
const float(* points_hull )[2]
int points_hull_num

Detailed Description

Iterate over all angles of a convex hull (defined by points_hull) in-order.

Definition at line 532 of file convexhull_2d.cc.

Member Data Documentation

◆ axis

HullAngleStep blender::HullAngleIter::axis[2][2]

[X/Y][min/max].

Definition at line 536 of file convexhull_2d.cc.

Referenced by blender::convexhull_2d_angle_iter_init(), and blender::convexhull_aabb_fit_hull_2d().

◆ axis_ordered

HullAngleStep* blender::HullAngleIter::axis_ordered = nullptr

Linked list of up to 4 items (kept in order), * to support walking over angles in order.

Definition at line 534 of file convexhull_2d.cc.

Referenced by blender::convexhull_2d_angle_iter_cross_for_assert(), blender::convexhull_2d_angle_iter_step(), blender::convexhull_aabb_fit_hull_2d(), and blender::hull_angle_insert_ordered().

◆ points_hull

const float(* blender::HullAngleIter::points_hull)[2]

◆ points_hull_num


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