MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / writeObj

Function writeObj

applications/test/primitivePatch/Test-PrimitivePatch.C:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44void writeObj(Ostream& os,const pointField& points)
45{
46 forAll(points, pointi)
47 {
48 const point& pt = points[pointi];
49
50 os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl;
51 }
52}
53
54
55void checkFaceEdges

Callers 4

writeEdgesFunction · 0.70
writeFaceEdgesFunction · 0.70
writeEdgeFacesFunction · 0.70
writeFaceFacesFunction · 0.70

Calls 4

forAllFunction · 0.50
xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected