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

Method has_attribute

python/pymesh/wires/WireNetwork.py:218–221  ·  view source on GitHub ↗

Check if an attribute exists.

(self, name)

Source from the content-addressed store, hash-verified

216 return self.raw_wires.get_attribute_names()
217
218 def has_attribute(self, name):
219 """ Check if an attribute exists.
220 """
221 return self.raw_wires.has_attribute(name)
222
223 def add_attribute(self, name, value=None, vertex_wise=True):
224 """ Add a new attirbute.

Callers 15

add_attributeMethod · 0.95
get_attributeMethod · 0.95
is_vertex_attributeMethod · 0.95
set_attributeMethod · 0.95
quad_to_triFunction · 0.45
keep_featuresMethod · 0.45
__get_ave_edge_lengthMethod · 0.45
test_single_quadMethod · 0.45

Calls

no outgoing calls