NeighborStorage< STORAGEINDEX > Struct Template Reference

#include <generic_components.h>

Public Types

using NeighborStorageType = NeighborStorage< STORAGEINDEX >
 

Public Member Functions

Result< void > Init (const Block< const SimplePolygon > &polygons, STORAGEINDEX pointCount)
 
Int32 GetNeighbor (STORAGEINDEX a, STORAGEINDEX b, STORAGEINDEX mypoly, Int32 &side, const Block< const SimplePolygon > &polygons) const
 
MAXON_ATTRIBUTE_FORCE_INLINE const Block< const Int32GetPolygonList (STORAGEINDEX pointIndex) const
 
void Flush ()
 

Public Attributes

BaseArray< STORAGEINDEX > polygonCountPerPoint
 
BaseArray< STORAGEINDEX > offsetInPolygonListPerPoint
 
BaseArray< STORAGEINDEX > polygonList
 

Member Typedef Documentation

◆ NeighborStorageType

using NeighborStorageType = NeighborStorage<STORAGEINDEX>

Member Function Documentation

◆ Init()

Result<void> Init ( const Block< const SimplePolygon > &  polygons,
STORAGEINDEX  pointCount 
)

◆ GetNeighbor()

Int32 GetNeighbor ( STORAGEINDEX  a,
STORAGEINDEX  b,
STORAGEINDEX  mypoly,
Int32 side,
const Block< const SimplePolygon > &  polygons 
) const

◆ GetPolygonList()

MAXON_ATTRIBUTE_FORCE_INLINE const Block<const Int32> GetPolygonList ( STORAGEINDEX  pointIndex) const

◆ Flush()

void Flush ( )

Member Data Documentation

◆ polygonCountPerPoint

BaseArray<STORAGEINDEX> polygonCountPerPoint

◆ offsetInPolygonListPerPoint

BaseArray<STORAGEINDEX> offsetInPolygonListPerPoint

◆ polygonList

BaseArray<STORAGEINDEX> polygonList