23 int main(
int argc,
char** argv)
28 structure.
addNode(0,0,0,
"origin");
32 structure.
addPair(0, 1,
"rod 0-1");
33 structure.
addPair(1, 2,
"rod 1-2");
34 structure.
addPair(2, 0,
"rod 2-0");
39 buildSpec.addBuilder(
"rod",
new tgRodBuilder())
void addPair(int fromNodeIdx, int toNodeIdx, std::string tags="")
Definition of class tgStructure.
Definition of class tgStructureInfo.
int main(int argc, char **argv)
Definition of class tgBuildSpec.
void addNode(double x, double y, double z, std::string tags="")