Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Geode-solutions/OpenGeode
/ normalize
Method
normalize
include/geode/geometry/vector.hpp:108–111 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
}
107
108
[[nodiscard]] Vector normalize() const
109
{
110
return *this / length();
111
}
112
113
[[nodiscard]] double dot( const Vector &other ) const
114
{
Callers
15
polyhedron_facet_normal
Method · 0.80
polygon_vertex_normal
Method · 0.80
create_from_vectors
Method · 0.80
orthonormalize
Function · 0.80
opengeode_geometry_api line_cylinder_intersection
Function · 0.80
line_ellipse_intersection
Function · 0.80
check_frame
Function · 0.80
compute_angle
Function · 0.80
opengeode_geometry_api rotate
Function · 0.80
Impl
Method · 0.80
point_sphere_distance
Function · 0.80
point_sphere_signed_distance
Function · 0.80
Calls
no outgoing calls
Tested by
8
test_perpendicular
Function · 0.64
test_length
Function · 0.64
test_line
Function · 0.64
test_plane
Function · 0.64
test_circle
Function · 0.64
test_length
Function · 0.64
test_perpendicular
Function · 0.64
test_plane_plane_intersection
Function · 0.64