MCPcopy 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
148VectorF WireNetwork::center() const {
149 return 0.5 * (get_bbox_min() + get_bbox_max());
150}
151
152void WireNetwork::drop_zero_dim() {
153 const size_t num_vertices = get_num_vertices();

Callers 12

computeMethod · 0.80
computeMethod · 0.80
computeMethod · 0.80
computeMethod · 0.80
IsotropicDofExtractorMethod · 0.80
applyMethod · 0.80
compute_derivativeMethod · 0.80
process_roiMethod · 0.80
has_cubic_symmetryMethod · 0.80
bbox_centerMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64