| 
    HDK
    
   | 
 
#include <UT_QuickHull.h>
Public Member Functions | |
| void | reset () | 
| Clear out points.  More... | |
| void | append (const UT_Vector3T< T > &P) | 
| Add a point to the hull.  More... | |
| T | area2D (const UT_Vector3T< T > &N) const | 
| Compute the 2D convex hull area relative to the given plane normal.  More... | |
| void | getQuickHull (UT_ValArray< UT_Vector2T< T > > &points, const UT_Vector3T< T > &N) const | 
| void | getQuickHull (UT_ValArray< UT_Vector2T< T > > &points, const UT_Vector3T< T > &X, const UT_Vector3T< T > &Y) const | 
| T | getMinRectangle (const UT_Vector3T< T > &X, const UT_Vector3T< T > &Y, T &rot) const | 
Static Protected Member Functions | |
| static void | swap2 (UT_Vector2T< T > *list, uint a, uint b) | 
| static void | makeLineEqn (UT_Vector3T< T > &eqn, const UT_Vector2T< T > *list, uint a, uint b) | 
| static uint | quickHullSelect (UT_Vector2T< T > *list, uint a, uint b, uint &cidx) | 
| static T | quickHull (UT_Vector2T< T > *list, uint a, uint b, uint c) | 
| static void | getQuickHullInternal (UT_ValArray< UT_Vector2T< T > > &points, UT_Vector2T< T > *list, uint a, uint b, uint c) | 
| static T | getMinRectInternal (const UT_ValArray< UT_Vector2T< T > > &points, T &rot) | 
Protected Attributes | |
| UT_Array< UT_Vector3T< T > > | myPoints | 
Definition at line 21 of file UT_QuickHull.h.
| void UT_QuickHullT< T >::append | ( | const UT_Vector3T< T > & | P | ) | 
Add a point to the hull.
| T UT_QuickHullT< T >::area2D | ( | const UT_Vector3T< T > & | N | ) | const | 
Compute the 2D convex hull area relative to the given plane normal.
| T UT_QuickHullT< T >::getMinRectangle | ( | const UT_Vector3T< T > & | X, | 
| const UT_Vector3T< T > & | Y, | ||
| T & | rot | ||
| ) | const | 
Return the area and rotation of mininul bounding rectangle of the projection of the points on to the given plane.
      
  | 
  staticprotected | 
| void UT_QuickHullT< T >::getQuickHull | ( | UT_ValArray< UT_Vector2T< T > > & | points, | 
| const UT_Vector3T< T > & | N | ||
| ) | const | 
Return set of points that formed a convex hull based on the given plane defined by the normal
| void UT_QuickHullT< T >::getQuickHull | ( | UT_ValArray< UT_Vector2T< T > > & | points, | 
| const UT_Vector3T< T > & | X, | ||
| const UT_Vector3T< T > & | Y | ||
| ) | const | 
Return set of points that formed a convex hull based on the given plane defined by the two vectors. (X and Y are assumed to be orthogonal)
      
  | 
  staticprotected | 
      
  | 
  inlinestaticprotected | 
Definition at line 81 of file UT_QuickHull.h.
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  inline | 
Clear out points.
Definition at line 26 of file UT_QuickHull.h.
      
  | 
  inlinestaticprotected | 
Definition at line 72 of file UT_QuickHull.h.
      
  | 
  protected | 
Definition at line 62 of file UT_QuickHull.h.