MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / has_attribute

Method has_attribute

tools/Wires/Attributes/WireAttributes.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25using namespace WireAttributesHelper;
26
27bool WireAttributes::has_attribute(const std::string& name) const {
28 AttrMap::const_iterator itr = m_attr_map.find(name);
29 return itr != m_attr_map.end();
30}
31
32const MatrixFr& WireAttributes::get_attribute(const std::string& name) const {
33 AttrMap::const_iterator itr = m_attr_map.find(name);

Callers 15

compute_cell_sizeMethod · 0.45
initialize_2D_gridMethod · 0.45
initialize_3D_gridMethod · 0.45
init_attributesMethod · 0.45
check_meshMethod · 0.45
check_meshMethod · 0.45
initializeMethod · 0.45
tileMethod · 0.45
createMethod · 0.45
create_isotropicMethod · 0.45

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
check_circumradiiMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36