Functions | |
| GSTLEARN_EXPORT void | meshes_2D_sph_init (SphTriangle *t) |
| GSTLEARN_EXPORT void | meshes_2D_sph_free (SphTriangle *t, int mode) |
| GSTLEARN_EXPORT int | meshes_2D_sph_from_db (Db *db, SphTriangle *t) |
| GSTLEARN_EXPORT int | meshes_2D_sph_from_points (int nech, double *x, double *y, SphTriangle *t) |
| GSTLEARN_EXPORT int | meshes_2D_sph_from_auxiliary (const String &triswitch, SphTriangle *t) |
| GSTLEARN_EXPORT void | meshes_2D_sph_print (SphTriangle *t, int brief) |
| GSTLEARN_EXPORT int | meshes_2D_sph_create (int verbose, SphTriangle *t) |
| GSTLEARN_EXPORT int meshes_2D_sph_create | ( | int | verbose, |
| SphTriangle * | t | ||
| ) |
Perform the spherical triangulation
| [in] | verbose | Verbose option |
| [in] | t | SphTriangle structure |
| GSTLEARN_EXPORT void meshes_2D_sph_free | ( | SphTriangle * | t, |
| int | mode | ||
| ) |
Free the structure for triangles on a sphere
| [in] | t | Pointer to the SphTriangle structure to be freed |
| [in] | mode | 1 for partial deallocation 0 for total deallocation |
| GSTLEARN_EXPORT int meshes_2D_sph_from_auxiliary | ( | const String & | triswitch, |
| SphTriangle * | t | ||
| ) |
Add auxiliary random points
| [in] | triswitch | Triangulation option |
| [in] | t | SphTriangle structure |
| GSTLEARN_EXPORT int meshes_2D_sph_from_db | ( | Db * | db, |
| SphTriangle * | t | ||
| ) |
Define the memory areas by reading information from Db
| [in] | db | Db structure where data are located |
| [in] | t | Pointer to the SphTriangle structure to be loaded |
| GSTLEARN_EXPORT int meshes_2D_sph_from_points | ( | int | nech, |
| double * | x, | ||
| double * | y, | ||
| SphTriangle * | t | ||
| ) |
Add fixed points to modify the SphTriangle structure
| [in] | nech | Number of added samples |
| [in] | x,y | Array containing the coordinates of added points |
| [in] | t | Pointer to the SphTriangle structure to be loaded |
| GSTLEARN_EXPORT void meshes_2D_sph_init | ( | SphTriangle * | t | ) |
Initialize the structure for triangles on a sphere
| [in] | t | Pointer to the SphTriangle structure to be initialized |
| GSTLEARN_EXPORT void meshes_2D_sph_print | ( | SphTriangle * | t, |
| int | brief | ||
| ) |
Print the contents of the SphTriangle structure
| [in] | t | Pointer to the SphTriangle structure to be printed |
| [in] | brief | 1 for a brief output; 0 otherwise |