Print vertex IDs when inconsistent face is found.
PiperOrigin-RevId: 493311839 Change-Id: I0283d86bc6092fbe4f47b845fa8ec212bffdfa1a
This commit is contained in:
committed by
Copybara-Service
parent
e4f1d584ad
commit
7f459ab8ca
@@ -494,12 +494,12 @@ class mjCMesh: public mjCBase {
|
||||
void CheckMesh(void); // check if the mesh is valid
|
||||
|
||||
// mesh properties that indicate a well-formed mesh
|
||||
bool validorientation; // false if mesh have inconsistent faces
|
||||
bool validarea; // false if the area is too small
|
||||
bool validvolume; // false if the volume is too small
|
||||
bool valideigenvalue; // false if inertia eigenvalue is too small
|
||||
bool validinequality; // false if inertia inequality is not satisfied
|
||||
bool processed; // false if the mesh has not been processed yet
|
||||
std::pair<int, int> invalidorientation; // indices of invalid edge; -1 if none
|
||||
bool validarea; // false if the area is too small
|
||||
bool validvolume; // false if the volume is too small
|
||||
bool valideigenvalue; // false if inertia eigenvalue is too small
|
||||
bool validinequality; // false if inertia inequality is not satisfied
|
||||
bool processed; // false if the mesh has not been processed yet
|
||||
|
||||
// mesh properties computed by Compile
|
||||
double pos_volume[3]; // CoM position
|
||||
|
||||
Reference in New Issue
Block a user