FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
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
9struct hecmw_coord {
10 double x;
11 double y;
12 double z;
13};
14
15extern double HECMW_degree_to_radian(double deg);
16
17extern double HECMW_radian_to_degree(double rad);
18
19extern int HECMW_cylindrical_to_cartesian(const struct hecmw_coord *coord,
20 struct hecmw_coord *result);
21
22#endif
double HECMW_radian_to_degree(double rad)
int HECMW_cylindrical_to_cartesian(const struct hecmw_coord *coord, struct hecmw_coord *result)
double HECMW_degree_to_radian(double deg)