|
YAC 3.12.0
Yet Another Coupler
|
Defines internal basic interpolation definitions. More...
#include "interpolation/interpolation.h"

Go to the source code of this file.
Macros | |
| #define | YAC_FRAC_MASK_VALUE_IS_SET(value) (!isnormal(value) || ((value) != YAC_FRAC_MASK_UNDEF)) |
| Test whether a fractional mask value is explicitly set. | |
| #define | YAC_FRAC_MASK_VALUE_IS_VALID(value) |
| Test whether a fractional mask value is valid. | |
Functions | |
| struct yac_collection_selection const * | yac_interpolation_get_collection_selection (struct yac_interpolation const *interp) |
| Return the collection selection associated with an interpolation. | |
Variables | |
| double const | YAC_FRAC_MASK_UNDEF |
Defines internal basic interpolation definitions.
This header defines internal constants and macros used throughout the interpolation module of YAC. It includes definitions for handling fractional masks and provides utility macros to check the state of fractional mask values.
Definition in file interpolation_internal.h.
| #define YAC_FRAC_MASK_VALUE_IS_SET | ( | value | ) | (!isnormal(value) || ((value) != YAC_FRAC_MASK_UNDEF)) |
Test whether a fractional mask value is explicitly set.
Evaluates to nonzero, if the value is either not a normal number (e.g. NaN/Inf) or differs from YAC_FRAC_MASK_UNDEF.
Definition at line 29 of file interpolation_internal.h.
| #define YAC_FRAC_MASK_VALUE_IS_VALID | ( | value | ) |
Test whether a fractional mask value is valid.
Evaluates to nonzero if the value is either not a normal number, or is different from both YAC_FRAC_MASK_UNDEF and YAC_FRAC_MASK_NO_VALUE.
Definition at line 39 of file interpolation_internal.h.
| struct yac_collection_selection const * yac_interpolation_get_collection_selection | ( | struct yac_interpolation const * | interp | ) |
Return the collection selection associated with an interpolation.
The returned pointer is owned by the interpolation object; the caller must not free it. If interp is NULL the function returns NULL.
| [in] | interp | Pointer to interpolation object (may be NULL). |
Definition at line 386 of file interpolation.c.
|
extern |
Value indicating that fractional mask behavious
Definition at line 26 of file interpolation.c.