Blender V4.3
HullAngleIter Struct Reference

Public Attributes

HullAngleStepaxis_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 402 of file convexhull_2d.cc.

Member Data Documentation

◆ axis

HullAngleStep HullAngleIter::axis[2][2]

[X/Y][min/max].

Definition at line 406 of file convexhull_2d.cc.

Referenced by convexhull_2d_angle_iter_init(), and convexhull_aabb_fit_hull_2d().

◆ axis_ordered

HullAngleStep* HullAngleIter::axis_ordered = nullptr

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

Definition at line 404 of file convexhull_2d.cc.

Referenced by convexhull_2d_angle_iter_step(), convexhull_aabb_fit_hull_2d(), and hull_angle_insert_ordered().

◆ points_hull

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

The convex hull being iterated over.

Definition at line 408 of file convexhull_2d.cc.

Referenced by convexhull_2d_angle_iter_init(), and convexhull_2d_angle_iter_step_on_axis().

◆ points_hull_num

int HullAngleIter::points_hull_num

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