MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / scanPolygon

Method scanPolygon

SRC/renderer/Scan.cpp:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void
264ScanLineConverter::scanPolygon(FACE &face)
265{
266 MYPOINT *point = face.pointList.GetHead();
267 if (point != 0) {
268 if (fillMode == 1) {
269 DrawWire(face);
270 } else
271 DrawFill(face);
272 }
273
274 // now we delete the face
275 FACE *theFace = &face;
276 delete theFace;
277}
278
279void
280ScanLineConverter::DrawWire(FACE &face)

Callers 2

drawPolygonMethod · 0.80
displayFaceMethod · 0.80

Calls 1

GetHeadMethod · 0.80

Tested by

no test coverage detected