Create a new rock face.
Create a new rock face.
The normal vector to the face. The individual vector components can be accessed as 'a', 'b', and 'c'. Assumed to be a unit vector.
The distance from the face to the center of the rock block. Accessed as 'd'.
The friction angle (phi) of the face.
The cohesion of the face.
Checks if each of the parameters of a face is approximately 0.0 and, if so, sets it to 0.0.
Compare this face and input face for approximate equality within specified tolerance
Compare this face and input face for approximate equality within specified tolerance
Input face
Tolerance for difference between face parameters. Defaults to NumericUtils.EPSILON
True if faces are equal, otherwise false
The cohesion of the face.
The distance from the face to the center of the rock block.
The distance from the face to the center of the rock block. Accessed as 'd'.
Compares this face with input face and determines whether faces are shared.
Compares this face with input face and determines whether faces are shared. Shared faces will have equal and opposite distances from local origin as well as normal vectors in opposite directions
Input face
Tolerance for difference between compared values. Defaults to EPSILON.
True if faces are shared, false otherwise
The normal vector to the face.
The normal vector to the face. The individual vector components can be accessed as 'a', 'b', and 'c'. Assumed to be a unit vector.
The friction angle (phi) of the face.
Rounds the components of a face's normal vector to the specified number of decimal places, which defaults to 6.
Rounds the components of a face's normal vector to the specified number of decimal places, which defaults to 6.
The number of decimal places to round to.
A new face with a rounded normal vector.
A simple data structure to represent the face of a rock block.
The normal vector to the face. The individual vector components can be accessed as 'a', 'b', and 'c'. Assumed to be a unit vector.
The distance from the face to the center of the rock block. Accessed as 'd'.
The friction angle (phi) of the face.
The cohesion of the face.