MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / dot

Method dot

include/geode/geometry/vector.hpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 [[nodiscard]] double dot( const Vector &other ) const
114 {
115 double result{ 0 };
116 for( const auto i : LRange{ dimension } )
117 {
118 result += this->value( i ) * other.value( i );
119 }
120 return result;
121 }
122
123 [[nodiscard]] Vector cross( const Vector &other ) const
124 {

Callers 15

computeMethod · 0.80
computeMethod · 0.80
get_edge_projectionFunction · 0.80
create_from_vectorsMethod · 0.80
operator*Method · 0.80
operator*Method · 0.80
orthonormalizeFunction · 0.80
line_plane_intersectionFunction · 0.80
line_sphere_intersectionFunction · 0.80

Calls 1

valueMethod · 0.45

Tested by 2

test_operationsFunction · 0.64
test_operationsFunction · 0.64