YetAnotherCoupler
3.5.2
Loading...
Searching...
No Matches
src
core
interp_method_avg.h
Go to the documentation of this file.
1
// Copyright (c) 2024 The YAC Authors
2
//
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef INTERP_METHOD_AVG_H
6
#define INTERP_METHOD_AVG_H
7
8
#include "
interp_method.h
"
9
10
// YAC PUBLIC HEADER START
11
16
enum
yac_interp_avg_weight_type
{
17
YAC_INTERP_AVG_ARITHMETIC
= 0,
// simple average
18
YAC_INTERP_AVG_DIST
= 1,
// distance weighted
19
YAC_INTERP_AVG_BARY
= 2,
// barycentric coordinate based
20
};
21
22
#define YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT (0)
23
#define YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT (0)
24
25
struct
interp_method
*
yac_interp_method_avg_new
(
26
enum
yac_interp_avg_weight_type
weight_type
,
27
int
partial_coverage);
28
29
// YAC PUBLIC HEADER STOP
30
31
#endif
// INTERP_METHOD_AVG_H
weight_type
enum yac_interp_ncc_weight_type weight_type
Definition
config_yaml.c:462
interp_method.h
yac_interp_method_avg_new
struct interp_method * yac_interp_method_avg_new(enum yac_interp_avg_weight_type weight_type, int partial_coverage)
Definition
interp_method_avg.c:898
yac_interp_avg_weight_type
yac_interp_avg_weight_type
Definition
interp_method_avg.h:16
YAC_INTERP_AVG_DIST
@ YAC_INTERP_AVG_DIST
Definition
interp_method_avg.h:18
YAC_INTERP_AVG_ARITHMETIC
@ YAC_INTERP_AVG_ARITHMETIC
Definition
interp_method_avg.h:17
YAC_INTERP_AVG_BARY
@ YAC_INTERP_AVG_BARY
Definition
interp_method_avg.h:19
interp_method
Definition
interp_method_internal.h:22
Generated on Wed Dec 4 2024 11:31:42 for YetAnotherCoupler by
1.11.0