Class SymmetryCache

java.lang.Object
cz.fidentis.analyst.engines.symmetry.impl.SymmetryCache

public class SymmetryCache extends Object
Precomputed values for the symmetry plane estimation.
  • Constructor Details

    • SymmetryCache

      public SymmetryCache(List<MeshPoint> vertices)
      Constructor.
      Parameters:
      vertices - Mesh vertices
  • Method Details

    • getNormCosVec

      public javax.vecmath.Vector3d getNormCosVec(int i, int j)
      Returns cosine of given normal vectors.
      Parameters:
      i - Index of the first vector
      j - Index of the second vector
      Returns:
      cosine of given normals
    • getAvgPos

      public javax.vecmath.Vector3d getAvgPos(int i, int j)
      Returns average position of given vertices
      Parameters:
      i - Index of the first vector
      j - Index of the second vector
      Returns:
      average position of given vertices
    • getAvgGaussianCurvature

      public double getAvgGaussianCurvature()
      Returns average Gaussian curvature
      Returns:
      average Gaussian curvature