FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_geometric.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_GEOMETRIC_INCLUDED
7 #define HECMW_GEOMETRIC_INCLUDED
8 
9 struct hecmw_coord {
10  double x;
11  double y;
12  double z;
13 };
14 
15 extern double HECMW_degree_to_radian(double deg);
16 
17 extern double HECMW_radian_to_degree(double rad);
18 
19 extern int HECMW_cylindrical_to_cartesian(const struct hecmw_coord *coord,
20  struct hecmw_coord *result);
21 
22 #endif
HECMW_cylindrical_to_cartesian
int HECMW_cylindrical_to_cartesian(const struct hecmw_coord *coord, struct hecmw_coord *result)
Definition: hecmw_geometric.c:19
hecmw_coord::x
double x
Definition: hecmw_geometric.h:13
hecmw_coord
Definition: hecmw_geometric.h:9
HECMW_degree_to_radian
double HECMW_degree_to_radian(double deg)
Definition: hecmw_geometric.c:14
hecmw_coord::z
double z
Definition: hecmw_geometric.h:15
hecmw_coord::y
double y
Definition: hecmw_geometric.h:14
HECMW_radian_to_degree
double HECMW_radian_to_degree(double rad)
Definition: hecmw_geometric.c:17