Checks the rules a structure has to satisfy:
points are unique and not
NA;every segment joins two known, different points, and any expected
lengthis positive;every joint pairs two different, defined segments, about an
axisthat is"x","y","z"or a segment name;a joint's
minis not above itsmax, and itsrestlies between them;rootis one of the points, orNA.
anistructure() and set_structure() call it, so a structure built there is
already valid; call it yourself after editing a structure's parts by hand.
Examples
validate_anistructure(example_structure())