Blender V5.3
math_geom_inline.cc File Reference
#include "BLI_math_vector_c.hh"
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SMALL_NUMBER   1.e-8f

Functions

Polygons
MINLINE float blender::cross_tri_v2 (const float v1[2], const float v2[2], const float v3[2])
MINLINE float blender::area_tri_signed_v2 (const float v1[2], const float v2[2], const float v3[2])
MINLINE float blender::area_tri_v2 (const float v1[2], const float v2[2], const float v3[2])
MINLINE float blender::area_squared_tri_v2 (const float v1[2], const float v2[2], const float v3[2])
Others
MINLINE void blender::axis_dominant_v3 (int *r_axis_a, int *r_axis_b, const float axis[3])
MINLINE float blender::axis_dominant_v3_max (int *r_axis_a, int *r_axis_b, const float axis[3]) ATTR_WARN_UNUSED_RESULT
MINLINE int blender::axis_dominant_v3_single (const float vec[3])
MINLINE int blender::axis_dominant_v3_ortho_single (const float vec[3])
MINLINE int blender::max_axis_v3 (const float vec[3])
MINLINE int blender::min_axis_v3 (const float vec[3])
MINLINE int blender::poly_to_tri_count (int poly_count, int corner_count)
MINLINE float blender::shell_angle_to_dist (float angle)
MINLINE float blender::shell_v3v3_normalized_to_dist (const float a[3], const float b[3])
MINLINE float blender::shell_v2v2_normalized_to_dist (const float a[2], const float b[2])
MINLINE float blender::shell_v3v3_mid_normalized_to_dist (const float a[3], const float b[3])
MINLINE float blender::shell_v2v2_mid_normalized_to_dist (const float a[2], const float b[2])
Planes
MINLINE float blender::plane_point_side_v3 (const float plane[4], const float co[3])

Macro Definition Documentation

◆ SMALL_NUMBER