Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMesh/PyMesh
/ center
Method
center
tools/Wires/WireNetwork/WireNetwork.cpp:148–150 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
146
}
147
148
VectorF WireNetwork::center() const {
149
return 0.5 * (get_bbox_min() + get_bbox_max());
150
}
151
152
void WireNetwork::drop_zero_dim() {
153
const size_t num_vertices = get_num_vertices();
Callers
12
compute
Method · 0.80
compute
Method · 0.80
compute
Method · 0.80
compute
Method · 0.80
IsotropicDofExtractor
Method · 0.80
apply
Method · 0.80
compute_derivative
Method · 0.80
process_roi
Method · 0.80
has_cubic_symmetry
Method · 0.80
bbox_center
Method · 0.80
TEST_F
Function · 0.80
TEST_F
Function · 0.80
Calls
no outgoing calls
Tested by
2
TEST_F
Function · 0.64
TEST_F
Function · 0.64