MCPcopy Create free account
hub / github.com/comaps/comaps / Add

Method Add

generator/tesselator.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool TrianglesInfo::ListInfo::Add(int p0, int p1, int p2)
70{
71 int const trg = static_cast<int>(m_triangles.size());
72 if (!AddNeighbour(p0, p1, trg) || !AddNeighbour(p1, p2, trg) || !AddNeighbour(p2, p0, trg))
73 {
74 LOG(LERROR, ("Duplicating triangle {", p0, p1, p2, "}"));
75 return false;
76 }
77
78 m_triangles.emplace_back(p0, p1, p2);
79 return true;
80}
81
82template <class IterT>
83size_t GetBufferSize(IterT b, IterT e)

Callers 15

ProcessMethod · 0.45
SetCenterMethod · 0.45
GetTypesHolderMethod · 0.45
TesselateInteriorFunction · 0.45
ProcessorSimpleMethod · 0.45
LoadWaterGeometryMethod · 0.45
operator()Method · 0.45
AddSrcMethod · 0.45
MatchMethod · 0.45

Calls 3

backMethod · 0.80
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected