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

Method displaySelf

SRC/element/zeroLength/ZeroLengthContactASDimplex.cpp:619–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619int ZeroLengthContactASDimplex::displaySelf(Renderer& theViewer, int displayMode, float fact, const char** modes, int numMode)
620{
621 if (theNodes[0] == 0 || theNodes[1] == 0)
622 return 0;
623
624 static Vector v1(3);
625 static Vector v2(3);
626 float d1 = 1.0;
627
628 theNodes[0]->getDisplayCrds(v1, 0.);
629 theNodes[1]->getDisplayCrds(v2, 0.);
630 return theViewer.drawPoint(v1, d1, 10);
631}
632
633void ZeroLengthContactASDimplex::Print(OPS_Stream& strm, int flag) {
634

Callers

nothing calls this directly

Calls 2

getDisplayCrdsMethod · 0.45
drawPointMethod · 0.45

Tested by

no test coverage detected