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

Method operator*

src/geode/geometry/frame.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145 template < index_t dimension >
146 Vector< dimension > Frame< dimension >::operator*(
147 const Vector< dimension >& rhs ) const
148 {
149 Vector< dimension > result;
150 for( const auto d : geode::LRange{ dimension } )
151 {
152 result.set_value( d, direction( d ).dot( rhs ) );
153 }
154 return result;
155 }
156
157 template < index_t dimension >
158 Frame< dimension > Frame< dimension >::rescale( double length ) const

Callers

nothing calls this directly

Calls 2

dotMethod · 0.80
set_valueMethod · 0.45

Tested by

no test coverage detected