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

Function ReadVector

src/Util.cc:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void ReadVector(v8::Local<v8::Value> value, gp_Vec* pt)
114{
115 double x = 0, y = 0, z = 0;
116 ReadPoint(value, &x, &y, &z);
117 pt->SetCoord(x, y, z);
118}
119
120void ReadRotationFromArgs(_NAN_METHOD_ARGS, gp_Trsf& trans)
121{

Callers 1

NAN_METHODFunction · 0.85

Calls 1

ReadPointFunction · 0.85

Tested by

no test coverage detected