Unit CastleConvexHull
Description
Calculating convex hull.
TODO: This is an old and abandoned unit. The ConvexHull utility should just be moved to TVector3SingleList method?
Uses
Overview
Functions and Procedures
Description
Functions and Procedures
function ConvexHull(Points: TVector3SingleList): TIntegerList; |
|
Calculates ConvexHull ignoring Z coordinates of pixels. That is, all Points[*][2] are ignored. Returns newly created array with the indices to Points. If you want to draw an edge of convex hull, you want to iterate over these points like (for each i) Points[Result[i]]).
Points.Count must be >= 1.
|
Generated by PasDoc 0.14.0.
|