Class BatchDistanceRayCasting.RayCastingDistCache
java.lang.Object
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighbors.DistCache<Double>
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceRayCasting.RayCastingDistCache
- Enclosing class:
BatchDistanceRayCasting
protected static class BatchDistanceRayCasting.RayCastingDistCache
extends BatchDistanceNearestNeighbors.DistCache<Double>
Cache of relative distances from the average face to other faces.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValuesOfFace
(MeshDistances meshDistances) Caches measured distancesdouble
getDistance
(int faceIndex1, int faceIndex2, int vertIndex) Returns distance of two faces.Methods inherited from class cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighbors.DistCache
add, getCache, getNumFaces, getNunFaceVertices
-
Constructor Details
-
RayCastingDistCache
protected RayCastingDistCache()
-
-
Method Details
-
addValuesOfFace
Description copied from class:BatchDistanceNearestNeighbors.DistCache
Caches measured distances- Specified by:
addValuesOfFace
in classBatchDistanceNearestNeighbors.DistCache<Double>
- Parameters:
meshDistances
- Measured distances
-
getDistance
public double getDistance(int faceIndex1, int faceIndex2, int vertIndex) Description copied from class:BatchDistanceNearestNeighbors.DistCache
Returns distance of two faces.- Specified by:
getDistance
in classBatchDistanceNearestNeighbors.DistCache<Double>
- Parameters:
faceIndex1
- First face indexfaceIndex2
- Second face indexvertIndex
- Index of the vertex on the gauge face- Returns:
- distance
-