This is the documentation for Enlighten.

class Geo ConvexHull

class Geo::ConvexHull

A convex hull of a set of points.

Functions

Name Description
BuildCovarianceMatrix(CovarianceMatrix &)

Build a covariance matrix.

ConvexHull(Geo::s32)

Creates a ConvexHull with the given number of points.

ConvexHull(const ConvexHull &)

Copy-constructor.

GetNumPoints()

Get the number of points.

GetPoint(Geo::s32, float &, float &)

Return a point.

GetPoint(Geo::s32, double &, double &)

Return a point.

SetPoint(Geo::s32, double, double)

Set a point's data.


void Geo::ConvexHull::BuildCovarianceMatrix


public: void BuildCovarianceMatrix
(
    CovarianceMatrix & c
) const


Build a covariance matrix.


Geo::ConvexHull::ConvexHull


public: ConvexHull
(
    Geo::s32 numPoints
)


Creates a ConvexHull with the given number of points.


Geo::ConvexHull::ConvexHull


public: ConvexHull
(
    const ConvexHull & hull
)


Copy-constructor.


Geo::s32 Geo::ConvexHull::GetNumPoints


public: Geo::s32 GetNumPoints() const


Get the number of points.


void Geo::ConvexHull::GetPoint


public: void GetPoint
(
    Geo::s32 i,
    float & u,
    float & v
) const


Return a point.


void Geo::ConvexHull::GetPoint


public: void GetPoint
(
    Geo::s32 i,
    double & u,
    double & v
) const


Return a point.


void Geo::ConvexHull::SetPoint


public: void SetPoint
(
    Geo::s32 i,
    double u,
    double v
)


Set a point's data.