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

Method setPlaneDist

SRC/tcl/TclFeViewer.cpp:445–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445int
446TclFeViewer::setPlaneDist(float anear, float afar)
447{
448#ifdef _NOGRAPHICS
449 // if no graphics .. just return 0
450 return 0;
451#else
452
453 int ok = theRenderer->setPlaneDist(anear,afar);
454 if (ok == 0)
455 clippingPlaneDistancesSet = 1;
456 return ok;
457
458#endif
459}
460
461int
462TclFeViewer::setProjectionMode(const char *mode)

Callers 4

recordMethod · 0.95
createViewMethod · 0.45
playMethod · 0.45
TclFeViewer_setPlaneDistFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected