Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Modules
  • Namespaces
    • namespace Enlighten
    • namespace Geo
      • class Geo AbstractRayChunk
      • class Geo AnsiAllocator
      • class Geo AtlasMesh
      • class Geo AtlasMeshChart
      • class Geo AtlasMeshPackingFlags
      • class Geo BasicAllocator
      • class Geo ChartParametiserFailure
      • class Geo ConvexHull
      • class Geo ConvexHullBuilder
      • class Geo CovarianceMatrix
      • class Geo CovarianceMatrixBuilder
      • class Geo EmbreeRtMeshVisitor
      • class Geo Geo2DTransform
      • class Geo GeoAlignedFreeDestructor
      • class Geo GeoAllocationPage
      • class Geo GeoAllocator
      • class Geo GeoAllocatorUnchecked
      • class Geo GeoArray
      • class Geo GeoArray_Stl
      • class Geo GeoAutoArrayPtr
      • class Geo GeoAutoDeleteArray
      • class Geo GeoAutoDeleteList
      • class Geo GeoAutoDeleteMap
      • class Geo GeoAutoPtr
      • class Geo GeoAutoReleaseArray
      • class Geo GeoAutoReleaseMap
      • class Geo GeoAutoReleasePtr
      • class Geo GeoBitArray
      • class Geo GeoBitStore
      • class Geo GeoBlueNoise
      • class Geo GeoBlueNoiseDiskPalette
      • class Geo GeoBlueNoiseRayPalette
      • class Geo GeoBoundingBox
      • class Geo GeoBoundingSphere
      • class Geo GeoBufferedFileStream
      • class Geo GeoBufferedInputStream
      • class Geo GeoCriticalSection
      • class Geo GeoDebugAllocator
      • class Geo GeoDelegateDestructor
      • class Geo GeoDeleteArrayDestructor
      • class Geo GeoDeleteDestructor
      • class Geo GeoDepthCubeMap
      • class Geo GeoEmbreeContext
      • class Geo GeoEqualCString
      • class Geo GeoEvent
      • class Geo GeoFileManager
      • class Geo GeoFileStream
      • class Geo GeoFixedBinarySearchMap
      • class Geo GeoFixedBinarySearchMapCompare
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo ConvexHullBuilder

    This is the documentation for Enlighten.

    class Geo ConvexHullBuilder

    Nov 21, 2019

    class Geo::ConvexHullBuilder

    Builds ConvexHull objects.

    Functions

    Name Description
    AddPoint(double, double)

    Push a point.

    BuildConvexHull()

    Build a convex hull.

    BuildConvexHull(ConvexHull *, Geo::s32 *)

    Build a convex hull.

    Clear()

    Clear the points, ready for a new hull.

    ConvexHullBuilder(Geo::s32)

    Creates a ConvexHullBuilder with the given maximum number of points.

    GetNumPoints()

    Return the number of points.

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

    Return a point.

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

    Return a point.


    void Geo::ConvexHullBuilder::AddPoint


    public: void AddPoint
    (
        double u,
        double v
    )


    Push a point.


    ConvexHull* Geo::ConvexHullBuilder::BuildConvexHull


    public: ConvexHull * BuildConvexHull()


    Build a convex hull.

    Not const because it does internal sorting.


    bool Geo::ConvexHullBuilder::BuildConvexHull


    public: bool BuildConvexHull
    (
        ConvexHull * hull,
        Geo::s32 * numPoints
    )


    Build a convex hull.

    Not const because it does internal sorting. This does the operation in place and returns the actual number of points on the hull. Use this if you are creating many hulls and don't want to allocate new hulls each time.


    void Geo::ConvexHullBuilder::Clear


    public: void Clear()


    Clear the points, ready for a new hull.


    Geo::ConvexHullBuilder::ConvexHullBuilder


    public: ConvexHullBuilder
    (
        Geo::s32 maxPoints
    )


    Creates a ConvexHullBuilder with the given maximum number of points.


    Geo::s32 Geo::ConvexHullBuilder::GetNumPoints


    public: Geo::s32 GetNumPoints() const


    Return the number of points.


    void Geo::ConvexHullBuilder::GetPoint


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


    Return a point.


    void Geo::ConvexHullBuilder::GetPoint


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


    Return a point.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "2e13f0e3b524481d894f1ce518009385"}