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

Function ply_find_property

src/IO/rply.c:907–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907static p_ply_property ply_find_property(p_ply_element element,
908 const char *name) {
909 p_ply_property property;
910 int i, nproperties;
911 assert(element && name);
912 property = element->property;
913 nproperties = element->nproperties;
914 assert(property || nproperties == 0);
915 assert(!property || nproperties > 0);
916 for (i = 0; i < nproperties; i++)
917 if (!strcmp(property[i].name, name)) return &property[i];
918 return NULL;
919}
920
921static int ply_check_word(p_ply ply) {
922 size_t size = strlen(BWORD(ply));

Callers 1

ply_set_read_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected