OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
cgal_interp.cpp File Reference
#include "cgal_interp.h"
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/Interpolation_traits_2.h>
#include <CGAL/natural_neighbor_coordinates_2.h>
#include <CGAL/interpolation_functions.h>
#include <iostream>
Include dependency graph for cgal_interp.cpp:

Go to the source code of this file.

Typedefs

typedef CGAL::Exact_predicates_inexact_constructions_kernel K
 
typedef CGAL::Delaunay_triangulation_2< KDelaunay_triangulation
 
typedef CGAL::Interpolation_traits_2< KTraits
 
typedef K::FT Coord_type
 
typedef K::Point_2 Point
 
typedef std::map< Point, Coord_type, K::Less_xy_2 > Coord_map
 
typedef CGAL::Data_access< Coord_mapValue_access
 
typedef std::vector< std::pair< Point, Coord_type > > Point_coordinate_vector
 

Functions

int cgal_nnc (int nxy, float *x, float *y, int nxyq, float *xq, float *yq)
 
int cgal_interp2 (int nxy, float *x, float *y, float *v, int nxyq, float *vq, int nnc_tag)
 
int cgal_release_tag (int nnc_tag)
 

Typedef Documentation

◆ Coord_map

typedef std::map<Point, Coord_type, K::Less_xy_2> Coord_map

Definition at line 17 of file cgal_interp.cpp.

◆ Coord_type

typedef K::FT Coord_type

Definition at line 15 of file cgal_interp.cpp.

◆ Delaunay_triangulation

typedef CGAL::Delaunay_triangulation_2<K> Delaunay_triangulation

Definition at line 13 of file cgal_interp.cpp.

◆ K

typedef CGAL::Exact_predicates_inexact_constructions_kernel K

Definition at line 12 of file cgal_interp.cpp.

◆ Point

typedef K::Point_2 Point

Definition at line 16 of file cgal_interp.cpp.

◆ Point_coordinate_vector

Definition at line 20 of file cgal_interp.cpp.

◆ Traits

typedef CGAL::Interpolation_traits_2<K> Traits

Definition at line 14 of file cgal_interp.cpp.

◆ Value_access

typedef CGAL::Data_access<Coord_map> Value_access

Definition at line 18 of file cgal_interp.cpp.

Function Documentation

◆ cgal_interp2()

int cgal_interp2 ( int  nxy,
float *  x,
float *  y,
float *  v,
int  nxyq,
float *  vq,
int  nnc_tag 
)

Definition at line 74 of file cgal_interp.cpp.

◆ cgal_nnc()

int cgal_nnc ( int  nxy,
float *  x,
float *  y,
int  nxyq,
float *  xq,
float *  yq 
)

Definition at line 27 of file cgal_interp.cpp.

◆ cgal_release_tag()

int cgal_release_tag ( int  nnc_tag)

Definition at line 111 of file cgal_interp.cpp.