MCPcopy Create free account
hub / github.com/OpenWebCAD/node-occ / numVertices

Method numVertices

src/Wire.cc:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4int Wire::numVertices()
5{
6 if (this->wire().IsNull()) return 0;
7 TopTools_IndexedMapOfShape anIndices;
8 TopExp::MapShapes(this->wire(), TopAbs_VERTEX, anIndices);
9 return anIndices.Extent();
10}
11
12int Wire::numEdges()
13{

Callers 1

NAN_METHODFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected