Unit CastleConvexHull

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Calculating convex hull.

Uses

Overview

Functions and Procedures

function ConvexHull(Points: TVector3SingleList): TIntegerList;

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.13.0 on 2014-10-26 05:15:11