Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
int 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
12
int Wire::numEdges()
13
{
Callers
1
NAN_METHOD
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected