MCPcopy 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

polygon_vertex_normalMethod · 0.80
create_from_vectorsMethod · 0.80
orthonormalizeFunction · 0.80
check_frameFunction · 0.80
compute_angleFunction · 0.80
ImplMethod · 0.80
point_sphere_distanceFunction · 0.80

Calls

no outgoing calls

Tested by 8

test_perpendicularFunction · 0.64
test_lengthFunction · 0.64
test_lineFunction · 0.64
test_planeFunction · 0.64
test_circleFunction · 0.64
test_lengthFunction · 0.64
test_perpendicularFunction · 0.64