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

Function ReadDir

src/Util.cc:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 pt->SetCoord(x, y, z);
105}
106void ReadDir(v8::Local<v8::Value> value, gp_Dir* pt)
107{
108 double x = 0, y = 0, z = 1.0;
109 ReadPoint(value, &x, &y, &z);
110 pt->SetCoord(x, y, z);
111}
112
113void ReadVector(v8::Local<v8::Value> value, gp_Vec* pt)
114{

Callers 3

NAN_METHODFunction · 0.85
ReadAx2Function · 0.85
NAN_METHODFunction · 0.85

Calls 1

ReadPointFunction · 0.85

Tested by

no test coverage detected