Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/VTK
/ Round
Function
Round
Common/Core/vtkMath.h:134–134 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
*/
133
#if 1
134
static int Round(float f) { return static_cast<int>(f + (f >= 0.0 ? 0.5 : -0.5)); }
135
static int Round(double f) { return static_cast<int>(f + (f >= 0.0 ? 0.5 : -0.5)); }
136
#endif
137
Callers
15
Type Round
Method · 0.85
Type, N> Round
Method · 0.85
Type, 4> Round
Method · 0.85
Type, 3> Round
Method · 0.85
Type, 2> Round
Method · 0.85
Remainder
Function · 0.85
TestRound
Method · 0.85
GetNearestNeighbourFilteredColor
Method · 0.85
Plot
Method · 0.85
operator()
Method · 0.85
GetScreenPoint
Method · 0.85
operator()
Method · 0.85
Calls
no outgoing calls
Tested by
3
TestRound
Method · 0.68
TestRound
Function · 0.68
TestStructuredPointArrayExtent
Function · 0.68