Hermes
hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT > Class Template Reference

Interface used by all basic geometric entities. More...

+ Inheritance diagram for hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT >:

Static Public Member Functions

static constexpr u64 componentCount ()
 Gets the number of dimensional components. More...
 
static constexpr u64 numericTypeSizeInBytes ()
 Gets the size in bytes of underlying data type. More...
 
static MemoryDumper::RegionLayout memoryDumpLayout ()
 Gets memory layout. More...
 

Static Public Attributes

static NUMERIC_TYPE numeric_data
 Underlying data type.
 

Detailed Description

template<typename NUMERIC_TYPE, u64 COMPONENT_COUNT>
class hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT >

Interface used by all basic geometric entities.

Template Parameters
NUMERIC_TYPE
COMPONENT_COUNT

Member Function Documentation

◆ componentCount()

template<typename NUMERIC_TYPE , u64 COMPONENT_COUNT>
static constexpr u64 hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT >::componentCount ( )
inlinestaticconstexpr

Gets the number of dimensional components.

Returns

◆ memoryDumpLayout()

template<typename NUMERIC_TYPE , u64 COMPONENT_COUNT>
static MemoryDumper::RegionLayout hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT >::memoryDumpLayout ( )
inlinestatic

Gets memory layout.

Returns

◆ numericTypeSizeInBytes()

template<typename NUMERIC_TYPE , u64 COMPONENT_COUNT>
static constexpr u64 hermes::MathElement< NUMERIC_TYPE, COMPONENT_COUNT >::numericTypeSizeInBytes ( )
inlinestaticconstexpr

Gets the size in bytes of underlying data type.

Returns

The documentation for this class was generated from the following file: