Geogram Version 1.10.2
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::lua_to< float > Class Reference

lua_to specialization for float. More...

#include <geogram/lua/lua_wrap.h>

Public Member Functions

 lua_to (lua_State *L, int idx)
 operator float () const
 operator float () const
 Gets the converted value.

Static Public Member Functions

static bool can_convert (lua_State *L, int idx)

Detailed Description

lua_to specialization for float.

Definition at line 365 of file lua_wrap.h.

Constructor & Destructor Documentation

◆ lua_to()

GEO::lua_to< float >::lua_to ( lua_State * L,
int idx )
inline

Definition at line 367 of file lua_wrap.h.

Member Function Documentation

◆ can_convert()

bool GEO::lua_to< float >::can_convert ( lua_State * L,
int idx )
inlinestatic

Definition at line 370 of file lua_wrap.h.

◆ operator float() [1/2]

GEO::lua_to< float >::operator float ( ) const
inline

Definition at line 373 of file lua_wrap.h.

◆ operator float() [2/2]

GEO::lua_to< float >::operator float ( ) const
inline

Gets the converted value.

Returns
the converted value.

Definition at line 282 of file lua_wrap.h.


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