Advanced Multi-Physics (AMP)
On-Line Documentation
euclidean_geometry_tools.h
Go to the documentation of this file.
1#ifndef EUCLIDEAN_GEOMETRY_TOOLS
2#define EUCLIDEAN_GEOMETRY_TOOLS
3
4void scale_points( unsigned int direction,
5 double scaling_factor,
6 unsigned int n_points,
7 double *points );
8void scale_points( double const *scaling_factors, unsigned int n_points, double *points );
9void translate_points( unsigned int direction,
10 double distance,
11 unsigned int n_points,
12 double *points );
13void translate_points( double const *translation_vector, unsigned int n_points, double *points );
14void rotate_points( unsigned int rotation_axis,
15 double rotation_angle,
16 unsigned int n_points,
17 double *points );
18
19void compute_cross_product( double const *u, double const *v, double *w );
20double compute_scalar_product( double const *u, double const *const v );
21void make_vector_from_two_points( double const *start_point,
22 double const *end_point,
23 double *vector );
24double compute_vector_norm( double const *vector );
25void normalize_vector( double *vector );
26void orthogonalize_vector_against_direction( double const *direction, double *vector );
27void project_vector_onto_direction( double const *direction, double *vector );
28double compute_distance_between_two_points( double const *start_point, double const *end_point );
29
30#endif // EUCLIDEAN_GEOMETRY_TOOLS
void compute_cross_product(double const *u, double const *v, double *w)
void scale_points(unsigned int direction, double scaling_factor, unsigned int n_points, double *points)
double compute_vector_norm(double const *vector)
void rotate_points(unsigned int rotation_axis, double rotation_angle, unsigned int n_points, double *points)
void make_vector_from_two_points(double const *start_point, double const *end_point, double *vector)
double compute_distance_between_two_points(double const *start_point, double const *end_point)
void project_vector_onto_direction(double const *direction, double *vector)
void normalize_vector(double *vector)
double compute_scalar_product(double const *u, double const *const v)
void orthogonalize_vector_against_direction(double const *direction, double *vector)
void translate_points(unsigned int direction, double distance, unsigned int n_points, double *points)



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:40.
Comments on this page