Open Search
    PolygonToTessellationMap Class Reference

    #include <generic_components.h>

    Detailed Description

    A data structire to map complex polygons to tessellation polygons.

    Public Member Functions

     PolygonToTessellationMap ()=default
     
    Result< void > Resize (Int polygonCount, Int tessellationCount)
     

    Public Attributes

    BaseArray< Int32_counts
     
    BaseArray< Int32_indices
     

    Constructor & Destructor Documentation

    ◆ PolygonToTessellationMap()

    Member Function Documentation

    ◆ Resize()

    Result<void> Resize ( Int  polygonCount,
    Int  tessellationCount 
    )

    Member Data Documentation

    ◆ _counts

    BaseArray<Int32> _counts

    For each user polygon, store the tessellation polygon count.

    ◆ _indices

    BaseArray<Int32> _indices

    For each tessellation index store the corresponding user polygon index.