63 else if ((GetCircumcentre()-right.
GetCircumcentre()).mag2() > tolerance)
65 else if (std::fabs((right.
GetSurfaceNormal()).dot(GetSurfaceNormal())) < 0.9999999999)
76 coincident = (GetVertex(i)-right.
GetVertex(j)).mag2() < tolerance;
77 }
while (!coincident && ++j < GetNumberOfVertices());
78 }
while (coincident && ++i < GetNumberOfVertices());
87 G4int n = GetNumberOfVertices();
88 for (
G4int i = 0; i <
n; ++i)
90 SetVertex(i, GetVertex(i) + v);
99 os <<
"*********************************************************************"
101 os <<
"FACET TYPE = " << GetEntityType() <<
G4endl;
102 os <<
"ABSOLUTE VECTORS = " <<
G4endl;
103 G4int n = GetNumberOfVertices();
104 for (
G4int i = 0; i <
n; ++i)
105 os <<
"P[" << i <<
"] = " << GetVertex(i) <<
G4endl;
106 os <<
"*********************************************************************"
116 return displacement <= 0.0;